"Racing game using pseudo 3D canvas"... How to make a pseudo 3D racing game?

flavioarruda

  • Posts: 28
Hello guys

Wow!
http://community.stencyl.com/index.php/topic,51883.15.html    that´s very cool man!

Very bealtifull effect!
That´s perfect to cutscenes tittles or game tittle etc...

I will try to modify to roads now...

Thank you very much...

Soon I will to talk about it with you, tell my results  :D

flavioarruda

  • Posts: 28
Hi, Squeeb...

Sledding. stencyl file and Bezier Curves extension are awesome!

I think that will be very usefull.

Thanks.

squeeb

  • Posts: 1534
Awesome!  Have you made any progress?

NerdinaNutshell

  • *
  • Posts: 192
Yeah I'm trying to make a 3D extension.
There is no racing game in the pipeline. And you have to wait before Stencyl 3.5 becomes final if you want to work with the extension.

Ahh it'll be like the late 1990s all over again!
Plot Twist... I'm a ghost



flavioarruda

  • Posts: 28
Hi Squeeb...

After this long time (I was very busy with my job, my stencyl projects are stopped).

But sometimes I've been looking for something about pseudo 3D and found very interesting examples, some of these examples contain tutorials including files in links.

Please read and watch!

Godot - Pseudo 3D race:
https://www.youtube.com/watch?v=SCnnCl47dVM
-----------------------------------------------------------------------------------------------------------------------------------------------------------
Game Maker: Racing game  Pseudo 3D - Part1
https://www.youtube.com/watch?v=AC4P11dhKQI

Game Maker: Racing game  Pseudo 3D - Part2
https://www.youtube.com/watch?v=auKp1IanpMA
------------------------------------------------------------------------------------------------------------------------------------------------------------
Code-It-Yourself! Retro Arcade Racing Game - Programming from Scratch (Quick and Simple C++)
https://www.youtube.com/watch?v=KkMZI5Jbf18
----------------------------------------------------------------------------------------------------------------------------------------------------------
Visual Studio- Let's make 16 games in C++: Outrun (Pseudo 3d racing)
https://www.youtube.com/watch?v=N60lBZDEwJ8
You can also to download this kit from video description...
------------------------------------------------------------------------------------------------------------------------------------------------------------
Construct 2 - Top Gear Style:
File from Anna Nehves
https://drive.google.com/file/d/12ucclfK97LzAiWe_-z8uW_dHL7xOLRmS/view

Tutorial from her in these videos...
Part1
https://www.youtube.com/watch?v=FkqfdlMxBqg&list=PLO4tF5zKmrts1aVi0M__p-hfyOqUbrC6g&index=39
Part2
https://www.youtube.com/watch?v=va012r_tBbI&list=PLO4tF5zKmrts1aVi0M__p-hfyOqUbrC6g&index=38
Part3
https://www.youtube.com/watch?v=0uivBga2PD0&list=PLO4tF5zKmrts1aVi0M__p-hfyOqUbrC6g&index=37
Part4 (final)
https://www.youtube.com/watch?v=toCll430UzQ&list=PLO4tF5zKmrts1aVi0M__p-hfyOqUbrC6g&index=36
---------------------------------------------------------------------------------------------------------------------------------------------------------------

This awesome and complete game (awesome competitive cars) :
Max Downforce pseudo 3d racing game W.I.P. 2019-06-15 from Robbert Prins http://www.foppygames.nl/...

"Max Downforce is a formula one racing game under development. The goal of the game is to finish each of a number of laps before a timer reaches zero."
Tools used: Lua and LÖVE (Love2d); Notepad++ ; Paint dot net; Audacity; TortoiseGit and GitHub
Video Demo: https://www.youtube.com/watch?v=OlIsZsH5V_I
File: https://github.com/Foppygames/max-downforce
-----------------------------------------------------------------------------------------------------------------------------------------------------------
And this last one is the best for me, it is more complete, just because it contains: Intro level, Mode Select, straight and curved roads, up and down, S-shaped curves, awesome opponents etc...

Grand Prix from Robbert Prins http://www.foppygames.nl/...
Video Demo:  https://www.youtube.com/watch?v=SkSkXLZLu6I
File Link:  https://gamejolt.com/games/grand_prix/16880
Tools used: BlitzMax

Grand Prix is a racing game inspired by Pole Position and other racing games from the previous century. In Grand Prix, the ultimate goal is to try and complete 8 laps, winning the gold cup. This is quite a challenge, with the clock ticking down and opponent cars getting in the way. The car is controlled using the arrow keys. The music in this game is by coda (http://coda.s3m.us). Source code (Blitz Max) is included.


PS .: I was able to reproduce some things like creating straight and curved animated roads. Trying to do reverse engineering... Like this:




« Last Edit: September 08, 2019, 09:27:10 am by flavioarruda »

squeeb

  • Posts: 1534
Wow!  Great job.  Any chance you'll share a stencyl project with a prototype?  :)

flavioarruda

  • Posts: 28
Maybe,

But I need support, somebody help me... sugestions from a stencyl group

We can make a group to make this "reverse engineering", there are similar features between Stencyl and these other game engines (including IDE).

I cant understand some features from those programs... The problem is logically assembling everything to make it work inside stencyl. :'(

Look the image below.

Each line (wich hight is 1 pixel) is a actor because it is possible to determine the object center (x center, y center), but on those game examples and tutorials, the road is a group of lines or rectangles (draw blocks) that can move through coordinates.

I try to do like this but something goes wrong. If I use an actor for the road lines curves works fine but something goes right on the last test, look second and third images below... the road (momentarily for the test) moves and make curves following mousepad position. Do you got it?

View scene, window, camera... is 480x320.

1600 pixels is the hight scene, hight level (road size), if the player and opponents ends the road (0 y coordenate) loop the actors positions to the bottom position secne, because field of view is a visual illusion (it is just blocks working tweening-scale-grow actor and drawing-widht rectangles in Stencyl). Actually the road lines are vertically stopped in the scene only cars are run to the top of scene. If loops positions 3 or 5 times (laps) the race is done!

Thats it for now!

« Last Edit: September 08, 2019, 12:35:15 pm by flavioarruda »


flavioarruda

  • Posts: 28


squeeb

  • Posts: 1534
Lemme know what you need help with or if you have a stencyl  file started that we can work together on