Change Scene Attributes based on actor events
tenrdrmer
Member, Sous Chef, Senior Sous-Chef Posts: 9,934
Hello, I am new to game salad.
I have the general basis of my game setup with the actors and behaviors set. Now I am trying to make the game more unique as well as add dificultty to later levels. What I want to do is basically change the gravity setting of one scene if two specific actors collide. I can only find a way to change actor attributes on collisions.
Thanks
For any help you guys can give
I have the general basis of my game setup with the actors and behaviors set. Now I am trying to make the game more unique as well as add dificultty to later levels. What I want to do is basically change the gravity setting of one scene if two specific actors collide. I can only find a way to change actor attributes on collisions.
Thanks
For any help you guys can give
Comments
Thanks
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
Couple of ways to achieve what you want though. I made the gravity continually change during a game by using accelerate instead of the gravity option. By giving an actor an accelerate behaviour in the direction you want gravity it has the same effect. This could then be changed when a global attribute is changed for all actors.
The other option could be some sort of invisible controller character in the scene already that responds to some global attribute change and shifts the gravity. eg. when 1 and 2 collide change attribute ? to True. Then the controller would look out for ? being true and shift the gravity in that scene. You would need to have the controller already in the scene on every scene, but that's not too big a job.
Thanks For the help.
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps