How do I make pseudo-3d racing game

Get help using Construct 2

Post » Sat Aug 15, 2015 2:18 pm

After finishing the racing game Monza in 1950, I would like to make a rally game.
I wonder if with Construct 2 is possible to create an old-school pseudo-3D racing game; I tried a bit but I need some ideas on how to make the game especially how to create the road, especially curves, placing objects, move the car, etc. :?:
Do any of you have any ideas / suggestions? Tutorial? Code examples to get started?

Place the link to the game to which I would like to inspire me:
http://codeincomplete.com/projects/racer/v4.final.html

this is that I did, (very little .....) :(
http://www.mediafire.com/download/vvmi5 ... acing.capx

Thanks Angiel
B
11
S
3
Posts: 44
Reputation: 844

Post » Mon Aug 17, 2015 12:10 am

The idea is possible, see here:
viewtopic.php?f=147&t=105874&p=786178&hilit=pseudo+3d#p786178

It has a link to a generic guide on how such a game works. No c2 example has been made yet, but it looks somewhat doable. Maybe by having a sprite per scanline or some variation of that.
B
92
S
32
G
107
Posts: 5,274
Reputation: 69,959

Post » Mon Aug 17, 2015 6:13 pm

Thanks for asking.
Unfortunately I had already read those posts and did not help me; the only available example is for Construct Classic , that I don't have. I would serve an example for Construct 2.
I have updated my example and I did the curves but i don't think is the right system. :(
this is that I did

http://www.mediafire.com/download/tde77 ... acing.capx

Think you it's okay ? Should I continue with this algorithm ? :?:
B
11
S
3
Posts: 44
Reputation: 844

Post » Mon Aug 17, 2015 6:36 pm

You could do it that way, it could be tedious though.
B
92
S
32
G
107
Posts: 5,274
Reputation: 69,959

Post » Mon Aug 17, 2015 9:02 pm

Here's a bit of experimentation with the idea. The main issue it has is the curving of the road isn't synchronized with the speed, so right now it kind of drifts.
https://dl.dropboxusercontent.com/u/542 ... _race.capx

It's requires a bit of math and fiddling with the formulas to tune it. That said it's not exactly simple and I haven't really scratched the surface of what that guide covers. At the very least this provides something to play around with.
B
92
S
32
G
107
Posts: 5,274
Reputation: 69,959

Post » Tue Aug 18, 2015 10:11 am

Thank you very much for all the work you've done, I have been very useful. :D
I finally, after so long, I have something to work on. Now I have to ensure that the road is not always remains at the center of the lower edge of the screen, when there are curves, but it moves further to the right most or left according to the curve. :shock:

Today I added some graphics (moving clouds, off-track, car, wheel movement) and controlling the car with arrow keys.
Image

I will attach the file with the changes.

http://www.mediafire.com/download/d2321 ... ace_1.capx

Here's the link to try the game (arrow keys to play):
https://googledrive.com/host/0B8o9MuLqt ... index.html
Last edited by Angiel on Tue Aug 25, 2015 5:28 am, edited 1 time in total.
B
11
S
3
Posts: 44
Reputation: 844

Post » Tue Aug 18, 2015 3:07 pm

Angiel is right - it's Pole Position, the old arcade game. Have a look at those sorts of games and see how they do "faux" 3D. Cheat :) It doesn't matter if it's real as long as it looks it
My tutorial through development blog is at http://myconstruct2dev.blogspot.co.uk/
B
12
S
3
Posts: 221
Reputation: 1,328

Post » Tue Aug 18, 2015 6:06 pm

I center the track with the baseDx variable, so maybe you could modify it somehow when turning.
B
92
S
32
G
107
Posts: 5,274
Reputation: 69,959

Post » Tue May 17, 2016 1:48 am

Excelent Job ! I was tryed for 3 years, but if you don't know a math of pseude 3d, then it's impossible, impossible to make!
B
8
S
2
Posts: 1
Reputation: 502

Post » Sun Jul 31, 2016 6:42 pm

You could always mess around with the mode 7 plugin.
Mode 7 was an effect the super nintendo had to render an image kind of like a pseudo 3d ground.

Image
B
3
Posts: 4
Reputation: 183

Next

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 15 guests