The Daily Click ::. Forums ::. Klik Coding Help ::. F zero engine.
 

Post Reply  Post Oekaki 
 

Posted By Message

-MacAdaM-

Megaman Fosho

Registered
  12/02/2008
Points
  560
12th July, 2010 at 06:22:35 -

I wanted to try my hand at making a mode 7 / old school 3d game. (like F zero and mario kart for the SNES)
The problem is, I have no idea where to start. Ive tried searching the site and google for some sort of tutorial, but I cant get an working engine.
Do you think anyone can point me to a tutorial I was missing, or upload a small example?
Any help would be appreciated.

 
Your just jealous that you're not as awesome as me.
(And my megaman avatar )

Strife

Administrator
Der Dairy Crick

Registered
  21/11/2002
Points
  2305

VIP MemberGOTW AWARD! -Astro Dude - part 1 GOTM JULY - 2009 - 3RD PLACE!It's-a me, Mario!Has Donated, Thank You!I donated an open source project
12th July, 2010 at 08:52:01 -

I have an old kart racing engine that I could let you play around with. Unfortunately, I need to access it first and I'm missing two extensions:

kcfloop.cox
mode7ex.cox

If you can find these two extensions for me, I would appreciate it muchly. ^^;

 

-MacAdaM-

Megaman Fosho

Registered
  12/02/2008
Points
  560
12th July, 2010 at 09:06:01 -

http://www.mediafire.com/?tmzmjmlrnff
These extensions may or may not work, but its worth a try .
The mmf2 version of the extensions are in the zip folder. Hopefully you can open the file!

 
Your just jealous that you're not as awesome as me.
(And my megaman avatar )

Strife

Administrator
Der Dairy Crick

Registered
  21/11/2002
Points
  2305

VIP MemberGOTW AWARD! -Astro Dude - part 1 GOTM JULY - 2009 - 3RD PLACE!It's-a me, Mario!Has Donated, Thank You!I donated an open source project
12th July, 2010 at 10:04:28 -

I need the MMF 1.5 versions of these extensions, unfortunately. D:

 

Hayo

Stone Goose

Registered
  15/08/2002
Points
  6944

Game of the Week WinnerHas Donated, Thank You!VIP MemberGOTM 3RD PLACE! - APRIL 2009Weekly Picture Me This Round 27 Winner!Weekly Picture Me This Round 41 Winner!Weekly Picture Me This Round 45 Winner!
12th July, 2010 at 12:48:08 -

Do you mean the racing engine or the graphical engine?

For the graphical engine you could go with the mode7 object or one of the OpenGL objects floating around (just using one face without texture filter makes it look pretty modeseveny), in both cases you make a topdown engine and let the object make a projection of that on screen.

I find the real problem is making a convincing racing movement tho, I first tried it myself and then wore out three different coders and still got nothing nice enough.

 
www.hayovanreek.nl

-MacAdaM-

Megaman Fosho

Registered
  12/02/2008
Points
  560
12th July, 2010 at 20:28:47 -

The thing I am trying to get to work is just the graphical engine.
I have been trying to use the mode 7 object, but I cant seem to get it working for some reason. I've never tried OpenGL, do you think that would be any easier?
Im not too worried about the racing engine, after all, this is just a test to expand my knowledge. I doupt im going to make anything that nice.
But any examples or tutorials would be of great help.

 
Your just jealous that you're not as awesome as me.
(And my megaman avatar )

Hayo

Stone Goose

Registered
  15/08/2002
Points
  6944

Game of the Week WinnerHas Donated, Thank You!VIP MemberGOTM 3RD PLACE! - APRIL 2009Weekly Picture Me This Round 27 Winner!Weekly Picture Me This Round 41 Winner!Weekly Picture Me This Round 45 Winner!
12th July, 2010 at 21:00:32 -

I have a pretty good mode7 example (MMF2), pm me if you are interested.

 
www.hayovanreek.nl

-MacAdaM-

Megaman Fosho

Registered
  12/02/2008
Points
  560
13th July, 2010 at 19:08:07 -

Thank you hayo for your help.

