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
Odd graphics beviour #265001
05/09/09 13:40
05/09/09 13:40
Joined: Aug 2005
Posts: 238
Caermundh Offline OP
Member
Caermundh  Offline OP
Member

Joined: Aug 2005
Posts: 238
I am writing game where the main part of it is a 2-d map of a medievil city. (essentially you are looking down on the city from above) When you mouse over certain buildings in the map, the building "lights up" indicating that you can click on it to enter it.

The way im doing this is i copied and pasted the building from the main map, photoshopped it to make it "light up", then I put it in a panel that i align with the main map image. when the player mouses over the building, i make the "lit" version panel visible, thus making the building appear to light up.

This works perfectly until i take me desktop resolution up to 1680 x 1050. that is the highedt resolution my video card supportds. the next resoution down is 1600 x 1024, in that and all resolutions under it, everything lines up fine, but at 1680 x 1050 suddenly all the "lit" building panles are off.

Why are things mis-aligned only in 1680 x 1050??

Re: Odd graphics beviour [Re: Caermundh] #265208
05/11/09 08:04
05/11/09 08:04
Joined: Oct 2007
Posts: 116
S
sydan Offline
Member
sydan  Offline
Member
S

Joined: Oct 2007
Posts: 116
It doesn't sound like a resolution that 3dgs would support I don't think. I've had this problem with panels before but Im sorry I don't know how to solve it. You could try making them sprites and laying them over the top of the original buildings.


For some reason, my ambition always seems to beat my ability.
Re: Odd graphics beviour [Re: sydan] #265241
05/11/09 12:19
05/11/09 12:19
Joined: May 2009
Posts: 1,816
at my pc (duh)
darkinferno Offline
Serious User
darkinferno  Offline
Serious User

Joined: May 2009
Posts: 1,816
at my pc (duh)
i guess u need some code to adjust the image to each resolution...


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