View Single Post
Old Aug 1st, 2006, 3:09 PM   #1
al1986
Newbie
 
Join Date: Feb 2005
Posts: 24
Rep Power: 0 al1986 is on a distinguished road
pygame half-pipe game

hey,

i'd like to make a simple 2D half-pipe game using pygame. this is what inspired me: http://www.gmaxskateboarding.com/game.asp

however, i'm not sure about the maths involved in coding this kind of game. i'll need to make the skater move along the half-pipe, rotating him accordingly so he appears to stay in an upright position.

i'd appreciate it if anyone could point me in the right direction. i'm aware of the pygame.transform.rotate method, as well as pygame.draw.arc (could maybe use to draw the half-pipe?)

oh, and i tried to read up on bezier curves but it just went over my head!
al1986 is offline   Reply With Quote