Gamestudio Links
Zorro Links
Newest Posts
How to buy tomorrow at open?
by frutza. 06/01/23 19:58
Adding Position to Current Trade
by AndrewAMD. 05/30/23 10:34
Unable to change multiplier of contract
by vicknick. 05/30/23 06:56
Wrong Definition of Sharpe Ratio in Zorro?
by vicknick. 05/29/23 06:32
Backtest strategy on bitcoin/crypto
by JamesHH. 05/26/23 04:36
Return type of floor()
by AndrewAMD. 05/25/23 14:17
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
1 registered members (AndrewAMD), 1,065 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
BInnacle, androsa, XquicksnowX, danishinvest, Trail
18942 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Object moves slower in Fullscreen vs. 800x600 #218810
07/30/08 18:05
07/30/08 18:05
Joined: Aug 2006
Posts: 70
NJ
S
SirCamaris Offline OP
Junior Member
SirCamaris  Offline OP
Junior Member
S

Joined: Aug 2006
Posts: 70
NJ
I'm noticing a significant decrease in object speed when I switch to fullscreen mode. I'm changing a panel's position by adding one pixel to pos_x/y when the user presses corresponding keys. I'm thinking that since there are more pixels in fullscreen mode vs. 800x600, movement by one pixel at a time would take longer in the former. Is there a way to make an object move the same between different screen resolutions?

Re: Object moves slower in Fullscreen vs. 800x600 [Re: SirCamaris] #218815
07/30/08 18:55
07/30/08 18:55

M
mercuryus
Unregistered
mercuryus
Unregistered
M



use time_frame and/or time_step (see helpfile)

Re: Object moves slower in Fullscreen vs. 800x600 [Re: ] #221050
08/11/08 20:10
08/11/08 20:10
Joined: Aug 2006
Posts: 70
NJ
S
SirCamaris Offline OP
Junior Member
SirCamaris  Offline OP
Junior Member
S

Joined: Aug 2006
Posts: 70
NJ
Thankyou. I set fps_max and fps_min to the same value and for pos_x/y I did, pos.x += 1 / time_step; This gave me the desired result for both 800x600 and Fullscreen mode.

Last edited by SirCamaris; 08/11/08 20:16.

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