my new JavaScript game

Discussion about everything. New games, 3d math, development tips...
Brainsaw
Posts: 1183
Joined: Wed Jan 07, 2004 12:57 pm
Location: Bavaria

my new JavaScript game

Post by Brainsaw »

Hi,

I haven't spent too much time to develop Irrlicht stuff recently because my attention was dragged into HTML5 canvas and JavaScript (sort of). I want to get a *real* game finished with the JavaScript port of Box2d, and I still need to do some work on it, but I though I'd share a first version. It can be played here:

http://www.bulletbyte.de/products.php?s ... ow=gravity

It's a simple game "inspired by Thrust" from the C-64. You control your spaceship with the cursor keys and activate the tractorbeam with space. The test level does also include a little "physical puzzle", but I think I'll add more (complex) of those when I'm done with the actual gameplay.

Currently the gaming does not end. The goal is to grab the green balls (let's call them "energy spheres") and drop them in the blue area right beside the starting point.

Hope you have fun with it.
Last edited by Brainsaw on Sun Jan 16, 2011 9:31 am, edited 2 times in total.
Dustbin::Games on the web: https://www.dustbin-online.de/

Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
kazymjir
Posts: 727
Joined: Sat Feb 20, 2010 4:05 pm
Location: Munich, Bayern

Post by kazymjir »

Ho ho!
I remember good old Thrust from C-64.
You must add joystick support to your game! :twisted:


btw, I also have no time for Irrlicht projects.
Must work as webdesigner/webdeveloper to make money, parents don't have work, so I, 18yo guy must pay most of bills :)
kazymjir
Posts: 727
Joined: Sat Feb 20, 2010 4:05 pm
Location: Munich, Bayern

Post by kazymjir »

Hi!

You made any progress with game?
I like it :)


Btw, you must check this:
http://www.elizium.nu/scripts/lemmings/
Brainsaw
Posts: 1183
Joined: Wed Jan 07, 2004 12:57 pm
Location: Bavaria

Post by Brainsaw »

Just some minor additions, e.g. the ship can now explode. I want to create some more levels and add an end to those levels as soon as I find time to do so.

Btw: that lemmings version is great. I loved the original, but I should stop playing now as I'm at work ;)
Dustbin::Games on the web: https://www.dustbin-online.de/

Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
kazymjir
Posts: 727
Joined: Sat Feb 20, 2010 4:05 pm
Location: Munich, Bayern

Post by kazymjir »

Nice. I really liked this game on C-64 ( I propably can have it even somewhere on tape ). I am waiting for more additions :)

Yes, that lemmings version is great. Looks exactly same like version from Amiga. And same addictive, like version from Amiga :twisted:
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post by bitplane »

Cursor keys don't appear to do anything on Chromium in Linux
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
Armen138
Posts: 298
Joined: Mon Feb 23, 2004 3:38 am

Post by Armen138 »

bitplane wrote:Cursor keys don't appear to do anything on Chromium in Linux
works for me though!

Chromium 8.0.552.224 (0)

Linux dusk 2.6.36-ARCH #1 SMP PREEMPT Fri Dec 10 20:01:53 UTC 2010 i686 AMD Phenom(tm) 9500 Quad-Core Processor AuthenticAMD GNU/Linux
if you're looking for me, start looking on irc, i'm probably there.
Brainsaw
Posts: 1183
Joined: Wed Jan 07, 2004 12:57 pm
Location: Bavaria

Post by Brainsaw »

OK, now I released the game "officially". It can be found under http://en.wikipedia.org/wiki/Thrust_%28video_game%29. After you played a level and use the button that's shown under the game screen you can even enter the hiscore table of the game. Have fun with it.

Oh ... I didn't find any solution for the "Cursor keys don't work" issue. Sorry.
Dustbin::Games on the web: https://www.dustbin-online.de/

Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
kazymjir
Posts: 727
Joined: Sat Feb 20, 2010 4:05 pm
Location: Munich, Bayern

Post by kazymjir »

Yeah!

I love it.

Good job, Brainsaw!
serengeor
Posts: 1712
Joined: Tue Jan 13, 2009 7:34 pm
Location: Lithuania

Post by serengeor »

You should fix the link given in the first post since it points to ?non existant page?

Code: Select all

Multiple Choices

The document name you requested (/jsbox2d/JSGravity.html) could not be found on this server. However, we found documents with names similar to the one you requested.
Available documents:

/jsbox2d/JSGravity.php (common basename)
Please consider informing the owner of the referring page about the broken link.
the correct link, as I found out, is: http://bulletbyte.de/jsbox2d/

Also, is there any way to restart level without having to reload page, my spaceship sometimes got stuck when flipped on side on the ground.
Working on game: Marrbles (Currently stopped).
Brainsaw
Posts: 1183
Joined: Wed Jan 07, 2004 12:57 pm
Location: Bavaria

Post by Brainsaw »

OK, updated the link in the initial post.

I also added a button to the game where you can restart the level, and you can blow up the ship with the "ESC" key if you get stuck. Might be the better choice if you (almost) finished the level.

More levels to come ;)
Dustbin::Games on the web: https://www.dustbin-online.de/

Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
serengeor
Posts: 1712
Joined: Tue Jan 13, 2009 7:34 pm
Location: Lithuania

Post by serengeor »

Heh I beated your record at 2nd level, this game is fun 8)

*Goes back to coding :( *
Working on game: Marrbles (Currently stopped).
Brainsaw
Posts: 1183
Joined: Wed Jan 07, 2004 12:57 pm
Location: Bavaria

Post by Brainsaw »

Yea, I've seen that. Played the level like 4 or 5 times right afterwards, just to get back to top ;)
Dustbin::Games on the web: https://www.dustbin-online.de/

Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
Brainsaw
Posts: 1183
Joined: Wed Jan 07, 2004 12:57 pm
Location: Bavaria

Post by Brainsaw »

I added 2 more levels yesterday. One is a bit annoying, not much space to fly, the other one is just a small training level. Waiting for hiscores for these levels ;)
Dustbin::Games on the web: https://www.dustbin-online.de/

Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
kazymjir
Posts: 727
Joined: Sat Feb 20, 2010 4:05 pm
Location: Munich, Bayern

Post by kazymjir »

Nice 8)

I am so sad that i don't have any working joysticks.
Today I found nice plugin for web browsers that allow to use joystick through javascript level.

Imagine this game on analog joystick... beutiful :cry:
Post Reply