Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/20/24 01:28
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
1 registered members (AndrewAMD), 645 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
c_trace causing serious slowdowns? #289005
09/09/09 21:29
09/09/09 21:29
Joined: Sep 2008
Posts: 68
T
Tai Offline OP
Junior Member
Tai  Offline OP
Junior Member
T

Joined: Sep 2008
Posts: 68
Since I've been coding my game for a while, I hadn't really noticed this, since I guess I got used to it, but c_tracing with the following causes 'jerks' in the movement?

Code:
while(1)
{
  //movement code and stuff here
   c_trace(my.x,vector(my.x,my.y,my.z-30),IGNORE_ME|IGNORE_SPRITES);


This seems curious; does tracing cause that big of a slowdown? The fps is unchanged, and I need to use c_traces (actually more then one in some situations), so this poses a problem.


EDIT: Problem solved, not c_trace after all

Last edited by Tai; 09/09/09 22:20. Reason: Fixed
Re: c_trace causing serious slowdowns? [Re: Tai] #289009
09/09/09 22:19
09/09/09 22:19
Joined: Sep 2008
Posts: 68
T
Tai Offline OP
Junior Member
Tai  Offline OP
Junior Member
T

Joined: Sep 2008
Posts: 68
Ugh, chalk this one up to stupidity; I had multiple vector calculations running every frame, instead of a single frame like I intended. Problem Solved.


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