Author Topic: Racing game (revived)  (Read 14436 times)

0 Members and 1 Guest are viewing this topic.

Offline ben_g

  • Hey cool I can set a custom title now :)
  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +125/-4
  • Asm noob
    • View Profile
    • Our programmer's team: GameCommandoSquad
Racing game (revived)
« on: June 15, 2012, 07:16:44 pm »
WARNING: THIS POST IS OUTDATED!

This is the project I've been working on since the start of the contest. I haven't done much yet because I'm busy with exams lately.

It is going to be a racing game in which you race against AI, and there will be some items you can use to go faster or to slow down other players (similar to mario kart).
It uses the 3D engine of my other game (Alien invasion), but this one is improved and supports textures, solid triangles and wireframe, instead of only textures.
This is what I have so far:

This is the track, which already works graphics-wise, but it hasn't got any collision checking yet. The track is fully wireframe (and will probably stay like that). The track is fully 3 dimensional, which means it can go left, right, up and down, but models for up and down haven't been created yet. The cube in the center of the screen is the placeholder for the car. The car will probably be mostly wireframe, to fit in the simulation-like theme of the track (of which the current name, 'cyber racer', comes).

Right now the graphics are quite bad, but I might add some models to the sides of the track as illustrations, if the speed will allow it when AI and items are added). Right now, it runs in 15MHz mode, and has 18 fps. But it still looks smooth.

I guess that's all I can say about it now.
For this project I can't include the source because of the rules of the contest. If you want to use the 3D engine in your own project, I can give you the engine of my previous project.
« Last Edit: January 16, 2014, 03:13:10 pm by ben_g »
My projects
 - The Lost Survivors (Unreal Engine) ACTIVE [GameCommandoSquad main project]
 - Oxo, with single-calc multiplayer and AI (axe) RELEASED (screenshot) (topic)
 - An android version of oxo (java)  ACTIVE
 - A 3D collision detection library (axe) RELEASED! (topic)(screenshot)(more recent screenshot)(screenshot of it being used in a tilemapper)
Spoiler For inactive:
- A first person shooter with a polygon-based 3d engine. (z80, will probably be recoded in axe using GLib) ON HOLD (screenshot)
 - A java MORPG. (pc) DEEP COMA(read more)(screenshot)
 - a minecraft game in axe DEAD (source code available)
 - a 3D racing game (axe) ON HOLD (outdated screenshot of asm version)

This signature was last updated on 20/04/2015 and may be outdated

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: [contest] Racing game
« Reply #1 on: June 16, 2012, 07:41:43 am »
Looks pretty interesting. I'm looking forward to seeing it once the graphics have matured a bit more. ;)

Offline parserp

  • Hero Extraordinaire
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1455
  • Rating: +88/-7
  • The King Has Returned
    • View Profile
Re: [contest] Racing game
« Reply #2 on: June 16, 2012, 09:59:31 am »
A 3d racing game that will be finished? O.O
* parserp pokes calc84

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: [contest] Racing game
« Reply #3 on: June 16, 2012, 10:09:45 am »
Wait, wha- You can't include the source in your entry? You sure can and afaik it's even required.
I'm not a nerd but I pretend:

Offline lkj

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +58/-1
    • View Profile
Re: [contest] Racing game
« Reply #4 on: June 16, 2012, 10:34:31 am »
I think he wanted to say he can't post the source right now because of the contest rules.

Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: [contest] Racing game
« Reply #5 on: June 16, 2012, 10:59:55 am »
looks good, but what's that polygon that has a different perspective than the rest of the image? the one that is starts at the same width as the track in the middle of the image, and gets wider to the top

Offline MGOS

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +95/-0
    • View Profile
Re: [contest] Racing game
« Reply #6 on: June 16, 2012, 11:14:58 am »
looks good, but what's that polygon that has a different perspective than the rest of the image? the one that is starts at the same width as the track in the middle of the image, and gets wider to the top
I think that is the bridge with the checkered start/finish flag thingy.

Offline ben_g

  • Hey cool I can set a custom title now :)
  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +125/-4
  • Asm noob
    • View Profile
    • Our programmer's team: GameCommandoSquad
Re: [contest] Racing game
« Reply #7 on: June 16, 2012, 03:11:59 pm »
Wait, wha- You can't include the source in your entry? You sure can and afaik it's even required.
I mean right now. At the end of the contest I'll have to include the source, and if the 3D engine works well enough and maybe becomes a bit more user-friendly, I might even include a tutorial on how you can use it in an other project.

