Some question about game programming.

Post all other topics which do not belong to any other category.
allyusd
Manual Inserter
Manual Inserter
Posts: 2
Joined: Fri Dec 26, 2014 12:53 pm
Contact:

Some question about game programming.

Post by allyusd »

Hi,

Factorio is a great game, I'm love it.
I'm curious about game programming.
Can I ask some question?

1. Why Allegro? Why not SDL, Cocos2d-x, SFML...etc
2. What version at Allegro? 4 or 5? And why?
3. Your programming architecture have use MVC? or like it? (it's mean split logic and view, if you delete code about view, the game logic still running)

If the topic does not fit appear at here, please tell me where i can go? I'm really very interested.
kovarex
Factorio Staff
Factorio Staff
Posts: 8211
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: Some question about game programming.

Post by kovarex »

allyusd wrote:Hi,

Factorio is a great game, I'm love it.
I'm curious about game programming.
Can I ask some question?

1. Why Allegro? Why not SDL, Cocos2d-x, SFML...etc
Because it was the first engine that came to my mind. As Factorio started as small hobby project, I didn't put so many thought into it.
allyusd wrote: 2. What version at Allegro? 4 or 5? And why?
5 and the newest version, sometimes even the git version. We also have some custom changes made in Allegro. Mainly optimisation and font changes.
allyusd wrote: 3. Your programming architecture have use MVC? or like it? (it's mean split logic and view, if you delete code about view, the game logic still running)
It is especially needed to achieve deterministic simulation in multiplayer independent on the view.
allyusd
Manual Inserter
Manual Inserter
Posts: 2
Joined: Fri Dec 26, 2014 12:53 pm
Contact:

Re: Some question about game programming.

Post by allyusd »

Thank you for your reply. It's very helpful for me.
Post Reply

Return to “General discussion”