Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Quad, 1 invisible), 877 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
video_border problem ._. #375044
06/23/11 11:51
06/23/11 11:51
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline OP
Expert
Espér  Offline OP
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
ok.. other problem..

I tried to give the launcher/updater a bit more style - with video_border.

i added it this way:
Code:
includes..
[...]
BMAP* border = "border.tga";

var gamebuild = 0;

FONT* font_led    = "Orator Std#24";

void main()
{
	d3d_antialias = 9;
	wait(1);
	sky_color.red = 1; sky_color.green = 1; sky_color.blue = 1;
	screen_color.red = 1; screen_color.green = 1; screen_color.blue = 1;
	enet_init();
	http_init();
	if (sys_winversion >= 6 && version >= 8)
	{
		video_border(border, 10, 10, 640, 480);
	}
	
	
	mouse_mode = 2;
	mouse_range = 10000;
	
	PANEL* pan_versionsnummer = pan_create("", 9999);
	pan_versionsnummer.bmap = bmap_createblack(640,480,24); //cutout
	pan_setdigits(pan_versionsnummer, 0, 10, 10, "Build: %.0f", font_led, 1, gamebuild);
	set(pan_versionsnummer, SHOW);
	
	while(1)
	{
		vec_set(mouse_pos,mouse_cursor);
		wait(1);
	}
}


BMAP* border is a 32Bit TGA File, without alpha channel.

Problem:
Whenever i click inside the window, the lower window is set active, and the Engine Window stays in the background...

That´s a bt annoying.. cause.. a Launcher without mouse control is a bit ugly ._.

Last edited by Espér; 06/24/11 05:47.

Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
Re: video_border problem ._. [Re: Espér] #375527
06/26/11 09:47
06/26/11 09:47
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline OP
Expert
Espér  Offline OP
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
is there really nobody who can help me? ._.


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<

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