looks good, but what's that polygon that has a different perspective than the rest of the image? the one that is starts at the same width as the track in the middle of the image, and gets wider to the top
That's the start/finish. It has a different perspective than the track because it's vertical. It gets wider because the top is closer to the camera. But I might have to add a texture to it to make it easyer to recognise.
« Last Edit: June 16, 2012, 03:13:43 pm by ben_g »
My projects
 - The Lost Survivors (Unreal Engine) ACTIVE [GameCommandoSquad main project]
 - Oxo, with single-calc multiplayer and AI (axe) RELEASED (screenshot) (topic)
 - An android version of oxo (java)  ACTIVE
 - A 3D collision detection library (axe) RELEASED! (topic)(screenshot)(more recent screenshot)(screenshot of it being used in a tilemapper)
Spoiler For inactive:
- A first person shooter with a polygon-based 3d engine. (z80, will probably be recoded in axe using GLib) ON HOLD (screenshot)
 - A java MORPG. (pc) DEEP COMA(read more)(screenshot)
 - a minecraft game in axe DEAD (source code available)
 - a 3D racing game (axe) ON HOLD (outdated screenshot of asm version)

This signature was last updated on 20/04/2015 and may be outdated

Offline ben_g

  • Hey cool I can set a custom title now :)
  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +125/-4
  • Asm noob
    • View Profile
    • Our programmer's team: GameCommandoSquad
Re: [contest] Racing game
« Reply #8 on: June 21, 2012, 03:07:05 pm »
I finished the routines that make the rendered area of the track shift when you move. Here's a screenshot showing that in action:

EDIT: as you can see from the screenshot, I still have to code in the part that renders the segment behind the car.
« Last Edit: June 21, 2012, 03:09:48 pm by ben_g »
My projects
 - The Lost Survivors (Unreal Engine) ACTIVE [GameCommandoSquad main project]
 - Oxo, with single-calc multiplayer and AI (axe) RELEASED (screenshot) (topic)
 - An android version of oxo (java)  ACTIVE
 - A 3D collision detection library (axe) RELEASED! (topic)(screenshot)(more recent screenshot)(screenshot of it being used in a tilemapper)
Spoiler For inactive:
- A first person shooter with a polygon-based 3d engine. (z80, will probably be recoded in axe using GLib) ON HOLD (screenshot)
 - A java MORPG. (pc) DEEP COMA(read more)(screenshot)
 - a minecraft game in axe DEAD (source code available)
 - a 3D racing game (axe) ON HOLD (outdated screenshot of asm version)

This signature was last updated on 20/04/2015 and may be outdated

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: [contest] Racing game
« Reply #9 on: June 21, 2012, 03:08:21 pm »
WOOOO. I'm impressed O.O
I'm not a nerd but I pretend:

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: [contest] Racing game
« Reply #10 on: June 21, 2012, 03:09:36 pm »
I'd love to see this with textures! Nice job!
If you like my work: why not give me an internet?








Offline ben_g

  • Hey cool I can set a custom title now :)
  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +125/-4
  • Asm noob
    • View Profile
    • Our programmer's team: GameCommandoSquad
Re: [contest] Racing game
« Reply #11 on: June 21, 2012, 03:13:31 pm »
The track will keep being wireframe. Texturing all of that would be way to slow, so I'm only going to use textures for objects (item boxes, turbos, decorative items next to the track) and for a part of the car, so you can easily see which one is yours when the ai comes in.

I'm sorry, but a fully textured 3D track isn't within possibilities of my 3D engine. It could handle it, but with probably around 5fps. Even with a lot of optimisation, you can't make it fast enough.
« Last Edit: June 21, 2012, 03:20:05 pm by ben_g »
My projects
 - The Lost Survivors (Unreal Engine) ACTIVE [GameCommandoSquad main project]
 - Oxo, with single-calc multiplayer and AI (axe) RELEASED (screenshot) (topic)
 - An android version of oxo (java)  ACTIVE
 - A 3D collision detection library (axe) RELEASED! (topic)(screenshot)(more recent screenshot)(screenshot of it being used in a tilemapper)
Spoiler For inactive:
- A first person shooter with a polygon-based 3d engine. (z80, will probably be recoded in axe using GLib) ON HOLD (screenshot)
 - A java MORPG. (pc) DEEP COMA(read more)(screenshot)
 - a minecraft game in axe DEAD (source code available)
 - a 3D racing game (axe) ON HOLD (outdated screenshot of asm version)

This signature was last updated on 20/04/2015 and may be outdated

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: [contest] Racing game
« Reply #12 on: June 21, 2012, 04:35:08 pm »
Wow this is nice, this reminds me of Glasscars. You should make the car masked, though.

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: [contest] Racing game
« Reply #13 on: June 22, 2012, 04:38:13 am »
I said that to ben_g on IRC yesterday and he said he will probably make the car just a sprite since the camera angle is fixed.
I'm not a nerd but I pretend:

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: [contest] Racing game
« Reply #14 on: June 22, 2012, 09:46:49 am »
Ah ok, I guess it might be better.

Also now that I think about it, wouldn't it be better to move the car closer to the bottom of the screen and move the horizon down, so we can see further ahead?