-
Change scene when lives run out
-
making an invisible wall
by zombots ·make the actors(wall) alpha attribute 0, thats how i have done n e thing invisible in my games -
losing data after save...
by harrio ·no. strangely enough, the same variable, a game attribute for 'reverse direction'. every time i come back to the project it is gone and the references to it in the actor instance rules disappears too. -
variable comparison in rule setup...
by harrio ·attribute change: (self.position x) [equals] (445) -
index variable?
-
Jump High in Relation to Key Hold Duration
by JGary321 ·change attribute game.jump = 0 -
identifying actors with x/y coordinates...
by harrio ·actors. and for each actor instance i can change/constrain the 'enemy checker' actor position to self.position x and self.position y - 40. that would be the center position of the enemy actor directl -
Walking help
by butterbean ·What attribute do I change to make the actor walk only when I hit the left or right key so the actor doesn't slide like it's skating on ice? -
gravity help
by CodeMonkey ·Just note that when you use constrain to keep the actor in the Y position to make it seem like it is ignoring gravity, it is just redrawing your image every frame in that position. If you show the Y l -
gravity help
by jhaas ·Never mind, I found the constrain attribute code that will counter act gravity. -
identifying actors with x/y coordinates...
by CodeMonkey ·if attribute changes self.position.X <= x'+self.Size.width/2 -
Resetting game and resetting level
by MillerEP ·To answer your first question Butterbean, I would say it depends on what you're using to keep track of the healthbars. If you have a global attribute that just adds by 1 each time you get hit, I woul -
Enemy Shooting Back
by Kamazar ·And under the Lives attribute, you set the value to something over 0, right? -
Enemy Shooting Back
by CAmaninacan ·Thanks for that Kamazar, I got the rotating and shooting to work but not the lives, when I put change attribute game.lives to -1 whenever the actor gets hit it changes lives to -1? Also when lives rea -
Dragging and Reposition Game Elements
by Kamazar ·guessing somewhere along the lines of a boolean attribute, move to mouse coordinates, and then the boolean attribute again. Anyone care to clarify? And since this seems to be one of you guys favorite -
Enemy Shooting Back
by Kamazar ·1) First, constrain two real attributes in the game attributes section to the X and Y position of your character. Have the bullet/laser/whatever either accelerate or move to those positions. Then cre -
Actor has key or item to open door
by Kamazar ·Create an integer attribute called "keys" which is equal to zero -
Help with Space Invaders type game
by CodeMonkey ·The way that using change attribute and constrain attribute on the pox_x and pos_y might cause some issues, it you may forget that there are other forces like gravity/acceleration that are still affec -
Actor has key or item to open door
by butterbean ·So can I set a game attribute (boolean) "keyinhand" and set it to be false when the player doesn't have it, and true when the player touches it, and allow access into a doorway? -
Actor has key or item to open door
by CodeMonkey ·But you can always make a game attribute that counts how many keys or which key has been selected to allow gate access.