3D/2D Side-Scroller Motorcycle Template

Project was updated for Unity 5 (05/06/2015)

This is a side-scroller style motorcycle template where you need to do backward/forward flips to get scores and reach finish to win.

Check web player here: http://dl.dropbox.com/u/7197062/Side-Scroller Motorcycle/index.html

Works on every Unity platform (IOS, Android, Web, Windows, Mac, etc.) and supports joysticks too.
Everything is commented in scripts to make it understandable and easy to add new abilities

It is lightweight and fast, on mobile (samsung galaxy W i8150) it runs at 40 fps.

Check gameplay video (old)

Unity Asset Store Link:
https://www.assetstore.unity3d.com/en/#!/content/7770

Release Notes:

Version 1.2
Updated for Unity 5
Added checkpoint ability
Smoother motorcycle movement
Smoother ragdoll
Contains only C# scripts, javascript files were removed to avoid misleading problems.

Version 1.1
Implemented motorcycle left/right tilt with accelerometer

I bought it from activeden

Will you sell this on the unity asset store? much easier for updates, etc…

Here is asset store link, they put it now

thanks

Any chance for a checkpoint system?

It will be easy to implement on your own.
You can create static variable(static variables doesn’t change when level is loaded) for position and trigger for checkpoint. When motorcycle enters in that trigger save position and after restart give motorcycle that position.

I posted a comment on youtube but since you are online here , just have basic question does this work with Gyroscope. I am interested in movement of left to right using the gyroscope.

I answered on youtube too.
Tilting using accelerometer isn’t implemented in that package, but I already wrote it for client.
I want to implement checkpoint system too and after that I’ll update the package on asset store, but that will take 10-15 days, last time they took 10 days to approve the package.
If you wish, buy it and I’ll send you changed script.

Hi,

What’s the frame rate in an iPhone 4 or an iPhone 3GS?

Cheers,
Alex

Hi,
I haven’t tested it on iPhone 4 or 3GS, but on samsung galaxy W i8150 (1.4 GHz Scorpion processor, Adreno 205 GPU) it runs at 40 fps.

Thanks.

can you please suggest how can I steer bike left or right?

This is 2D style, not designed for steering.

As soon as you put in a checkpoint system, I’ll buy it. Also how easy is it to make the bike bounce more, and make the bikes feel heavier? Where it takes a half second longer to do wheelies and simply bounces more on hard landings.

To make it feel more heavier you can manipulate speed, wheelie and rotation speed values.
For example heavier will have less “in air” rotation speed.
Bounciness depends on unity’s configurable joint settings, it isn’t manipulated with scripting.

Seems I won’t have time in near feature to implement checkpoint system.

Was wondering if you had implemented checkpoint system yet?

No, there isn’t checkpoint system implemented

Hey totally interested in this but got few questions 1st.

  1. How easy will it be to skin 2D rider (black version) with sprites. It seems its still 3d asests with ortho side view.
  2. Any customization of physics params exposed in inspector.

Thanks

Yes, this is 3D project from side view, so it isn’t designed to work with unity’s 2D features. The character is ragdoll, 3D rigged model.
Motorcycle physics are using unity’s native configurable joints.

Thanks.

Why will it not move, i set the InputManager… it just sits there.