Berzerk Almost Done! Just a little more help please?
VibraKnife
Member Posts: 60
I've almost finished my Berzerk game. I have lives, a scoring system, the levels are very similar to the actual game... But the enemy is still not working. It runs into walls, no matter what I do. Can someone help? I have an actor to tell the enemies when to move or not, but they still always move.
Answers
are they just touch is pressed … change a gameAttribute:
you could add a condition of when they could make changes
EX: rightButton:
Rule: when (All)
Event: touch is pressed
Attribute: game.PlayerX < 460 (or whatever the screenWidth or wherever the wall is)
-changeAttribute: gameAttribute storing R movement To: true
Otherwise: change it to false
MH
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Wonderful.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
In the demo, click on the white "Tracking" button to toggle tracking. The blue actor tracks the mouse position.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User