Gamestudio Links
Zorro Links
Newest Posts
No connection to MT4
by JeyKey II. 10/29/26 09:34
Zorro plugin for Hyperliquid.xyz
by opm. 10/28/26 13:50
Icon "OP"
by JeyKey II. 10/27/26 07:03
ZorroGPT
by TipmyPip. 10/26/26 08:09
Chat Room for Zorro Programmers
by Haitao_Ren. 10/25/26 03:14
Trading Journey
by Haitao_Ren. 10/25/26 03:14
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (JeyKey II), 13,664 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
Haitao_Ren, JimSimons, julienp, julienper, KelleyAbbey
19247 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