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
1 registered members (AndrewAMD), 781 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
lorikob361, LucasJoshua, Baklazhan, Hanky27, firatv
19054 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
pan_create ? #354341
01/17/11 20:33
01/17/11 20:33
Joined: Jun 2010
Posts: 29
N
Nomi Offline OP
Newbie
Nomi  Offline OP
Newbie
N

Joined: Jun 2010
Posts: 29
hi leute hätte mall ne frage wie kann man ein panel verschieben

wen ich es mit pan_create erstellt habe?

mit pan_setpos gehts ürgend wie net.

mfg Nomi

Re: pan_create ? [Re: Nomi] #354344
01/17/11 20:53
01/17/11 20:53
Joined: Aug 2002
Posts: 2,183
Germany, BaW�
Rondidon Offline
Expert
Rondidon  Offline
Expert

Joined: Aug 2002
Posts: 2,183
Germany, BaW�
//Erstellen

PANEL* splash = pan_create("bmap = splash.pcx;",1);
set(splash,SHOW);

[...]

//Verschieben

splash.pos_x = 512; //Verschieben an Pixel 512 von links nach nach rechts
splash.pos_y = 512; //an 512 von oben nach unten

// oder

splash.pos_x = screen_size.x/2
splash.pos_y = screen_size.y/2 //In die Bildmitte verschieben



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