cheesepencil Posted July 31, 2014 Share Posted July 31, 2014 Hey y'all! This is my first HTML5 game, but not by any means my first game. I absolutely adore procedurally generated content and randomized gameplay, something about having a different experience every time you play the game really scratches my itch, you know what I mean? I spent some time browsing roguebasin and the procedural content generation wiki and was inspired to make my own dungeon crawl. I've been learning full-stack javascript and a roguelike-like seemed a fun and exciting challenge. Here is what I have so far:visiting the site drops you into a new, unique, randomly generated five-level dungeonshare the unique URL it generates and anyone that browses that link joins you in the dungeonQWE/AD/ZXC keys correspond to NW, N, NE, W, E, SW, S, SE movement directions respectivelythe numeric keypad on full length keyboards also do eight direction movementmobile and tablet users can use onscreen directional buttonsevery dungeon has five levels, with increasing complexity (first level has 50 rooms, the fifth level has ~100)the dungeon generation algorithm puts the entrance in the first room it builds and the exit in the last room it builds, so most of the time it's a long and inconvenient path to the next floor of the dungeonstand on a stairwell and the ascend/descend button will appear in the UI, unless you're on the fifth floor and standing on the stairwell down, since there is no sixth floor (will be replacing the fifth floor staircase with the Amazing Macguffin that wins you the game)your ping is in the bottom right cornerthe game canvas changes responsively if you change the size of the browser window or if you rotate your mobile device7 random dungeon 'themes' randing from ice cavern to grassy fort to dank cellar, etc3 player classesfog of war, only draws tiles player has exploredphaser for the frontendnode.js backendYou can start a new game by visiting mppdl.cheesepencil.com You can invite a friend to join you by sending them the URL after you've entered a dungeon (it might look like 'mppdl.cheesepencil.com/dungeon/Prince-Moat' or something like that)You can see existing, populated games, their currently connected players, and some fun server stats at mppdl.cheesepencil.com/status, click on any existing game to join it. If the server is very laggy or unresponsive, or you consistently get pings over 200ms, try the alternate server at crowbarticklefight.no-ip.org:8085 (to make a new dungeon) and crowbarticklefight.no-ip.org:8085/status (to see existing, populated dungeons). Since I added the fog of war, it's almost playable on phones as crappy as the old iPhone 3g and the firefox phone (though I do not suggest you try it).TODO:magical monsterslootcombatplayer advancementplayer class differentiation (mage will have magic, rogue will have invisibility)potions and scrollsgeneral dungeon clutterlots and lots and lots of bug fixesI've been working on it every day for the last four weeks and hope to have it basically complete in another four weeks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.