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

Author Topic: boxGame  (Read 4314 times)

0 Members and 1 Guest are viewing this topic.

paupav

  • Full Member
  • ***
  • Posts: 156
    • View Profile
    • Email
boxGame
« 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

« Last Edit: December 30, 2015, 11:41:51 pm by paupav »

Hapax

  • Hero Member
  • *****
  • Posts: 3379
  • My number of posts is shown in hexadecimal.
    • View Profile
    • Links
Re: boxGame
« Reply #1 on: December 30, 2015, 11:43:47 pm »
[video]
"This video has been removed by the user"
Not much use  :P
Selba Ward -SFML drawables
Cheese Map -Drawable Layered Tile Map
Kairos -Timing Library
Grambol
 *Hapaxia Links*

paupav

  • Full Member
  • ***
  • Posts: 156
    • View Profile
    • Email
Re: boxGame
« Reply #2 on: December 30, 2015, 11:47:06 pm »
fixed :P

Resethel

  • Newbie
  • *
  • Posts: 22
    • View Profile
    • Email
Re: boxGame
« Reply #3 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 wich is duper great )
« Last Edit: December 31, 2015, 11:39:06 am by Resethel »

paupav

  • Full Member
  • ***
  • Posts: 156
    • View Profile
    • Email
Re: boxGame
« Reply #4 on: January 03, 2016, 01:02:26 am »
if this one is fine then i will continue using it. thanks :)