-
Get direction angle after bounce?
by sdpardue ·Create attributes to hold an X,Y location pair, and to hold an angle: -
Adding a dot on a minimap for multiple spawned enemies
by Toby ·Define a set of X & Y game.attributes for each enemy or object (integer) -
Constraining movement to the camera
by MonjiO ·Hello all, MonjiO again with another (hopefully easily solved) problem: how can I constrain the payer's movement to the camera in a side-scrolling game? -
How do you add to the wiki?
by scitunes ·I have a solution that makes jumping much more consistent. The current wiki for how to jump does not work consistently. For somereason GS does not consistently register that the jumping actor is overl -
Build a Thumbstick control
by CodeMonkey ·If you are using the template/example I posted, you can just move the Constrain Attribute for game.Angle2 in the red circle actor, only when the thumbstick is controlled. It should then keep the last -
Build a Thumbstick control
by Toby ·Think I figured it out, added a new game attribute called game.angletouch (real) -
How to destroy all enemies on screen at once
by sdpardue ·Create a boolean game attribute called DestroyNow, and have it set to 0 (false). -
How to destroy all enemies on screen at once
by quantumsheep ·Have an attribute called 'smart bomb' - have it set to false. -
spawned actors with hit points
by jonmulcahy ·Could I create a global attribute called hitPoints, and then have each actor user self.hitPoints? Something like that? -
Actor missing key move function whet i add accelometer function
by CodeMonkey ·You just need to create an actor with the 2 Change Attribute behaviors you have in your screenshot. No rules, no other behaviors. Only those two behaviors. Then add that actor to each scene. -
Actor missing key move function whet i add accelometer function
by CodeMonkey ·Try creating a reset defaults actor that only has the Change Attribute behaviors for the lives and score and place them in your scenes so when the scene starts, the attributes are reset. -
buttons executing in order bug
by jonmulcahy ·button1 = change attribute 'pressed' to 1 -
Simple demo compile of native code on iPhone failed with errors.
by splashy ·It's not an isolated incident that i can attribute directly to GS , I have had a couple of other problems with xcode and 3. but all is well now. -
Stop scene
by JGary321 ·Make an end of level rule. So for instance, if end of level is dictated by killing a set number of enemies or reaching a specific location on the X axis then keep track of that attribute. -
accelerometer help
by Atlanten ·Try constraining the linear velocity to the accelerometer value. -
Rapid Fire Powerup
by xacto ·Now that a user has the "space down" autofire - it does not register unless they let go and then hold down the space bar again. Is there a way to adjust an attribute (like restrain a -
Positions Everyone - what is the best move?
by rivetopia ·When attribute, 'game.showtime' = 1 -
Motion?
by sdpardue ·Perhaps the best way to learn is to try it. If you're not sure how a particular behavior works, build a small example, compare it to a similar behavior, etc. If you're using an expression that doesn -
Motion?
by sdpardue ·Rule 5: When Any -- attribute self.Position.X <= 0 (if it goes off screen left) or attribute self.Position.X >=480, Destroy the actor. -
click an drag on an object to make it stretch
by CodeMonkey ·Change Attribute is a one time action. If you use constrain instead, that should work.