Gamestudio Links
Zorro Links
Newest Posts
FXCM demo test failed
by qin. 01/13/26 13:53
Camera always moves upwards?
by NeoDumont. 01/12/26 09:39
Alpaca Plugin v1.5.2 Release
by kzhao. 01/11/26 13:42
Alpaca Plugin v1.4.0
by kzhao. 01/11/26 13:38
separating groups of 3 digits by a comma
by joe_kane. 01/11/26 00:01
MRC.c and WFO
by joe_kane. 01/10/26 23:58
BarOffset (default = 940 for daily bars?
by joe_kane. 01/10/26 23:46
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (Quad), 26,406 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
promfast, joe_kane, Namitha_NN, Syndrela, agasior
19190 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 | 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