Gamestudio Links
Zorro Links
Newest Posts
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, Quad), 500 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 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