Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 14:22
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
3 registered members (TedMar, AndrewAMD, fairtrader), 578 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Panel.Size #134920
06/09/07 11:06
06/09/07 11:06
Joined: Jul 2006
Posts: 150
Deutschland/Germany, nahe Hamb...
dennis Offline OP
Member
dennis  Offline OP
Member

Joined: Jul 2006
Posts: 150
Deutschland/Germany, nahe Hamb...
Hi!

I have got a problem with "Panel.Size_X/Panel.Size_Y"...

There are spaces between the repeated panels...

Here a picture:



Can anybody help me or is there a similar thread?

Re: Panel.Size [Re: dennis] #134921
06/09/07 11:10
06/09/07 11:10
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline
User
tompo  Offline
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
but what is your code?
second panel x = first panel x + first panel size.x ?
or you have porblem with bmaps? if yes check bmap size, is power of 2?


Never say never.
Re: Panel.Size [Re: tompo] #134922
06/09/07 11:17
06/09/07 11:17
Joined: Jul 2006
Posts: 150
Deutschland/Germany, nahe Hamb...
dennis Offline OP
Member
dennis  Offline OP
Member

Joined: Jul 2006
Posts: 150
Deutschland/Germany, nahe Hamb...
My Code:


BMAP IM_NOBMAP = <NoBmap.Png>;

Panel Panel_0
{
Flags = Visible;
Bmap = IM_NOBMAP;
Pos_X = 330;
Pos_Y = 230;
Size_X = 500;
Size_Y = 600;
}

Re: Panel.Size [Re: dennis] #134923
06/09/07 11:18
06/09/07 11:18
Joined: Jul 2006
Posts: 150
Deutschland/Germany, nahe Hamb...
dennis Offline OP
Member
dennis  Offline OP
Member

Joined: Jul 2006
Posts: 150
Deutschland/Germany, nahe Hamb...
The bitmap is 150x150....but the sizes of panels usually don't have to be a power of 2?

Re: Panel.Size [Re: dennis] #134924
06/09/07 12:03
06/09/07 12:03
Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Xarthor Offline
Expert
Xarthor  Offline
Expert

Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
AFAIK it is recommended that the panels which should be repeated have the power of 2

Re: Panel.Size [Re: Xarthor] #134925
06/09/07 12:09
06/09/07 12:09
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline
User
tompo  Offline
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
problem is that you have panel.size 500/600 but bmap size only 150/150 so you have free spaces between
so resize panels size to bmap size or vice-versa


Never say never.
Re: Panel.Size [Re: tompo] #134926
06/09/07 12:21
06/09/07 12:21
Joined: Jan 2007
Posts: 1,619
Germany
Scorpion Offline
Serious User
Scorpion  Offline
Serious User

Joined: Jan 2007
Posts: 1,619
Germany
i guess i want to repeat the bmap, not? Ö_ö

Re: Panel.Size [Re: Scorpion] #134927
06/09/07 17:33
06/09/07 17:33
Joined: Mar 2006
Posts: 2,503
SC, United States
xXxGuitar511 Offline
Expert
xXxGuitar511  Offline
Expert

Joined: Mar 2006
Posts: 2,503
SC, United States
@Tompo: Not necessarily. A new feature was added so that if the panel size was larger than the bg image size, the bg image would tile. However, it requires that the BG image is a power of 2


xXxGuitar511
- Programmer
Re: Panel.Size [Re: xXxGuitar511] #134928
06/09/07 20:23
06/09/07 20:23
Joined: Jul 2006
Posts: 150
Deutschland/Germany, nahe Hamb...
dennis Offline OP
Member
dennis  Offline OP
Member

Joined: Jul 2006
Posts: 150
Deutschland/Germany, nahe Hamb...
It's a pity!

However thanks for your help!


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