I still cant figure out how to make my character go faster when in a vehicle
wendell_heather@yahoo.com
Member Posts: 36
ok so hes walking normally he collides with his vehicle i change the vehicles position to follow the player but it looks like hes inside
but now hes going the same speed as before. no fun right? so how do i fix this
Comments
No fun at all. Attributes in GameSalad act as variables. They can be changed to a specific value or a mathematical expression. Instead of whatever value you have for the character actor's speed (e.g. 100), use an attribute (e.g. create an integer or real attribute called game.characterSpeed). Set the value of the attribute to that same value (e.g. 100) to begin with and then when the character actor collides with the vehicle actor, change attribute game.characterSpeed to 200 or to game.characterSpeed*2. Fun!
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User