Search found 4 matches

by DuGaming
Sun Nov 14, 2010 4:19 pm
Forum: Programming Discussion
Topic: sdl collision
Replies: 9
Views: 1561

Re: sdl collision

thanks for the help, I'll defiantly look into those things
by DuGaming
Sun Nov 14, 2010 1:49 pm
Forum: Programming Discussion
Topic: sdl collision
Replies: 9
Views: 1561

Re: sdl collision

I don't know what method to use, my first idea was bounding box, but it doesn't work well with rotated rectangles
by DuGaming
Sun Nov 14, 2010 8:36 am
Forum: Programming Discussion
Topic: sdl collision
Replies: 9
Views: 1561

sdl collision

I'm thinking of making a maze game, where you draw a line threw a maze and points are deducted when you go outside the line, I'm unsure of how the collision would work though any ideas?

here is a picture of my idea, black lines = walls, red line = mouse movement.
maze.png
maze.png (26.32 KiB) Viewed 1681 times
by DuGaming
Sun Oct 17, 2010 7:40 pm
Forum: Programming Discussion
Topic: buttons in opengl
Replies: 1
Views: 319

buttons in opengl

How would you use sdl to get mouse input in opengl? To be more specific how do you convert event.motion.x to opengls coordinate system or vice versa?