Processing + pBox2d
in
Share your Work
•
4 months ago
Hi :)
I'm trying to create a game such as mario, sonic, etc with Processing + pBox2d.
I'm still having some problems with the camera :/ (it should follow the character but I don't know why it only sets the ground/plataform), but i'm working on it.
Here's the github:
https://github.com/Pedroglp/jogoDev
A,W,S,D - Move the character.
R - Reset (it's bugged, but i'll solve it when as soon as the camera problem it's solved).
Other problem it's "keep moving" after jumping, I didn't find any other affective way to clean the pressed key without doing something like "key='^' " and I think that's why I need to press twice A,D keys after jumping to move.
By the way, all the comments and some variables in the code are written in portuguese, so be free to ask any question about it.
Thank you for the attention and sorry about my poor english :/
I'm trying to create a game such as mario, sonic, etc with Processing + pBox2d.
I'm still having some problems with the camera :/ (it should follow the character but I don't know why it only sets the ground/plataform), but i'm working on it.
Here's the github:
https://github.com/Pedroglp/jogoDev
A,W,S,D - Move the character.
R - Reset (it's bugged, but i'll solve it when as soon as the camera problem it's solved).
Other problem it's "keep moving" after jumping, I didn't find any other affective way to clean the pressed key without doing something like "key='^' " and I think that's why I need to press twice A,D keys after jumping to move.
By the way, all the comments and some variables in the code are written in portuguese, so be free to ask any question about it.
Thank you for the attention and sorry about my poor english :/