I have a new problem though. Now that I have my mode 7 engine going, I would like to get a good racing engine down. I do want to make a game like F-Zero (Where its 'hovercars' the cars aren't on the ground) I am thinking to do this, I kinda need a mix between an asteriods movement, and a racecar movement. So the 'hovercar' still has some traction, but not a lot, and slides when turning.

Does anyone have any better ideas? or any idea where I should start with this movement engine?

 
Your just jealous that you're not as awesome as me.
(And my megaman avatar )

Hayo

Stone Goose

Registered
  15/08/2002
Points
  6944

Game of the Week WinnerHas Donated, Thank You!VIP MemberGOTM 3RD PLACE! - APRIL 2009Weekly Picture Me This Round 27 Winner!Weekly Picture Me This Round 41 Winner!Weekly Picture Me This Round 45 Winner!
13th July, 2010 at 19:58:32 -

That's where I got stuck. Especially the collision detection is hard.

 
www.hayovanreek.nl

-MacAdaM-

Megaman Fosho

Registered
  12/02/2008
Points
  560
13th July, 2010 at 20:23:50 -

If I made the entire engine, with collision detection and all. I just did not add mode 7 in (so It would be like a top down racing game). Then I went in and added mode 7 and an exact duplicate of the track, everything should still work in the mode7 world?
I don't know if this makes since, i'm horrible at explaining things.
It sounds like it should work in my head.

 
Your just jealous that you're not as awesome as me.
(And my megaman avatar )

Hayo

Stone Goose

Registered
  15/08/2002
Points
  6944

Game of the Week WinnerHas Donated, Thank You!VIP MemberGOTM 3RD PLACE! - APRIL 2009Weekly Picture Me This Round 27 Winner!Weekly Picture Me This Round 41 Winner!Weekly Picture Me This Round 45 Winner!
13th July, 2010 at 21:10:57 -

Yeah that would work, as long as you map the player objects and stuff in mode7.

 
www.hayovanreek.nl

-MacAdaM-

Megaman Fosho

Registered
  12/02/2008
Points
  560
13th July, 2010 at 21:19:36 -

Alright then, I think I am on the right track with making a decent engine! I now have a basic engine that allows drifting, acceleration, and some other things. The next thing I am going to do is add in the mode 7 object and some basic collision detection.
If I end up with anything decent would you like me to share it?

Do you think it would be possible to create a level editor for the mode 7 object? That way creating tracks and whatnot would be easier for all I have to do is draw out the sprites for the track, and just piece them together

 
Your just jealous that you're not as awesome as me.
(And my megaman avatar )

Hayo

Stone Goose

Registered
  15/08/2002
Points
  6944

Game of the Week WinnerHas Donated, Thank You!VIP MemberGOTM 3RD PLACE! - APRIL 2009Weekly Picture Me This Round 27 Winner!Weekly Picture Me This Round 41 Winner!Weekly Picture Me This Round 45 Winner!
13th July, 2010 at 21:48:17 -

I would love to see any result, decent or not

A level editor would be possible if you find a way to export the texture to use for mode7. This is way easier in OpenGL.

 
www.hayovanreek.nl

JustinC



Registered
  02/04/2006
Points
  1517

GOTM - MAY 2009 - 3RD PLACE!
22nd July, 2010 at 22:33:18 -

What about the extension you're making fishhead 3D with? Could that be used to do a kart racer?

 
Image

Hayo

Stone Goose

Registered
  15/08/2002
Points
  6944

Game of the Week WinnerHas Donated, Thank You!VIP MemberGOTM 3RD PLACE! - APRIL 2009Weekly Picture Me This Round 27 Winner!Weekly Picture Me This Round 41 Winner!Weekly Picture Me This Round 45 Winner!
22nd July, 2010 at 23:29:33 -

It would be perfect for that, but it's not done yet

 
www.hayovanreek.nl

JustinC



Registered
  02/04/2006
Points
  1517

GOTM - MAY 2009 - 3RD PLACE!
23rd July, 2010 at 00:35:11 -

Is there an eta on that extension? I'm wanting to get excited about it but every extension that has promised to do 3D type stuff has been a letdown. The raycasting extension released recently has potential, but it seems like every extension with potential never gets updated.

Extension Released > People try extension > People are underwhelmed and mention things that could be improved > No further updates to extension > Extension fades into obscurity

That goes for mode 7 - released like 8 years ago and the raycasting extension which was released 9 months ago.



 
Image

Hayo

Stone Goose

Registered
  15/08/2002
Points
  6944

Game of the Week WinnerHas Donated, Thank You!VIP MemberGOTM 3RD PLACE! - APRIL 2009Weekly Picture Me This Round 27 Winner!Weekly Picture Me This Round 41 Winner!Weekly Picture Me This Round 45 Winner!
23rd July, 2010 at 11:26:57 -

It is a bunch of extensions that work together, just like Irrlicht will be. Some are done, some are not.

 
www.hayovanreek.nl

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14456

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
23rd July, 2010 at 13:25:26 -

I started on a Kart racer years ago but the thing that killed off the project (pretty early on too) was mapping scaling 2d objects to a point on the track. That part went a little over my head.

 
.

Hayo

Stone Goose

Registered
  15/08/2002
Points
  6944

Game of the Week WinnerHas Donated, Thank You!VIP MemberGOTM 3RD PLACE! - APRIL 2009Weekly Picture Me This Round 27 Winner!Weekly Picture Me This Round 41 Winner!Weekly Picture Me This Round 45 Winner!
23rd July, 2010 at 15:03:46 -

I have my slaves for that

 
www.hayovanreek.nl

JustinC



Registered
  02/04/2006
Points
  1517

GOTM - MAY 2009 - 3RD PLACE!
23rd July, 2010 at 18:38:14 -


Originally Posted by AndyUK
I started on a Kart racer years ago but the thing that killed off the project (pretty early on too) was mapping scaling 2d objects to a point on the track. That part went a little over my head.



That's pretty much why I found that extension to be useless (and apparently most other people too considering how much I've seen mode 7 used in games). The thing that annoys me about that is that somebody spent time developing that extension but there was no effort to update it or get feedback from actual users. It seems like most click extensions are developed in a closed box with no attempt to see if actual Click users will be able to understand them or put them to use.

 
Image

