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

Author Topic: NEW to sfml can someone offer me tips  (Read 2939 times)

0 Members and 1 Guest are viewing this topic.

doomlead

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Email
NEW to sfml can someone offer me tips
« on: November 15, 2014, 12:45:46 pm »
I am new to sfml. I chose sfml because it uses c++, it is primarily for 2d games, it has a great license, and built in networking(no expirence on this aspect).
 
I am a 2nd year Computer science major with no video game programming experience. I am intermediate programming with c++ and I know most basic theories from Dijkstra's algorthim to the maximum contiguous sum array. My goal is to remake kung fu master(the 1984 arcade and nes game ) where should I begin since I do not know the sfml library or the first thing about game logic or game programming. I can deduce that all games are state machines that have multiple states withe basic 2 being on or off, while its on game updates(renders(or output to console), takes input, game logic(), physics and so fourth and so on). I just do not know where to begin there aren't any 2.1 tutorials out there. 
I followed the instructions and have already installed sfml 2.1 for codeblocks.


thank you in advance for any help recieved.

Ixrec

  • Hero Member
  • *****
  • Posts: 1241
    • View Profile
    • Email
Re: NEW to sfml can someone offer me tips
« Reply #1 on: November 15, 2014, 01:06:19 pm »
I just do not know where to begin there aren't any 2.1 tutorials out there.

Yes there are: http://sfml-dev.org/tutorials/2.1/

Quote
I can deduce that all games are state machines that have multiple states withe basic 2 being on or off, while its on game updates(renders(or output to console), takes input, game logic(), physics and so fourth and so on).

This stuff isn't really unique to SFML so you can find lots of advice about it elsewhere, though the absolute basics are sort of implicitly covered by the example code in the SFML tutorials.  http://gameprogrammingpatterns.com/introduction.html is one of many good places to start learning more about how to handle these issues.
« Last Edit: November 15, 2014, 01:10:05 pm by Ixrec »

blojayble

  • Newbie
  • *
  • Posts: 19
  • whoa
    • View Profile
Re: NEW to sfml can someone offer me tips
« Reply #2 on: November 15, 2014, 01:08:29 pm »
Any tutorials?

http://sfml-dev.org/tutorials/2.1/
So what exactly is that?

Also, I recommend reading this:
https://www.packtpub.com/game-development/sfml-game-development
and maybe this:
http://gameprogrammingpatterns.com/
as well as any other book on this topic.
0 bottles of beer on the wall,
0 bottles of beer!
Take one down, pass it around,
4,294,967,295 bottles of beer on the wall!

Hapax

  • Hero Member
  • *****
  • Posts: 3379
  • My number of posts is shown in hexadecimal.
    • View Profile
    • Links
Re: NEW to sfml can someone offer me tips
« Reply #3 on: November 16, 2014, 02:11:35 am »
My goal is to remake kung fu master
...
I do not know...the first thing about game logic or game programming
The best advice, then, would be to lower your immediate goal to creating simple games and slowly build up to the full "remake".
Who knows? You may not even like that game in a few months  ;D
Selba Ward -SFML drawables
Cheese Map -Drawable Layered Tile Map
Kairos -Timing Library
Grambol
 *Hapaxia Links*

doomlead

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Email
Re: NEW to sfml can someone offer me tips
« Reply #4 on: November 16, 2014, 02:55:22 am »
Also, I recommend reading this:
https://www.packtpub.com/game-development/sfml-game-development
and maybe this:
http://gameprogrammingpatterns.com/
as well as any other book on this topic.
I started reading the game patterns book I must say this is an excellent book from what I have read so far I am probably going to read the whole book before I start my game.

My goal is to remake kung fu master
...
I do not know...the first thing about game logic or game programming
The best advice, then, would be to lower your immediate goal to creating simple games and slowly build up to the full "remake".
Who knows? You may not even like that game in a few months  ;D
I think kung fu master is the simplest game i can think of for the genre of game that I want to do which is a beat em up. I set my goal of remaking Kung fu master because it was the first beat em up and the logic for the game seems really simple. So I would like to remake this game first and then move on to trying to remake double dragon, and than maybe Final Fight . Afterwards I will strive to bring the vision I have for a game to reality.
 
I could be wrong in my assements I might have set my goal to hi plz check the youtube link and let me know if I am wrong and what type of simple game I should do first.
« Last Edit: November 16, 2014, 02:57:52 am by doomlead »

Jesper Juhl

  • Hero Member
  • *****
  • Posts: 1405
    • View Profile
    • Email
Re: NEW to sfml can someone offer me tips
« Reply #5 on: November 16, 2014, 03:29:08 am »
I'd say do something really simple., like tic-tac-toe, snake or mastermind for your very first game. Learn the tools (like SFML) with something that's so simple that you don't have to think about the game logic much at all. Then later move on to what you really want to do once you know SFML a bit better.
But you can of course do what you want :-)

 

anything