Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
S
 scale
 setActive, gamvas.Actor
 setAlphaTable, gamvas.ParticleEmitter
 setAngularDamping, gamvas.Actor
 setAnimation
 setAnimationLifeTime, gamvas.ParticleEmitter
 setAwake, gamvas.Actor
 setBullet, gamvas.Actor
 setCategoryBits, gamvas.Actor
 setCenter
 setClipRect, gamvas.Image
 setFile
 setFixedRotation, gamvas.Actor
 setFPS
 setFrameList
 setFullScreen, gamvas
 setGlobalTimeScale, gamvas.timer
 setGravity
 setGroupIndex, gamvas.Actor
 setImage, gamvas.ParticleEmitter
 setLinearDamping, gamvas.Actor
 setMaskBits, gamvas.Actor
 setName, gamvas.Actor
 setParticleLifeTime, gamvas.ParticleEmitter
 setParticleLifeTimeRange, gamvas.ParticleEmitter
 setParticleLimit, gamvas.ParticleEmitter
 setParticleRate, gamvas.ParticleEmitter
 setParticleRateRange, gamvas.ParticleEmitter
 setParticleRotation, gamvas.ParticleEmitter
 setParticleRotationDamping, gamvas.ParticleEmitter
 setParticleRotationDampingRange, gamvas.ParticleEmitter
 setParticleRotationRange, gamvas.ParticleEmitter
 setParticleRotationVelocity, gamvas.ParticleEmitter
 setParticleRotationVelocityRange, gamvas.ParticleEmitter
 setParticleScale, gamvas.ParticleEmitter
 setParticleScaleRange, gamvas.ParticleEmitter
 setParticleSpeed, gamvas.ParticleEmitter
 setParticleSpeedRange, gamvas.ParticleEmitter
 setParticleStartPositionRange, gamvas.ParticleEmitter
 setParticleVelocityDamping, gamvas.ParticleEmitter
 setParticleVelocityDampingRange, gamvas.ParticleEmitter
 setPosition
 setRate, gamvas.Sound
 setRotation
 setRotationRange, gamvas.ParticleEmitter
 setScale
 setScaleTable, gamvas.ParticleEmitter
 setScaleXY
 setSensor, gamvas.Actor
 setSpeedScaleTable, gamvas.ParticleEmitter
 setState
 setValue, gamvas.AStarGrid
 setVolume, gamvas.Sound
 setZoom, gamvas.Camera
 start
 status, gamvas.Resource
 stop
 stopBubble, gamvas.event
 substract, gamvas.Vector2D
