Mech Demo

Here’s a new little testdemo. I wanted to test some different things for a possible game idea using Papervision3D.  Including:

* Animated mesh (poorly)
* Basic collision between objects
* Basic bullet-shooting with collision
* Smoke trails

The keys for the demo are:
Arrowkeys (or wasd) – to control the mech
Space      – Shoot 
Enter       – Switch camera

Hints:
If you get stuck in the collision you might have to release and press down the forward key again. I’m working on a fix for this problem.

Bug:
There’s supposed to be a smoke trail after each rocket you fire, I’m having troubles getting it to show though. On this computer (using IE6) the smoke shows up after refreshing once, don’t know how it works in other browsers really.

Click below to try!
http://hem.bredband.net/b483353/mech/App.swf

Advertisements

11 Responses to Mech Demo

  1. David R says:

    Regarding smoke: I get this error in firefox the first time i load your app:

    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at App/::fixSmoke()
    at App/::loop3D()

    And there’s no smoke. If I reload, then no error, and smoke works. Possibly, you are accessing smoke gfx or something, before they have finished loading.

    Otherwise, looks cool! I cant wait for a more advanced version with enemies to blow up and stuff!

  2. C4RL05 says:

    Amazing! Really look forward to this one!

  3. xero says:

    this is awesome!
    the first example of working PV3D hit detection!
    keep it up!

  4. Rafeo says:

    It looks really cool!
    How did you make the robot’s animation (yeah when it’s walking), did you imported the animation? Thanks.

  5. kay says:

    hi, its a very cool demo.
    could you explain me, how the collision detection between the objects work?!
    thx

  6. Maceo says:

    Hey… thats a very very cool demo….
    i also want to know how do you realize the collision detection! is it possible that you publish the soucre of the game or alternatively the piece of code from the detection??
    thx ahead

  7. capon says:

    Are these animations of the robot imported animations (from dae file) ? And if yes how did you control them ?

  8. kazper says:

    Im asking the same that kay, Maceo and capon xD

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: