Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Sfml 2.0/2.1 game engine  (Read 6214 times)

0 Members and 1 Guest are viewing this topic.

LegoMan4

  • Newbie
  • *
  • Posts: 10
    • View Profile
    • Email
Sfml 2.0/2.1 game engine
« on: September 15, 2013, 01:01:08 pm »
So, i was wondering is there any example how to make sfml 2.0/2.1 game engine?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11045
    • View Profile
    • development blog
    • Email
AW: Sfml 2.0/2.1 game engine
« Reply #1 on: September 15, 2013, 01:10:58 pm »
"Game Engine" is a generic term and topic. There's no specific way to make an "game engine". Besides that you show make games not engines. Engines are what you can extract afterwards.

The SFML Game Development books shows from start how to create a game with SFML 2.x.

There are hundred of tutorials on game development on the internet. If you know how to program and can make use of the official documentation and tutorials, you should have no problem adapting those tutorials for SFML.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

LegoMan4

  • Newbie
  • *
  • Posts: 10
    • View Profile
    • Email
Re: AW: Sfml 2.0/2.1 game engine
« Reply #2 on: September 15, 2013, 02:01:38 pm »
isnt there a way to make game engine like this?

https://www.youtube.com/watch?v=oIRh321CAD0

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11045
    • View Profile
    • development blog
    • Email
Re: Sfml 2.0/2.1 game engine
« Reply #3 on: September 15, 2013, 04:56:18 pm »
Of course there's a way: Programming! ;)

And no, there's not tutorial on how to do it (with SFML). Learn the programming language and learn how SFML works and then start with small games and slowly scale it up to bigger projects.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

MorleyDev

  • Full Member
  • ***
  • Posts: 219
  • "It is not enough for code to work."
    • View Profile
    • http://www.morleydev.co.uk/
Re: Sfml 2.0/2.1 game engine
« Reply #4 on: September 15, 2013, 05:30:34 pm »
Time to hand out the link to hand out whenever this question comes up: Write Games, Not Engines.

Heck, a couple of years ago even I wrote a blog post on it...
UnitTest11 - A unit testing library in C++ written to take advantage of C++11.

All code is guilty until proven innocent, unworthy until tested, and pointless without singular and well-defined purpose.

LegoMan4

  • Newbie
  • *
  • Posts: 10
    • View Profile
    • Email
Re: Sfml 2.0/2.1 game engine
« Reply #5 on: September 16, 2013, 10:08:07 pm »
i know, but there will be cca 80 medium levels, and i think that it will be shorter to make engine than game

zsbzsb

  • Hero Member
  • *****
  • Posts: 1409
  • Active Maintainer of CSFML/SFML.NET
    • View Profile
    • My little corner...
    • Email
Re: Sfml 2.0/2.1 game engine
« Reply #6 on: September 17, 2013, 12:28:23 am »
i know, but there will be cca 80 medium levels, and i think that it will be shorter to make engine than game

Seriously read the articles MorleyDev linked. Size of the levels do not matter here, focus on making your game and then what you can extract from your final game can be considered a "game engine". If you set out to make a game engine your never finish your game because the game engine you set out to make will not be able to support any real game. That is why you should make games, not engines.
Motion / MotionNET - Complete video / audio playback for SFML / SFML.NET

NetEXT - An SFML.NET Extension Library based on Thor