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

2d game engine

Started by brodi816 Jul 19, 2008 at 2:03 PM 0 replies 550+ views
Original Post
brodi816
brodi816
I want to create 2d game engine using C++ and openGL. I also want to make the programing language lua. after i get that setup i want to make be able to using server connection via luasocket.I know i will need more stuff then that like collision decection. any tips. P.S. i also found this tutorial http://www.dreamincode.net/forums/showtopic11833.htm on how to make a 2d game engine using opengl im gonna start from there.
Tenac
Tenac
I guess first make a foundation that makes a window, loads images, renders images, and has keyboard/mouse input. Then start making easy to use methods that allow you to make aspects of a game easily and as you do this, allow lua to access these methods. The goal is to do the programming side so to draw a character or something, all that is needed to be done is something like DrawImage(x, y, width, height, "image.png"). So just start out with a good foundation and start adding cool features that allow the creation of a game easier. I guess you could have methods that allow an animation of images, checking collision of them, and maybe a GUI with buttons and stuff.

Topic Locked

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

Sign in to reply to this topic.