Skip to main content
GameDev.net gamedev.net
🔒 Locked

2d platformer openGL

Started by vicsana Sep 6, 2012 at 11:28 PM 3 replies 8.4k views
Original Post
vicsana
vicsana
Hi, I am a complete newbie when it comes to openGL. My class started 2 weeks ago and our first assignment is already due. The assignment states - create a 2d platform game using openGL and c++ (no SDL). The platforms could be just a bunch of rectangles but the world should be big enough so that scrolling would be possible in both the horizontal and vertical directions. The player should be just a circle that is controlled with the arrow keys and we should be using naive world physics. As simple as this sounds I have spent two days rereading the chapters in the book that we have covered so far and googling and I still have no idea how to approach this. Any link to tutorials or code would be highly appreciated!
Xirion
Xirion
You can check in www.lazyfoo.net there are a lot of OpenGL tutorials.

Hope it helps.
Goran Milovanovic
Goran Milovanovic
No SDL? I suspect you meant to say that you're not allowed to use SDL drawing methods.
+---------------------------------------------------------------------+ | Game Dev video tutorials  ->   http://www.youtube.com/goranmilovano | +-------------------------------------
powly k
powly k
I, on the other hand, suspect that it teaches one more of windows programming to create the device with winapi. It isn't too hard, either.
Goran Milovanovic
Goran Milovanovic

I, on the other hand, suspect that it teaches one more of windows programming to create the device with winapi. It isn't too hard, either.


I don't think there's any value in teaching students how to lock their application to a single platform.
+---------------------------------------------------------------------+ | Game Dev video tutorials  ->   http://www.youtube.com/goranmilovano | +-------------------------------------

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.