Search the Community
Showing results for tags 'mongodb'.
-
hello i want to make a online multiplayer online card game using phaser. CAn you please help me in this that from where i would start??
- 6 replies
-
- socket io
- javascript
-
(and 3 more)
Tagged with:
-
A friend of mine and myself just recently graduated from the Ironyard(a full-stack web development boot camp) and have begun work on our final project, choosing to do a game through Phaser. My friend had already begun work on the game and had it working, but not to the scale we wished to bring it. The end goal was to use Nodejs to navigate through a login, sign up, and game page, saving the user info(as well as the game state) to a mongoose/mongodb. We also wanted to use socket.io to make it multiplayer, working on mobile and desktop. In its state before beginning this endevour, it had six game states(Boot, Preloader, MainMenu, level outside, level house) all as functions with prototypes, rendered by placing them in scripts in the head of the index.html file and then running a script to add all these to the game state manager on the windows load. link here https://github.com/AHarryHughes/Top-Down-Shooter/tree/master When we added the Node.js server, we had to add all the game and Phaser files to the static directory in nodejs, serving them up to the browser, the problem with this is that now we were unable to modularize the code. I attempted to utilize Requirejs but it can't seem to find my src file instead I just get an error reading "404 main.src not found" when my src="main.js" inside the script. That current code is here https://github.com/AHarryHughes/Top-Down-Shooter/tree/modPt3 I have also seen that browsers are starting to support type=module in scripts and am thinking this may be a path for better modularization of our game, but I'm looking for advice on the subject if anybody has experience using it. Another problem I see in the distance is saving the game to the MongoDB server, it is a wave based game utilizing tower defense and gun purchasing, so the only thing to save would be which wave, what tower is placed and where, as well as what guns the player has. I'm having trouble seeing how the phaser game will be able to communicate with the server. Any advice would be greatly appreciated, I'm new to this blog but I've gathered a lot of helpful information thus far from other posts on this subject, but it seems my problem might be a little more specific than any other posts I've read, if I'm wrong in this, a point in the right direction would help just as much, thank you.
-
Hello! I've got a dilemma, what should I use. I am creating an application with user logging, email notifications, admin section, game etc., so there will be a lot of different views. Game will be without animations, just simple browser clickable strategy with pop-up dialogs, world map, user inputs, placing building (something like travian, goodgame empire, ...). Because of an app complexity, I have found mean.js stack usefull, but then I found out that AngularJS doesn't work well with canvas I know, that I will use node.js, mongoDB and socket.io, but what else?
-
Hi all, I`m new to game development and I want present you my first project. Conquest Online is a very early version which I started to make about half year ago. It`s a turn based strategy browser game with gameplay similar to Heroes of Might and Magic or King`s Bounty series. The game already has all core features like: - building cities - recruiting army - gathering resources - battles At the beginning i planned to make small experimental version to get familiar with some game dev technologies. However, since then game became relatively big and playable, so I have to decide whether to develop it further. There are lot need to be done before the complete version could be released. Most important features which i plan to implement are: - multiplayer with PvP battles - quests - ranged units and mounted units - generals - items - new buildings in city Game is avaiable here. At this stage of development i`ll be very grateful for Your opinion.