- Home /
Old school racer: can I do it in Unity?
Hello,
First of all, I'm sorry for the silly question but I'm not really a programmer. I can use Unity well in itself, and I use 2D Toolkit to make prototypes and stuff, but I recently was trying to make a small a racing game since I was fascinated by this tutorial: http://codeincomplete.com/posts/2012/6/23/javascript_racer_v1_straight/ (this is the first part)
it involves some javascript, which afaik is supported by Unity, but there are too many basic things that I'm missing: for example, this game is made for browsers so it also uses HTML code, and I'm not sure where that code who's in index.html would have to be put in Unity.
Basically, I'm trying to recreate this demo (I even downloaded the whole source) in Unity but I already hit a wall, as when imported "common.js" the console already gave me errors.
So, any help would be appreciated, I'm literally using all my free time on this.
The source code is here https://github.com/jakesgordon/javascript-racer/
Thank you.
Answer by Xumbu · May 20, 2014 at 10:43 PM
no you can't just copy and paste this source code...
unity works in a completely different way.
to create a game in unity you must be able to program. at least some basic stuff
@ Xumbu : yeah sorry, I did try importing the files just to see what kind of errors they gave, but I badly worded myself, it's not like I expected them to work through magic haha.
$$anonymous$$y question, mostly, is about what can I do to transfer that approach to make the game into Unity. Basically, what needs to be changed or, literally, any tip would be useful :).
I've been searching for anything useful on the asset store with no luck at the moment. You find frameworks for all things but nobody seems to be making those old school racing games nowadays, awww...
Right now my main problem is recreating the basic road system, I already made a test stripe but I am not able to go much further, sigh. :(
Your answer
Follow this Question
Related Questions
Incremental game need help 1 Answer
I need help with a script(brauche hilfe mit einen Script) 0 Answers
A node in a childnode? 1 Answer
How to add AI cars in car game. 2 Answers