Gamestudio Links
Zorro Links
Newest Posts
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), 1,306 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Panelslayers and "Window" #94590
10/15/06 18:33
10/15/06 18:33
Joined: Apr 2002
Posts: 4,801
Richmond B.C., Canada
Captain_Kiyaku Offline OP

Dichotomic
Captain_Kiyaku  Offline OP

Dichotomic

Joined: Apr 2002
Posts: 4,801
Richmond B.C., Canada
Hi, i have a small problem.

In my game, i have a panel that shows the HP, MP and EXP of the player. This is the code:

Code:

panel pn_info_panel
{
pos_x = 50;
pos_y = 50;
layer = 11;
button = 0, 0, bmp_info_panel, bmp_info_panel, bmp_info_panel, fnc_move_info_panel(), fnc_change_mouse_modus_2_an(), fnc_change_mouse_modus_3_an();
window = 28, 58, 100, 10, bmp_exp_01, var_exp_pos.x, var_exp_pos.y;
window = 28, 22, 100, 10, bmp_health_01, var_health_pos.x, var_health_pos.y;
window = 28, 40, 100, 10, bmp_mana_01, var_mana_pos.x, var_mana_pos.y;
flags = d3d, refresh;
}




Before the 6.4.x update, it worked perfect and looked like this:

SCREENSHOT_1

But AFTER the update, the window pictures are BEHIND the panel, like here:

SCREENSHOT_2

When i make the panel transparent, you can see the bars behind it:

SCREENSHOT_3


So did something changed with the update or do i have to change something?

Thanks in advance!


My Blog

"Tag und Nacht schrei ich mich heiser,
Wind weht alle Worte fort,
Tag und Nacht schrei ich mein Krähenwort!"

Subway To Sally - Krähenkönig
Re: Panelslayers and "Window" [Re: Captain_Kiyaku] #94591
10/16/06 13:22
10/16/06 13:22
Joined: Apr 2002
Posts: 4,801
Richmond B.C., Canada
Captain_Kiyaku Offline OP

Dichotomic
Captain_Kiyaku  Offline OP

Dichotomic

Joined: Apr 2002
Posts: 4,801
Richmond B.C., Canada
did noone using "window" and have simliar probelms after the update or whatever? oO


My Blog

"Tag und Nacht schrei ich mich heiser,
Wind weht alle Worte fort,
Tag und Nacht schrei ich mein Krähenwort!"

Subway To Sally - Krähenkönig
Re: Panelslayers and "Window" [Re: Captain_Kiyaku] #94592
10/16/06 14:47
10/16/06 14:47
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
I am using windows for a loading screen, and it works perfectly. Is the panel set together from differen panels?

Maybe I should mention, that the bar and the panel both have an alpha channel applied. Before the update my loading bar didn't have an alpha channel, but the panel had. This gave strange results, especially when using scale and the filter flag.


Always learn from history, to be sure you make the same mistakes again...
Re: Panelslayers and "Window" [Re: Uhrwerk] #94593
10/16/06 16:54
10/16/06 16:54
Joined: Sep 2006
Posts: 108
J
Jered Offline
Member
Jered  Offline
Member
J

Joined: Sep 2006
Posts: 108
maybe try removing the function brackets for the button --> (), you shouldn't need them, and that may be what is causing it...if it don't work, just put them back.


3DGS (6.4) Commercial

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