Skip to main content

Report this content

We want the Dreams coMmunity to be a safe, diverse and tolerant place for everyone, no matter their age, gender, race, sexual orientation or otherwise. If you believe this content to contradict these principles, you can file a report for our coMmunity teams to investigate.

Note that misuse of the reporting tool will not be tolerated.

Item being reported:

A forum post by GDSage1983

Basically, I am auto moving a box in four different directions via the dpad (up, down, left, right) and I have done this with counters. What I want to do is when one direction is pressed, the counters for the other directions are reset. That way, the box auto moves in straight lines in the desired direction no matter how many times I switch direction. No tricksy coming in at an angle moves!

Now, I have this working but it means 3 wires coming out of each counter to reset the other 3 counters and I'm wondering if there's a tidier way of doing this.


I had thought a single variable modifier could do it but it seems like you can't enter multiple variables in one modifier? Or at least I don't know how to. Otherwise, I'd have to use numerous modifiers and that's not exactly making it simpler over just wiring into each counters reset.

Oh dear! Your browser is either unsupported or there has been a problem loading the page.