Racing Game Problem
thegamer111
Member Posts: 23
in Tech Support
Hi Everyone, I am new to here and I am having a huge problem trying to get this game to be good. I am making a Racing game which is 3D Looking but 2D, I don't know how to make the background image move around and I am trying to make it basically a map that the car can drive on. I have the car done with the steering wheel which moves with the car. I just don't know how to make the background map to move as the car drives along it. Please Help! I am finding it hard to load up a screen shot as so you can see what the game looks like so far. It is a Macbook Fullscreen Game.
Comments
http://www.jamie-cross.net/?portfolio=gamesalad-recipe-005-making-your-platform-game-level-scroll-camera-scrolling
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
http://www.deepblueapps.com/3d-runner-template/
http://www.deepblueapps.com/3d-fall-down-gs/
http://www.deepblueapps.com/jayleetemplates/
Darren.
An object approaching from a distance at a linear rate (ie: not accelerating or decelerating) would appear to grow exponentially - in 3D Fall the objects approaching appear to slow down as they get closer (I suspect because you are using a linear rate of growth) when in the real world they would appear to speed up as they approached (from the point of view of the observer), I posted a couple of examples of what I mean in this thread . . . .
http://forums.gamesalad.com/discussion/comment/423696/#Comment_423696
Also I think having the ground rotate at the same rate as the approaching platforms would help sell the illusion of movement (parallax doesn't effect rotation).
The biggest problem is collision detection, when ever you constrain an actors size or interpolate its size they no longer register correctly. If i remember correctly the work around for this one was to spawn another actor when its size reached a certain point.
All good fun
Darren.
This is the sort of game I am making but with only one car and one map at the moment, Eventually I will make more.
This picture is the sort of game I want to make:
http://pic.leech.it/images/51e3b0018xwlka.jpg
Outrun is amazing i still remember the day i got it for my master system and spent days on it.
Darren.
How is that done? What kind of images to i need to make the car run smoothly on the track. Firstly I will make a simple straight line drag strip and see how that runs and then I will go onto making a complete circuit. What kind of code sequence would I need to do to make the map move forward with the car. It will need to accelerate not in one speed but a to the car's actual performance (Acceleration, Braking and steering). I would like the car to pick up speed as the key is held down not just the car starts and stops at the same speed.
I think you would probably be best off working your way through the GameSalad CookBook first, this will give you a good idea of what's possible with GameSalad and what kinds of apps GameSalad is best suited to . . .
I don't think a racing game like Outrun is beyond GameSalad, but with GameSalad not being a 3D engine you'd need a lot of clever workarounds and tricks to pull it off - in addition to needing to make a few compromises. If making a 3D map/environment were a simple matter of someone replying with the relevant 'code sequence' I think we'd be inundated with GameSalad 3D racing games like I say GameSalad is not a 3D engine so getting this to work might be a lot of hard work.
From the reference you've shown, and the details your giving you obviously seem to want a driving game with a 3D visual style. Gamesalad is a 2D engine... So any kind of 3D is going to have to be faked... And linking and updating your faked 3D to gameplay is going to be a hefty task in any 2D environment. Surely the logical advice would be to use a 3D engine for your 3D game.... You'll achieve better 3D results..
You stated you use Unity... So why the heck aren't you trying to build the game using that, instead of trying to pull it off with an engine that isn't really built for the kind of game your wanting.
You seem to be approaching it a bit backwards. This is definately a case of not using the right tool for the job... Especially if you are already familiar with a 3D engine.
-With The Multiple Images, To test this I will use GTR EVO and take lots of screenshots of a long straight line, I will try and put them as 'Individual Frames'. By doing that is the game going to run smooth or is it going to micro-stutter as the frames change. After that works and I am happy, I will make my own map and take heaps of screenshots of that and try the same thing as before.
-Chunkypixels, I really love unity and I make racing games on it all the time and I have almost finished my next game, BUT I can't use it for this assignment as everyone has to use the same game software because my teacher said it would give me the advantage so I have to use Gamesalad, I am going to this extreme because I really like getting high marks for this kind of stuff because this is what I like to do.
I found this post on how to create an Outrun style game in HTML5 Canvas and Javascript. I know you can't script in GameSalad but you might find some of the formulas and suggestions on how certain 3D elements are faked. I haven't read it myself, and it does only cover straights in the tutorial but you could probably find other sites with more tutorials/guides.
http://codeincomplete.com/posts/2012/6/23/javascript_racer_v1_straight/
The above blog post links to another site with instructions on how to do other bits like turnings.
http://www.extentofthejam.com/pseudo/#basics
Your trying to do something with the engine that it's not really built for... So hopefully that will be taken into account by your tutor.
-Now, Currently I am taking screenshots from a GTR race track (Anderstorp 07's flight straight) And I don't know how much space I need between each screen shot Help?
-I am only using GTR tracks to start me off, Then I will make my own as I should of said Earlier. I don't want to break copyright!
And the coding is for another scripting language, not for GameSalad, but it might contain something you can salvage for your game.