We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I am currently working on a game. It requires the UP and RIGHT or LEFT buttons to be pressed at the same time in order to jump and move from side-to-side simultaneously. I do not know how to code this correctly. If you would like to see this glitch in detail, visit http://bleubox.altervista.org/productions.html and play the demo game (which is badly in need of fixing). Knowing how to do this would make the full version of my game much more dynamic and fun.
Answers
http://studio.ProcessingTogether.com/sp/pad/export/ro.9bY07S95k2C2a
I think this code is from Daniel Shiffman's nature of code
http://natureofcode.com
You might like it.
Specially:
http://natureofcode.com/book/chapter-1-vectors
I cut off the parts of the code from http://studio.ProcessingTogether.com/sp/pad/export/ro.9bY07S95k2C2a and am working on fitting it in my game. Thanks!