Project link: Please help! #debugame #games #simulation by StarlightStudios
1-sentence description of the issue:
The walls aren’t working in a puzzle game I’m making
What do you want your code to do?
When you swipe right, down, or up you should hit the wall and stop moving. But sometimes you get stuck in the walls.
What is the code currently doing?
You randomly get stuck in walls and you are randomly spaced from the wall instead of being right next to it.
I can help, but first, turn it advanced mode and remove scene 1, I can’t remix.
Is it just me or did I just realize they got rid or #debugme
Sorry it should work now!
Oh wait no sorry ignore the last thing I wrote that is wrong… you just forgot to add a “when is swiped left” rule!
Yeah, I was wondering why that wasn’t there but you could swipe left.
Yeah sorry I’m going to add one more wall for the swipe left rule.
That will be good, because when you swipe left you go out of the screen
Ok you can swipe left and hit another wall now
You haven’t fixed it yet, but sadly I can’t, it was made with advanced mode so you can’t back out.
Oh and btw when you made the code for colliding with a wall, you made the x/y variable increase by 9. I changed it to 10 and the block never froze after that
Oh, i thought if I deleted the scene and turned off advanced mode it would fix that sorry I don’t know what else to do.
Ok ill check it out right now!
It’s ok, the only way to remove that is using AE’s project editor.
Woah your right! thanks a lot for the help!
It seems to be fixed now. Thanks for trying to help!
This topic was automatically closed after 36 hours. New replies are no longer allowed.