We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi, I am making a game with jumping and I need to override a constraint. Is that possible??
boolean override = true; if( !override ){ constraint(); }
... Okay. I didn't expect that to work, but... whatever...
It worked... kinda. The fish(main character in my game) only appears if I press the "Jump" key(which is CONTROL). Any idea what's going on?
Hard to say without seeing any code. Maybe you are only drawing the fish in your keypressed() function?
Could you look at this question first?? It will help me solve this. https://forum.processing.org/two/discussion/26326/jumping
then why are these two different questions?
Sorry, I probably should have put them together...
Answers
... Okay. I didn't expect that to work, but... whatever...
It worked... kinda. The fish(main character in my game) only appears if I press the "Jump" key(which is CONTROL). Any idea what's going on?
Hard to say without seeing any code. Maybe you are only drawing the fish in your keypressed() function?
Could you look at this question first?? It will help me solve this. https://forum.processing.org/two/discussion/26326/jumping
then why are these two different questions?
Sorry, I probably should have put them together...