Jump to content

making browser game in PW?


Marek
 Share

Recommended Posts

do you know those games like for example grepolis, travian and so on? i mean those browser based games where you build some town and attack others players or those more like a rpg where you buy weapons for your character and so on.

so if you wanted to make such a game, whould you do it using processwire? is it suitable for similar projects? or does plain PHP makes more sense?

Link to comment
Share on other sites

I don't see much use for PW in a project like that unless you have an associated site with profiles of all the players or something, but even so I think in that case I think there are better options for that. I assume the key thing you are looking for PW to do is store info about each player, their score, their weapons arsenal etc?

Obviously the game itself will be canvas/javascript. Can I recommend EaselJS for all your game logic and canvas manipulations?

I think I would probably go with a completely JS solution and use MongoDB (or some other noSQL DB) for this. There are lots of options. 

Link to comment
Share on other sites

I think for the whole data and user handling PW is very well suited. If it's a browser game in the classic sense, that's all you need.

If you want real-time user interaction, you of course need something like @adrian mentioned.

I once fiddled around with a couple of HTML5 2D game engines and found Phaser to very fast (webGL with canvas fallback), powerful and flexible. It's built on pixi (which is the HTML5 successor of a once very popular flash gfx engine, can't remember now).

  • Like 3
Link to comment
Share on other sites

no real-time user interaction, animations or html5 engines needed. JS could be used for moving map, countdowns and chat...

these games are almost like some community website ... people play these for months or years and login in each day just to click to upgrade some of their buldings in their town which may take more than a day...

  • Like 1
Link to comment
Share on other sites

  • 5 months later...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...