Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/20/24 20:05
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, kzhao, alibaba), 627 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Small Map Screen #8574
03/27/02 21:47
03/27/02 21:47

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



What I want to do:

I want a small map inside my main map where you see a small overview map about the level. But only areas you have visited before are shown, the rest is black. The mini map must correspond with the main level, because you can use teleport spells to move inside the map and you'll be automatically moved in the level. When saving a game, the info about the "discovered" areas must be saved, too.

I have some ideas to realize this, but all of them are quite very complicated and so I want to ask if somebody has a tricky idea how to solve this topic.

Re: Small Map Screen #8575
03/28/02 01:16
03/28/02 01:16
Joined: Oct 2001
Posts: 1,407
Helsinki, Finland
Phantom88 Offline
Expert
Phantom88  Offline
Expert

Joined: Oct 2001
Posts: 1,407
Helsinki, Finland
You could make it so, that every wall/floor/object gets visible when the player can see it. Before that they are invisible. Now if the mini-map is a screenshot that refreshes every 10 seconds(or somthing like that) there is only black where the player hasn't been! But then you would have to assign an action to every wall and object... This is the only way that i can think about...

Hope that helped(i dont think it did)

~Phantom88~


Programmer, Gamer ICQ #: 157485106 | Xfire: Phantom1988 | MSN: lauri_andler@hotmail.com | AIM: FinPhantom | YAHOO: FinPhantom
Re: Small Map Screen #8576
03/28/02 03:51
03/28/02 03:51

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



i want to know too ...

Re: Small Map Screen #8577
03/30/02 12:55
03/30/02 12:55

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



Hehe! I want to know as well!

An idea I had though, would be to create a camera in the bottom corner of my screen, with an entity flying over the top (following the mouse).

This wouldn't work with the way you want, though.

Re: Small Map Screen #8578
03/30/02 14:08
03/30/02 14:08

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



Here is a fairly simple bit of code that will display a map on the lower right portion of your screen. The rest would be up to you.

I actually just sent this to Acknex Resource, but instead of making you wait:
Just Call "Map_Window();" in your player action to bring up a mini-map. This is a camera that appears above, looks straight down and follows the player. Then a small view is placed in the lower right of the screen. This is great for outdoor levels. It can also be used for single story indoor levels if all textures facing the camera have their surfaces set to "none". It will also work for multiple stories through a bit of extra coding and level planning.

code:
 
//========================================

view Map_Cam {} // Create Map camera.

Function Map_Window() //Target camera. Attributes
{
Map_Cam.visible = off; //Show View
Map_Cam.size_x = 104; //<-- 800x600//128; <--1024x768// Window Size X
Map_Cam.size_y = 104; //<-- 800x600//120; <--1024x768// Window Size Y
Map_Cam.pos_x = 663; //<-- 800x600//851; <--1024x768// Window Position X
Map_Cam.pos_y = 470; //<-- 800x600//614; <--1024x768// Window Position Y
Map_Cam.tilt = -90; // Look Down
Map_Cam.pan = 90 ; // Top North
Map_Cam.Noparticle = On;
Map_Cam.Audible = Off;

while(1) // Need Loop so variables update
{
Map_Cam.X = my.X; // Follow Players X
Map_Cam.Y = my.Y; // Follow Players Y
Map_Cam.Z = 1000; // Use this to Zoom the Map
WAIT(1); // Need break in loop so code wont choke
}
}

Here is a screen shot of a kids game I am making for my daughter which shows the map code in action:



Although not exactly what you want, I hope that it helps a little.

-Jeff

Re: Small Map Screen #8579
03/31/02 08:40
03/31/02 08:40

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



If you´re using braxt techniques with an overhead camera u can cover your level with a grid of sprites for example, like a "roof". Then you simply kill the roof pieces when the player is coming near.

Re: Small Map Screen #8580
03/30/02 22:43
03/30/02 22:43
Joined: May 2001
Posts: 1,261
Outarville, France
al1 Offline
Expert
al1  Offline
Expert

Joined: May 2001
Posts: 1,261
Outarville, France
Hi Braxt, it's a very beautiful screenshot.

lookk this : [Wink]
http://phph.dhs.org/developpeur/xmb/viewthread.php?tid=1235

Re: Small Map Screen #8581
03/31/02 00:35
03/31/02 00:35

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



Thanks Alain! I am happy that you felt it was worthy of example. [Smile]

-Jeff

Re: Small Map Screen #8582
03/31/02 04:33
03/31/02 04:33

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



Very clever, Alain. I love simple solutions!

Re: Small Map Screen #8583
04/02/02 23:00
04/02/02 23:00

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



Thank you Braxt, a very wonderful example...

Page 1 of 2 1 2

Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1