Click here to Skip to main content
Click here to Skip to main content

Tagged as

Go to top

Space Jumper

, 18 Aug 2013
Rate this:
Please Sign up or sign in to vote.
Touch based endless running game on the Unity engine for the AIO(All-In-One) PC

Please note

This article is an entry in our AppInnovation Contest. Articles in this sub-section are not required to be full articles so care should be taken when voting.

Overview  

Space Jumper is a touch based endless running game targeted at the AIO(All-In-One) PC. The game will provide a fun and addictive experience using the multi-touch capabilities provided by the device.

Category : Games (All-In-One Platform)  

Design 

The spaceship model was created in blender. I created the tracks in the Unity engine 3.5 using the terrain editor.

 

   Spaceship model in blender  


 Unity Snapshot 

Currently the implementation is fairly simple - the spaceship will be moving at a constant speed, on the tracks, and the tracks will be generated on a random basis either on the left, middle or the right side of the screen. The user will use touch based hand gestures to navigate the the spaceship on the tracks as depicted by mock screens below : 

 

Gesture 1 - Left swipe  

 

Gesture 2 - Right swipe  

 

Gesture 2 - Vertical swipe 

Code 

I will be using Javascript for scripting purposes - the most popular way of writing Unity scripts.

For implementing touch support, I will be using a Input.Touches, a 3rd party helper library for Unity3 touch (and mouse) input. It currently supports single finger inputs as well as some special gestures for pinch and rotate. Currently, multi touch support is not present. 

The article will be updated with code snippets shortly.  

History 

  • 18th Aug 2013: Initial post 

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Pushkar Singh
Business Analyst , Cognizant Business Consulting
India India
Currently a hobbyist game developer on the Unity engine. Past experiences include game development on the XNA framework for Windows phone platforms as well as web development in CSS, javascript and jQuery.

Comments and Discussions

 
GeneralMy vote of 5 PinprofessionalDrABELL19-Aug-13 14:30 
Graphic design is impressive, hopefully code base will match the graphics. 5* and good luck with your project! Rgds, AB
GeneralRe: My vote of 5 PinprofessionalPushkar Singh19-Aug-13 20:48 
GeneralRe: My vote of 5 PinprofessionalDrABELL20-Aug-13 0:43 
AdminThanks! PinstaffKevin Priddle19-Aug-13 4:41 
GeneralRe: Thanks! PinprofessionalPushkar Singh19-Aug-13 20:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web04 | 2.8.140916.1 | Last Updated 18 Aug 2013
Article Copyright 2013 by Pushkar Singh
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid