Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Rob83

How to use game engines?

This topic is 6959 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

It's the other way around. You don't put a game engine into your code... you start with a game engine, and add code until you have a game.

Get the book "Windows Game Programming for Dummies" by Andre LaMothe... should be a pretty good starting point.

Mason McCuskey
Spin Studios
http://www.spin-studios.com

Share this post


Link to post
Share on other sites
Advertisement
Hi -

Yes and no.

All code is edited in the development studio, then compiled into the EXE for your game. The path goes like this:

C++ code ---> OBJ or LIB files ---> EXE

The first arrow is called "compiling" and the second arrow is called "linking."

I haven't had much experience with game engines, but my best guess would be that most are implemented as "libraries" - that is, when you get the game engine (download it, buy it, whatever), you're given a bunch of LIB files. You can use the LIB files in your game by linking them in... but you can't see the code for them. In order to properly use them, you've got to rely on outside documentation that came with them.

The exception to this are the "Open Source" engines... in an open source engine, you get source code.

Hope this helps...

Mason McCuskey
Spin Studios
www.spin-studios.com

Share this post


Link to post
Share on other sites
Can anyone tell me how put/use a game engine into my code as I am a real beginner and can't fing any game programming tutorials anywhere. Could someone please point me in the direction of some tutorials even if it is just to make a tetris clone.

Thanx!!!

Share this post


Link to post
Share on other sites
Rob: I think your confused about what a game engine is. The game engine is just the game's basic source code. The engine basically handles the games basic sub-systems such as graphics, input, sound, collision detection, etc.

--TheGoop

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!