Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
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
6 registered members (AndrewAMD, Ayumi, degenerate_762, 7th_zorro, VoroneTZ, HoopyDerFrood), 1,268 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
LucasJoshua, Baklazhan, Hanky27, firatv, wandaluciaia
19053 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 3 1 2 3
Re: Minimap like in any MMORPG or RPG [Re: Uhrwerk] #391760
01/15/12 17:30
01/15/12 17:30
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Quote:
I tried some of your suggestions and the solution with the view entity does work after all, but honestly I don't want to use a view entity, because I need to fade it out, move it accordingly to the rest of my interface etc. A view entity is more difficult to handle in comparison to panels.

It's affected by lighting, and the map is pixelated..

I'm sorry, but this does not make much sense to me. It's a very easy solution and it works. Simply assign a material that deactivates lighting and maybe assign a bigger texture to the entity to avoid a pixelated effect. You can fade it exactly as you do with panels (view_entity.alpha = panel_main.alpha).

Last edited by Superku; 01/15/12 17:32.

"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: Minimap like in any MMORPG or RPG [Re: Roxas] #391767
01/15/12 18:40
01/15/12 18:40
Joined: Apr 2008
Posts: 144
Germany | Niedersachsen (Lower...
Roxas Offline OP
Member
Roxas  Offline OP
Member

Joined: Apr 2008
Posts: 144
Germany | Niedersachsen (Lower...
Quote:

I'm sorry, but this does not make much sense to me. It's a very easy solution and it works. Simply assign a material that deactivates lighting and maybe assign a bigger texture to the entity to avoid a pixelated effect. You can fade it exactly as you do with panels (view_entity.alpha = panel_main.alpha).


I think I'll give it a shot once more thank you superku and everyone else who mentioned this.
My only concern about this solution is, that the position on screen is not as easy to handle like a panel. I had some bad experiences with view entities.

@Uhrwerk
Thank you, this looks indeed quite interesting I think I'll use that for something else, but I think that this won't work with panels and bmaps because it's a material. But thanks anyways.

I think I'll try to wrap it all up in a simple system and share the code afterwards if anyone is interested

thanks
and
Cheers

Dekurian

Re: Minimap like in any MMORPG or RPG [Re: Espér] #401994
05/28/12 13:12
05/28/12 13:12
Joined: Dec 2010
Posts: 224
NRW, Germany
NeoJones Offline
Member
NeoJones  Offline
Member

Joined: Dec 2010
Posts: 224
NRW, Germany
Originally Posted By: Espér
show your Minimap Bitmap or View on a second
bitmap with target_map, and just blit a circular mask over it


i dont understand this. i dont want a circular view entity, cause i had many problems with the own positions.
now iam having a panel with a 32bit alpha bmap and a window with my map from a view.

is there another way as a circular view entity?


Last edited by Dragonfly; 05/28/12 13:15.

Errors are the engine of progress.

Version: A8 Commercial
OS: Win 7 64bit
Models: Cinema 4D
Re: Minimap like in any MMORPG or RPG [Re: NeoJones] #402003
05/28/12 16:16
05/28/12 16:16
Joined: Dec 2010
Posts: 224
NRW, Germany
NeoJones Offline
Member
NeoJones  Offline
Member

Joined: Dec 2010
Posts: 224
NRW, Germany
anyone?


Errors are the engine of progress.

Version: A8 Commercial
OS: Win 7 64bit
Models: Cinema 4D
Re: Minimap like in any MMORPG or RPG [Re: NeoJones] #402008
05/28/12 19:25
05/28/12 19:25
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Quote:
Today at 04:12 PM
...
Today at 07:16 PM
anyone?

Really?


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: Minimap like in any MMORPG or RPG [Re: Superku] #402023
05/28/12 21:00
05/28/12 21:00
Joined: Dec 2010
Posts: 224
NRW, Germany
NeoJones Offline
Member
NeoJones  Offline
Member

Joined: Dec 2010
Posts: 224
NRW, Germany
since 3 days iam looking for a solution...


Errors are the engine of progress.

Version: A8 Commercial
OS: Win 7 64bit
Models: Cinema 4D
Re: Minimap like in any MMORPG or RPG [Re: Superku] #402027
05/28/12 22:06
05/28/12 22:06
Joined: Dec 2010
Posts: 224
NRW, Germany
NeoJones Offline
Member
NeoJones  Offline
Member

Joined: Dec 2010
Posts: 224
NRW, Germany
Originally Posted By: Superku
Quote:
Today at 04:12 PM
...
Today at 07:16 PM
anyone?

Really?


its not a problem to render it to a view entity, but a fixed position.


Errors are the engine of progress.

Version: A8 Commercial
OS: Win 7 64bit
Models: Cinema 4D
Re: Minimap like in any MMORPG or RPG [Re: NeoJones] #402028
05/28/12 22:16
05/28/12 22:16
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
I don't understand your problem/ request then. Please explain in more detail.
Btw. you can use bmap_process and a shader to avoid the usage of view entities.


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: Minimap like in any MMORPG or RPG [Re: Superku] #402031
05/29/12 00:02
05/29/12 00:02
Joined: Dec 2010
Posts: 224
NRW, Germany
NeoJones Offline
Member
NeoJones  Offline
Member

Joined: Dec 2010
Posts: 224
NRW, Germany
i think bmap_process with a shader is very useful for that.
i have a circular mask as .tga and the view bmap in 24bit.
the only problem what i have, is the shader for that to become a round bmap at the end.

can you give me an example for this?


Errors are the engine of progress.

Version: A8 Commercial
OS: Win 7 64bit
Models: Cinema 4D
Re: Minimap like in any MMORPG or RPG [Re: NeoJones] #402041
05/29/12 09:03
05/29/12 09:03
Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
txesmi Offline
Serious User
txesmi  Offline
Serious User

Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
a simple example

Code:
texture TargetMap; // bmap_process bmSrc
texture mtlSkin1; // 32bit mask

sampler ColorSampler = sampler_state { Texture = <TargetMap>; };
sampler MaskSampler = sampler_state { Texture = <mtlSkin1>; };

float4 PS ( in float2 inTex: TEXCOORD0 ) : COLOR0
{
	return float4 ( tex2D ( ColorSampler, inTex ).rgb, tex2D ( MaskSampler, inTex ).a );
}

technique
{
	pass p0
	{
		VertexShader = null;
		PixelShader  = compile ps_1_1 PS();
	}
}



Salud!

Page 2 of 3 1 2 3

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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