Embed Game x

By embedding games on your website or application you are agreeing to the Construct.net Arcade Terms of Service.

Create Your Own Games Build and publish your own games just like Bennetts Virtual Zoo (3-D FPS Platformer Demo with Lasers) to this arcade with Construct 3! Share this game
Test, Experiments & Examples

Bennetts Virtual Zoo (3-D FPS Platformer Demo with Lasers)

E
151 players, 187 plays 0 playing now, 4 most ever online
2
0 favoris

Explore the WILD possibilities of 3-D collision in Construct 3 with this atmospheric vignette of an abstract zoo. Features include:

Multiple characters can move, jump, and collide with their environment in 3-D through clever use of the bullet behavior, solid collision tags, and an array of Z elevation values.

The "animals" have a "detailed" 3-D shape thanks to mesh distortion.

You can also shoot a laser that bounces off walls, floors, and ceilings. Because.

Rest assured, your laser is 100% non-toxic and will not harm the animals.

The included project file is cut down to be 90% free-edition friendly (I just used too many meshes) and fully commented to help you figure out the collision algorithm and hopefully implement something similar in your own games. Unfortunately, the laser and having multiple control schemes wouldn't fit in the free edition limits.

Enjoy!

UPDATE: I have just discovered a bug in my laser code that causes the aim to drift as you look farther up and down. To fix this bug, you need to go into the laser code and add in "*cos(lastRefPhi)" in the right places in the code to set the variables TargetX, TargetY, IntX, and IntY.

Instructions

The game will automatically swap control schemes between Keyboard, Gamepad, and Touch.

KEYBOARD

Move - WASD

Aim - Mouse

Jump - Spacebar

Laser - L Click

TOUCH

Move - L Stick

Aim - R Stick

Jump - R Button

Laser - L Button

Gamepad

Move - L Stick

Aim - R Stick

Jump - A Button

Laser - R Trigger

Version History

ID Date Size Engine Plays
2 17 Sep, 2022 at 02:38 553.71 KB Construct 3 134 Playing
1 24 Aug, 2022 at 00:34 526.63 KB Construct 3 52

Used Plugins

Used Behaviours

  • 5 Comments

  • Order by
Want to leave a comment? Login or Register an account!
  • Remarkable! Couldn't you also post the full project so that we can see the laser code? Or maybe just give a high-level description of how it works, if you prefer. Btw, I came here from Reilly's showcase video.

    • Okay, ask and ye shall receive! Updated, fully commented, with enough appendices to make the Silmarillion blush!

      • Thank you so much man! It'll help me a lot with my own game. I also want to implement a ray cast, though not visually as a laser and not necessarily with reflections. I just want the player to be able to select 3D objects while playing with a first-person camera, so I'll check the first thing the ray hits :)

    • Hey, thanks!

      I'm certainly open to the idea, but it'll take me a while to fully comment the laser system.

      For now, I'll just say thanks to FoozleCC for the overall algorithm and for pointing out that the Line of Sight behavior has a super-easy-to-use "Cast Ray" action that makes 2-D lasers practically plug-and-play.

Suggested Games