Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,449 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
TEXT.pos_x/y #432446
11/06/13 11:49
11/06/13 11:49
Joined: Oct 2011
Posts: 1,082
Germany
C
Ch40zzC0d3r Offline OP
Serious User
Ch40zzC0d3r  Offline OP
Serious User
C

Joined: Oct 2011
Posts: 1,082
Germany
Hey guys laugh
Im currently trying to replace all my draw_text functions with TEXT elements because of the performance boost. However, is there a way to render the text later?
Im using this to show the playernames of my players over the head and the text elemnts are lagging always behind 1 frame. Doesnt look very nice. I also tried proc_mode = PROC_EARLY/PROC_LATE but this doesnt fix the position lag. Does anyone have an idea?
Thanks in advance laugh

Re: TEXT.pos_x/y [Re: Ch40zzC0d3r] #432450
11/06/13 12:35
11/06/13 12:35
Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
MasterQ32 Offline
Expert
MasterQ32  Offline
Expert

Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
what about draw_obj?

TUST has also some draw_font that does the same thing as draw_text but much faster (also with TEXT objects)


Visit my site: www.masterq32.de
Re: TEXT.pos_x/y [Re: Ch40zzC0d3r] #432451
11/06/13 12:36
11/06/13 12:36
Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
you are probably moving texts before moving the characters in a frame. Move text position calculation code after movement script.


3333333333
Re: TEXT.pos_x/y [Re: Quad] #432464
11/06/13 14:46
11/06/13 14:46
Joined: Oct 2011
Posts: 1,082
Germany
C
Ch40zzC0d3r Offline OP
Serious User
Ch40zzC0d3r  Offline OP
Serious User
C

Joined: Oct 2011
Posts: 1,082
Germany
@Quad no, The camera is also effacted, the TEXT is just drawn too early...
@MasterQ32 Thanks I will take a look laugh

EDIT: draw_obj works fine and its much faster, thanks!

Last edited by Ch40zzC0d3r; 11/06/13 14:58.

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | 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