scale: function(s)
Scale a object
scale: function(s)
Scale the animation
this.scale = function(s)
Scale the image
Scale a object
setActive: function(yesno)
Enable or disable the actor for automatic drawing (if in states actors list)
setAlphaTable: function(alphaTable)
Set the alpha (transparency) over lifetime
setAngularDamping: function(d)
Sets the angular damping of the physics object.
setAnimation: function(a)
Switch the actor to a certain gamvas.Animation
setAnimation: function(anim)
Set a gamvas.Animation as Particle
setAnimationLifeTime: function(yesno)
Set if the animation should be played once for the lifetime
setAwake: function(b)
Allows you to wake (or sleep) a actor in the physics simulation
setBullet: function(b)
Defines if a actor is a physics ‘bullet’.
setCategoryBits: function(b)
Sets the Box2D category bits
setCenter: function(x,
y)
Set the center for an actor.
setCenter: function(x,
y)
Set the center for an Animation.
this.setCenter = function(x,
y)
Set the center for an Image.
this.setClipRect = function(rx,
y,
w,
h)
Sets the clipping rectangle of a image
setFile: function(file,
frameWidth,
frameHeight,
numberOfFrames,
fps)
Sets a image file for the current animation
setFile: function(image,
frameWidth,
frameHeight,
numberOfFrames,
fps)
Sets a image as source of a animation
this.setFile = function(f)
Sets the image
setFixedRotation: function(b)
Object does not rotate, when under physics controll
setFPS: function(fps)
Sets the frames per seconds of the current animation
setFPS: function(fps)
Set the speed of the animation in frames per second
setFrameList: function(fl)
Sets the list of frames of the current animation
setFrameList: function(fl)
Allows to set a list of frames that are considdered to be the animation
setFullScreen: function(yesno)
Set real fullscreen mode, if available
setGlobalTimeScale: function(s)
Scale the global time.
setGravity: function(g)
Set the gravity that affects the particle emitter
setGravity: function(vec)
Sets the physics worlds gravity to a gamvas.Vector2D
setGroupIndex: function(g)
Set the Box2D filter group index
setImage: function(img)
Set a gamvas.Image as Particle
setLinearDamping: function(d)
Sets the linear damping of the physics object.
setMaskBits: function(b)
Sets the Box2D mask bits
setName: function(name)
Set the actor name
setParticleLifeTime: function(l)
Set the lifetime of new particles
setParticleLifeTimeRange: function(l)
Set the range around the lifetime of new particles
setParticleLimit: function(l)
Set the maximum number of particles that will be emitted
setParticleRate: function(r)
Set the rate the particles are emitted
setParticleRateRange: function(r)
Set the rate range particles are emitted
setParticleRotation: function(r)
Set the particles starting rotation
setParticleRotationDamping: function(r)
Set how much the rotation is slowed down over time
setParticleRotationDampingRange: function(r)
Set range around the rotation damping
setParticleRotationRange: function(r)
Set the range around particles starting rotation
setParticleRotationVelocity: function(r)
The rotational velocity of created particles
setParticleRotationVelocityRange: function(r)
The range of the rotational velocity
setParticleScale: function(s)
Set the scale of newly created particles
setParticleScaleRange: function(s)
Set the range of scale
setParticleSpeed: function(s)
Set the initial speed of created particles
setParticleSpeedRange: function(s)
Set the range around the initial speed of created particles
setParticleStartPositionRange: function(s)
Sets the area where particles are created
setParticleVelocityDamping: function(v)
Set how much the velocity is slowed down over time
setParticleVelocityDampingRange: function(v)
Set the range around velocity damping
setPosition: function(x,
y)
Set the position of a actor
setPosition: function(x,
y)
Set the position of a animation
gamvas.Camera.prototype.setPosition = function(x,
y)
Set the position of the camera to absolute values.
this.setPosition = function(x,
y)
Set the position of a image
Set the position of a particle emitter
gamvas.Sound.prototype.setRate = function(r)
Set the playback speed of the sound
setRotation: function(r)
Set certain rotation of the actor in radians
setRotation: function(r)
Set certain rotation of the animation in radians
gamvas.Camera.prototype.setRotation = function(r)
Set the rotation to a specific degree in radians
this.setRotation = function(r)
Set certain rotation of the image in radians
Set the rotation of the nozzle
setRotationRange: function(r)
Set the angle around rotation how particles are emitted from the nozzle
setScale: function(s)
Set a certain scale factor
setScale: function(s)
Set a certain scale factor
this.setScale = function(s)
Set a certain scale factor
Set a certain scale factor
setScaleTable: function(scaleTable)
Set the scale over lifetime
setScaleXY: function(x,
y)
Set a different scale for x and y axis
this.setScaleXY = function(x,
y)
Set a different scale for x and y axis
setSensor: function(b)
Defines if a actor is a physics sensor or not
setSpeedScaleTable: function(spdScaleTable)
Set the scale depending on particle speed
setState: function(stateName)
Switch the actor to a certain gamvas.ActorState
setState: function(stateName)
switch to a new state
setValue: function(x,
y,
val)
Set a value val in the grid on position x, y
gamvas.Sound.prototype.setVolume = function(v)
Set the volume of the sound
gamvas.Camera.prototype.setZoom = function(z)
Set a specific zoom level to the camera.
start: function(canvasid,
usePhysics,
doSleep)
Starts the gamvas system
gamvas.Camera.prototype.start = function()
Start the camera.
gamvas.Resource.prototype.status = function()
Get the status of all loading resources
gamvas.Camera.prototype.stop = function()
Stop the camera, everything drawn from now on will not be under the influence of the camera.
gamvas.Sound.prototype.stop = function()
Stops a playing sound
stopBubble: function(e)
Returns a new vector subtracting vector v from current vector
Close