SFML community forums

General => SFML projects => Topic started by: paupav on December 30, 2015, 11:21:53 pm

Title: boxGame
Post by: paupav on December 30, 2015, 11:21:53 pm
So, I wanna create simple multi player game and here is what I've done so far. Please comment, criticize etc. Idk if this is correct way to do state machine.
https://github.com/paupav/boxGame

http://www.youtube.com/watch?v=rczu5bvQ8h0
Title: Re: boxGame
Post by: Hapax on December 30, 2015, 11:43:47 pm
[video]
"This video has been removed by the user"
Not much use  :P
Title: Re: boxGame
Post by: paupav on December 30, 2015, 11:47:06 pm
fixed :P
Title: Re: boxGame
Post by: Resethel on December 31, 2015, 11:31:20 am
Idk if this is correct way to do state machine.

Well there are many ways to do a state engines, and many types. Yours just feel pretty good to me, maybe for an engine of this kind you could make your states derivate from a "State" class with virtual methods like an update one, and then make a state array or something like that  ;D!
( Something similar was done in the SFML Game developpement book (https://github.com/SFML/SFML-Game-Development-Book) wich is duper great )
Title: Re: boxGame
Post by: paupav on January 03, 2016, 01:02:26 am
if this one is fine then i will continue using it. thanks :)