Jump to content

Metal Bullets FPS- Designed in Blender 3D, Played in Your Browser


Metalx1000
 Share

Recommended Posts

About a month ago I started working on a First Person Shooter using ThreeJS.

The main Goal is to make it easy to design a level/map/game in Blender 3D and have it fully functional in the browser without having the designer touch any of the code (although it is encuraged to look at, play, and help with the code).

 

After about 2 weeks of working on it, I through out everything I had and started over again with BabylonJS.
The game is coming along well and I thought it was about time I started sharing, and looking for help.

To be honest, my coding is a mess and I'm constantly re-writing things.  I really hope that people join in and help me with this project.

I definately need some help making the menus and Heads Up Display look nice (anyone good with CSS?),

as well as help with everything else.

 

Here is a little bit of the game play:



You can play the lastest version here (there might/will be bugs and glitches):
http://filmsbykris.com/scripts/metal_bullets

And you can get the code here:
https://github.com/metalx1000/metal_bullets/

You can catch me on freenode if you want to talk (I go by Metalx1000):
http://www.filmsbykris.com/irc.html 

post-8906-0-39976500-1401301087.png
post-8906-0-66697100-1401301164.png

Link to comment
Share on other sites

Props for choosing first-person shooters as a project! As a fellow indie dev working on an FPS of my own, I find it quite rare to meet people from the indie scene interested in this genre (development-wise).

 

Don't worry on the "messy code" part, it's all an iterative process, i.e. implement -> refactor -> implement -> and so on. As long as you take a look at the overall architecture from time to time you should be heading in the right direction.

 

I see you're doing OK with collisions, that's a subject I know haunted me for a long amount of time before ironing out all the bugs.

 

From taking a look at the network tab in Chrome dev tools, I notice you're loading all the individual assets separately. I would suggest (perhaps at a later point in development) to package them all in a zip file (via build scripts), download that and unpack it on the client-side to avoid the round-trips for each particular file. I can't tell you for sure if it reduces load time by a big margin, it's just the method I'm using.

 

One thing I see currently on the test site the explosions show up nicely in Firefox (29) but don't appear at all in Chrome (35, both on PC). It might be something you're already working on, just a small heads up.

 

Anyway, keep up the good work!

Link to comment
Share on other sites

timeinvariant,

Thanks for your input.  I'm mainly testing it in Firefox(Iceweasel) on Linux.  I did try it on a Windows 7 machine in Firefox the other day and I also experiacnce the lack of the sprite explosions.  I thought maybe the image didn't load properly and was cached that way and I didn't have time to look into it then.  I'm glad you were able to test it for me, and it's interesting that you didn't have the issue with Firefox and I did.  I don't remember what version of Firefox I was running, but I had just done an upgrade on it before testing, so it should have been the newest version.

I'll have to look into zipping the files up for download.  It's something I haven't looked into yet.

Thanks again for your input.

 

Link to comment
Share on other sites

I've added a lot the last few days.
SkyCube, Enemies that attack you.
Both heat seeking and regular missles for the enemies to attack you with (not modeled yet, just white spheres for now).

 

You can play the lastest version here (there might/will be bugs and glitches):
http://filmsbykris.com/scripts/metal_bullets

And you can get the code here:
https://github.com/metalx1000/metal_bullets/

You can catch me on freenode if you want to talk (I go by Metalx1000):
http://www.filmsbykris.com/irc.html 

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

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