SFML community forums

General => General discussions => Topic started by: KasHKoW on July 10, 2011, 02:03:29 am

Title: What's a game engine and how can I use sfml to make one?
Post by: KasHKoW on July 10, 2011, 02:03:29 am
I know that a game engine has components that make a game easier to make. Or a lot of low level or repetitive things done to make the game producing/development a lot easier/faster.

I'm looking for a better definition, sample things that would go into a game engine(descriptive/detailed plz) and how i can use SFML to make one.

As in what would SFMLs job be in the game engine etc.

Thanks
Title: What's a game engine and how can I use sfml to make one?
Post by: MorleyDev on July 10, 2011, 06:13:45 pm
Every game development forum needs this stickied:
Write Games Not Engines (http://scientificninja.com/blog/write-games-not-engines)

Typically a game engine is what you get when you refactor (http://en.wikipedia.org/wiki/Code_refactoring) code out of a game to use in another game. Eventually you get a flexible and reusable code base and tool base.

As for SFML's purpose in games: SFML provides Input, Windows, 2D Rendering, Audio and Networking without having to worry about the OS being compiled for.
Title: What's a game engine and how can I use sfml to make one?
Post by: gsaurus on July 10, 2011, 08:22:09 pm
Check this page (https://github.com/SFML/SFML/wiki/TutorialGQE-Engine) on the SFML wiki.