Gamestudio Links
Zorro Links
Newest Posts
New FXCM FIX Plugin
by flink. 06/04/24 07:30
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
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, juanex), 1,247 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19056 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