Hayo

Stone Goose

Registered
  15/08/2002
Points
  6944

Game of the Week WinnerHas Donated, Thank You!VIP MemberGOTM 3RD PLACE! - APRIL 2009Weekly Picture Me This Round 27 Winner!Weekly Picture Me This Round 41 Winner!Weekly Picture Me This Round 45 Winner!
23rd July, 2010 at 18:47:48 -

The OpenGL bundle will have a sprite object which handles sprites in multiple directions and such.

 
www.hayovanreek.nl

-MacAdaM-

Megaman Fosho

Registered
  12/02/2008
Points
  560
23rd July, 2010 at 20:44:05 -

I've been messing with the mode 7 object, and it is harder than I thought.
I got a decent mode 7 engine, thanks to hayo! When i started with the movement, thats when it got hard. No matter what I try and make, it seems too choppy.
I finally got past that and am sort of happy with the movement engine, then came collisions...?

I don't understand this at all. I tried adding collisions with the 'real player' and the 'real track' and whatnot, but where the 'real player' is on the track, the 'mode 7' player is in a totally different position, thus making it a bit hard to add collision.


like JustinC said, they need to update it.

 
Your just jealous that you're not as awesome as me.
(And my megaman avatar )

Hayo

Stone Goose

Registered
  15/08/2002
Points
  6944

Game of the Week WinnerHas Donated, Thank You!VIP MemberGOTM 3RD PLACE! - APRIL 2009Weekly Picture Me This Round 27 Winner!Weekly Picture Me This Round 41 Winner!Weekly Picture Me This Round 45 Winner!
23rd July, 2010 at 21:05:48 -

You always have to look at the mode7 part, the whole on-screen part, as just a projection of a 2d topdown game. Once you do that everything gets easier.

 
www.hayovanreek.nl

Jenswa

Possibly Insane

Registered
  26/08/2002
Points
  2722
28th July, 2010 at 12:32:37 -

Can MMF plot pixels for a projection?

To get to the point MacAdam, it's just what Hayo said. It sounds like your projection is wrong since the 'mode 7 player' is not on the same spot as the 'real player'.

 
Image jenswa.neocities.org
   

Post Reply



 



Advertisement

Worth A Click