Creating a score for the distance my actor has travelled
MattyB2489
Member Posts: 6
Hey, i have a platform endless runner game, i'm looking to add a score on how far the actor can get without crashing into the enemies.
I got the display box for the score, but the actor is not moving, the background and other actors are moving.... Whats the best way around this please? New to all this!
I got the display box for the score, but the actor is not moving, the background and other actors are moving.... Whats the best way around this please? New to all this!
Comments
If so add that actor to it's own layer and make that layer non-scrollable.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
Complete Guide to iOS Publishing {} Complete Guide to Mac Publishing
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
Sorry really new to all this stuff.
Timer -> every 1 seconds (or however often you like)
Change Attribute -> Distance = Distance + 1
Assuming Distance is the name of the Attribute you are using for your score/distance/scoreboard.
Hope that helps.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
Complete Guide to iOS Publishing {} Complete Guide to Mac Publishing