• Register
Forum Thread
  Posts  
Rex Engine: A Classic 2D Game Engine For unity (Forums : Pimpage & Posing : Rex Engine: A Classic 2D Game Engine For unity) Locked
Thread Options
Jul 24 2017 Anchor

I made a 2D game engine for Unity!

I've never liked Unity's Rigidbody physics for platformers, since they tend to be floaty and imprecise, and the game feel just isn't there. So I built my own physics engine specifically for 2D platformers, which focuses on replicating the game feel of classic 8-and-16-bit games. This includes stuff like sloping terrain, which I always hated trying to wrangle with Rigidbodies, and reverse gravity, because i'm a huge sucker for games like VVVVVV.


Building Mega Man in Rex Engine

I also baked in a bunch of classic game mechanics, so you can add them to your player or to enemies directly from the menu, without having to code them. You can make characters move, jump, attack, climb, dash, wall cling, swim, crouch, and a bunch more, and you can tweak all the values directly from the Inspector to make them feel unique. I tried to make it as flexible as possible while also keeping it easy to use; I figure these classic mechanics are all sort of foundational to sidescrollers, so having them all in one place like this stops you from having to reinvent the wheel every time you make a new game. The whole thing is open-source, so if the Inspector doesn't have the values you need, the source code is easy to modify.

Bouncing in Rex Engine


You can find it here: U3d.as

And the homepage is here: Skytyrannosaur.com


I'm looking to add new features and abilities consistently, so any ideas are welcome!


Reply to thread
click to sign in and post

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.