How to modify gravity game with a behavior please
galban
Member Posts: 62
Hello
I need to change the gravity of my game with a behavior, but i can't find attibute game.gravity
How to modify gravity game with a behavior please
thanks
I need to change the gravity of my game with a behavior, but i can't find attibute game.gravity
How to modify gravity game with a behavior please
thanks
Comments
Have you any idea?
I hope they will soon add a pause behavior and they will correct the problems of slowing.
More I work with GameSalad , more it slows. I must to restart gamesalad 50 times / day!
I'm with you on that one. I find I have to shut down and reopen GS every hour or so to keep performance up (sometimes more).
Definitely can't have Photoshop open while GS is open either. GS slows to a crawl.
CJM
another problem: If I add a new actor on the screen (i think it depends to the position or the picture size), sometimes gamesalad totally bugs my MAC.I must to reboot (sorry for my english, i'm french)
First you can turn gravity on and off with a button you just have to set it up the first time by unlocking an actor within the scene. and building your rule from there to change the scene gravity as gravity is a scene attribute. There is also a way to make that rule work in your prototype even though you will be told it cannot be done by this forum. The problem is once you shut gravity off though your actors are going to go the other way.
I Think you could probably create a game attribute and call it pause and then make your pause button set game.pause as true or false when touched. then all of your actors you want to stop moving create a rule in them that when game.pause is true it changes the actor attribute movable to false and vice versa. Thats all of course in my head i have no idea if that would work partly bc i dont know what else is going on when you want that to happen
Good luck to you.
Oh and if you want to know more about setting a rule in the prototype that affects scene attribute let you can email me at tenrdrmer(at)yahoo.com