Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/20/24 20:05
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
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
3 registered members (7th_zorro, AndrewAMD, TedMar), 1,306 guests, and 4 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
draw_text and function priority #452975
07/02/15 15:46
07/02/15 15:46
Joined: Dec 2011
Posts: 1,823
Netherlands
Reconnoiter Offline OP
Serious User
Reconnoiter  Offline OP
Serious User

Joined: Dec 2011
Posts: 1,823
Netherlands
Hi,

I having a bit trouble with camera movement and draw_text. Some draw_text keeps floating behind cam movement, as if the camera function is called later in the script than the draw_text code. While I have the camera code earlier in my script than the draw text code. While if I copy the camera code to the back, some other draw text are shown in the right positions and some other not (the draw_text are called within other functions).

Is there some other value I miss for function priority (which function is called first?). Or could something else than function priority be the cause of this? Normally I would copy my code here but the project is really big and I dont really know what would be vital code here. Basically the camera code is just within a startup function.

Re: draw_text and function priority [Re: Reconnoiter] #452976
07/02/15 16:02
07/02/15 16:02
Joined: Oct 2011
Posts: 1,082
Germany
C
Ch40zzC0d3r Offline
Serious User
Ch40zzC0d3r  Offline
Serious User
C

Joined: Oct 2011
Posts: 1,082
Germany
proc_mode = PROC_LATE
Will fix it

Re: draw_text and function priority [Re: Ch40zzC0d3r] #452980
07/02/15 17:50
07/02/15 17:50
Joined: Dec 2011
Posts: 1,823
Netherlands
Reconnoiter Offline OP
Serious User
Reconnoiter  Offline OP
Serious User

Joined: Dec 2011
Posts: 1,823
Netherlands
Thanks man, after adding it to a few functions that called draw_text it works.


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