Move infinitively in a direction.
someone, I can't recall who, posted this template on the forums a while back and I always kept it. It is giving me some problems though. I want it so when you press left,right,up, or down instead of moving over 1, it moves over until it hits a wall.
Heres the project: http://dl.dropbox.com/u/66596212/Collision_With_Tables.zip .
As always, any help would be very appreciated.
Heres the project: http://dl.dropbox.com/u/66596212/Collision_With_Tables.zip .
As always, any help would be very appreciated.
Best Answer
-
tatiang Posts: 11,949
Loops are a bit unwieldy in GameSalad, but generally I have two timers, one inside the other. The outer one is a "for" timer (e.g. for 2 seconds) and the inner one is an "every" timer (e.g. every 0.1 seconds) with a change attribute behavior at the end to increase the column or row number. I took a screenshot of one such rule (it only uses a single timer, though):New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Answers
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User