The Daily Click ::. Forums ::. Klik Coding Help ::. Mario Kart 64-like map
 

Post Reply  Post Oekaki 
 

Posted By Message

Bartman



Registered
  03/01/2002
Points
  50

VIP Member
26th January, 2004 at 17:53:27 -

Yeah, yall probably hardly remember me, but in case you do: Hello.

Anyway, I was wondering if anyone knew how to make a map that goes in the corner of the screen and acts as sort of a radar that shows where the characters are on the map.

 
- Bartman

Tiri



Registered
  16/01/2004
Points
  78
26th January, 2004 at 19:00:19 -

you can get a extension for that from Tigerworks site here http://tigerworks.co.uk/

 
n/a

Bartman



Registered
  03/01/2002
Points
  50

VIP Member
26th January, 2004 at 19:28:44 -

Is there a way to do it in The Games Factory/Click and Create?

I mean, this will work, but it'll just take longer to make.

 
- Bartman

Kirby Smith

Resident Slacker

Registered
  18/05/2003
Points
  479

VIP Member360 OwnerWii OwnerThe Cake is a Lie
26th January, 2004 at 23:18:49 -

I can't think of the exact events to do this off the top of my head, but here's the basic idea. You want to have a central white dot or something to represent the player on your mini-map (which can be just a black square set to the top layer w/0 scrolling). Then, say green dots for the enemies (or whatever). In order to place them in the right spot, you basically find the x and y positions of the enemies relative to the player, then divide that distance by a factor of 20 or so (whatever you need to -- play with this number). Then, display the green dots at whatever that value is away from the white dot. Set their positions each time MMF loops (use a fastloop to determine how many green radar dots you'll need and which one partains to which enemy. Finally, have an event that basically just says that if the dot is outside the boundries of the radar, make it invisible.

 
XBL Gamertag: Rampant Mjolnir

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
27th January, 2004 at 03:53:33 -

Tigerworks also has a seperate tutorial on his site that doesn't use that extension doesn't he?

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy

cake



Registered
  13/12/2002
Points
  1173
27th January, 2004 at 05:43:53 -

Just set the X and Y positions of your 'minimap' representative of the player to the division of the X and Y positions of the actual player and the shrink ratio of the minimap.

So if you minimap's dimensions are 1/10th the size of the actual map, then you would have:
Set X of minimapPlayer to (X of actualPlayer/10)
Set Y of minimapPlayer to (Y of actualPlayer/10)

 
n/a

Bartman



Registered
  03/01/2002
Points
  50

VIP Member
27th January, 2004 at 16:06:50 -

I think I get the idea here, Biax.

Should the dot follow the playfield?

Also, do I need to have the dot set to some position on the map?

Oh yeah, do I need fastloop?

Also, I didnt see a tutorial on that website on it.

Image Edited by the Author.

 
- Bartman

Bartman



Registered
  03/01/2002
Points
  50

VIP Member
27th January, 2004 at 21:48:17 -

Okay, I found the dot, it sets itself to the top left of the frame, and Follow the Playfield is off.

I dont know how to get it into the corner of the screen...little help?

Edit: I figured it out. I had to set the X and Y positions to the 'map' + the position of the player and divide it by some number.

Thanks guys! I'm very excited to release this game some day.

Image Edited by the Author.

 
- Bartman

cake



Registered
  13/12/2002
Points
  1173
28th January, 2004 at 05:39:58 -

Hehe yeh you need to take the position of the screen into account etc, but yeh you figured that out.

You dont HAVE to use fastloop, but if you have a lot of little dots, I would recommend using fastloop to cycle through them quickly to make it accurate.

 
n/a

Long John Kickbag



Registered
  26/08/2002
Points
  148
28th January, 2004 at 10:42:58 -

You don't need to use fastloop at all, MMF's internal looping positions them all.

 
Resize! - www.clicksplat.com/comparison.html

Bartman



Registered
  03/01/2002
Points
  50

VIP Member
28th January, 2004 at 20:11:13 -

Theres only 3 other dots for the other racers...nothing much.

http://users4.ev1.net/~Bart-man/Delete/animrall02.jpg

Its on the bottom right corner...

...so cool...

Yeah its that Anime Rally game, you can go on about how fan games and suck, but trust me, I could wow you all =P

 
- Bartman

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
29th January, 2004 at 02:33:09 -

Hasn't this been released before? I recall it was very good.

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy

cake



Registered
  13/12/2002
Points
  1173
29th January, 2004 at 03:58:47 -

Looks cool

Yeh I guess fastloop isnt necessary, Im just obsessed with them . I was kind of thinking for like 40-300 units type of thing. And if you used fastloop you could garentee they are all positioned at an exact step in the event loop, etc which might be required for certain things, blah blah...(realises that this is irrelevant)

 
n/a
   

Post Reply



 



Advertisement

Worth A Click