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