[GAME] MULTIPLAYER 3D Survival Game! SNEAK PEEK
fuzzyastrocat (788)

EDIT: Check out the update here!

Many games here are 2D, so I thought I'd try my hand at 3D with THREE.js. I'm not done with the game yet, but I thought I'd post a sneak peek so that I can get feedback for it!

As of right now, there's no real goal (you can't win or lose). But you can go around and do stuff. Here's the controls:

  • Arrow Keys or WASD to move
  • Q and E or rightclick+drag to rotate the camera
  • Click and hold to saw stuff (when not placing — you have to be touching an object too)
  • Click on an item in the upper-left to craft it (these items will appear when you have the necessary resources to make them)
  • Click on a item you've crafted in the bottom bar to start placing it (a ghost version of it should appear in front of you, you can move around to position it as you like) and then click again to place it or right click to cancel.
  • NEW: Enter to chat!

As of now, you can build walls (with wood) and campfires (with stone and wood). There's a day and night cycle in place too, so your campfires will look good :D

And yes, this game is fully (server) multiplayer, so you can build a base with others! (Try opening two tabs if there's no one else around)

Enjoy! If you find any bugs or have any suggestions, please post them!

IMPORTANT: If the land is empty at first (no trees, rocks, etc), please let me know! (And then reload the page until it isn't.) I think I've fixed that bug but I'm not certain.

You are viewing a single comment. View All
fuzzyastrocat (788)

oh my gosh, amasad upvoted...

DynamicSquid (3641)

@fuzzyastrocat Awesome!! there should be an achivement: eren (wait how do you spell eren) amasads upvote or something like that. Or at least naie it so that his upvotes counts as 2 lol

DynamicSquid (3641)

@fuzzyastrocat wow i suck at typeing on my phone

fuzzyastrocat (788)

@DynamicSquid (earn?) Yeah that would be cool!

fuzzyastrocat (788)

@DynamicSquid (in response to the "typeing on my phone" one) Heh... I suppose the edit button would be a fix for that

fuzzyastrocat (788)

@DynamicSquid YAY I'm on the cycles leaderboard

fuzzyastrocat (788)

@DynamicSquid I have 492 cycles... come on 500, come on 500... :D

DynamicSquid (3641)

@fuzzyastrocat ah... don't you love writing actual good code? it works, clean syntax, and easy to understand. I'm doing it right now and I feel awesome!

fuzzyastrocat (788)

@DynamicSquid It's great! Unless you make something like this, and then everyone comes in and hacks it so you have to do a bunch of anti-hack.

DynamicSquid (3641)

@fuzzyastrocat lol! Oh, I have a quick question about lang dev. So if there's an expression, that get's turned into an Expression AST in the Parser. But what does the Interpreter do with it? I know how to take an Expression AST and have the Interpreter evaluate it down to a single value, but I have to modify the original AST to do so. But that's a problem if I still need the original AST (for example in a loop). So should I make a copy of an AST in the Interpreter and evaluate that? Or is there a better way?

fuzzyastrocat (788)

@DynamicSquid Yay lang dev, now I can get back to doing what I really want to do not fixing bugs in games lol :D

Could you invite me to the repl? If not I'll make a repl to demonstrate, since I think it would be easier to do it in code rather than try to explain it in words. (The answer in short is "no, don't make a copy, by all means don't make a copy, but you don't have to modify it in place either", but I'd like to show what I mean.)

DynamicSquid (3641)

@fuzzyastrocat I guess you could invite me to a repl, that'd be fine

fuzzyastrocat (788)

@DynamicSquid Ah ok. I'll make a C++ repl to demonstrate, and I'll invite you.