Forums > Jitter

drawing with jit.gl.sketch or jit.lcd?

February 12, 2010 | 10:01 pm

Hi,
I’m trying to create a ping pong game interface on max 5 for a school project.

Any ideas on what will help me build:
• 2 vertical upright rectangles (that also move vertically) and
• a circle (for a ping pong) moving in between?

I don’t know if I want it in 2D or 3D.

Any suggestions are greatly appreciated!


February 12, 2010 | 11:34 pm

i think you will get better performance in gl..
a very one basic pingpong can be done fast and easy with a couple of gridshape @plane for the players and a gridshape @circle for the ball. and you play with each position parameter to move all of them, use line object to smooth all the movements.. the external f0.bounds can help you to detect when the ball hits the player.. and i dont know how you like to control de players…

bye,
o


February 13, 2010 | 6:28 am

:) thanks, I’ll see how it goes.

I’m pretty new to the program


Viewing 3 posts - 1 through 3 (of 3 total)