We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I am creating a code in which we are trying to link a character, in this case Mario, with a sequence of randomly generated blocks. We have created a system of generation for the blocks, but are having trouble having Mario interact with them and stop on the blocks. Any suggestions? Currently the blocks are generated on a series of timers, and his interactions with them are controlled by a series of if statements determining Mario's position. Any suggestions?
Answers
None of which we can see working, because you haven't posted your code.
Post your code.
I had some statements determining Y-position, but they seemed to be doing moe harm than good. The X-position seems to be working, but stop after the first generation of the blocks is through (after 6 blocks)
https://forum.processing.org/two/discussion/8082/from-several-variables-to-arrays
https://forum.processing.org/two/discussion/8081/from-several-arrays-to-classes