Gamestudio Links
Zorro Links
Newest Posts
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
5 registered members (AndrewAMD, alibaba, Konsti, 2 invisible), 1,418 guests, and 2 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
Frame Rate problem #48208
06/23/05 01:15
06/23/05 01:15
Joined: Jun 2005
Posts: 20
H
htwarrior Offline OP
Newbie
htwarrior  Offline OP
Newbie
H

Joined: Jun 2005
Posts: 20
Hi, I have a little problem with the fps of my project. When I run my level with a default script (a standard template),I observe at the end of the compilation window : "18 objects" and my fps is just fine : 56.

But, when I run my script ( In which are defined all my entities) with the same level I get at the end of the compilation window:" 632 objects" and my fps is now 30.

The problem is that I am not loading the entities at that point so there is no difference in the number of entities rendered within the first test and the second one.

Thanks in advance

Re: Frame Rate problem [Re: htwarrior] #48209
06/23/05 20:46
06/23/05 20:46
Joined: Jun 2005
Posts: 20
H
htwarrior Offline OP
Newbie
htwarrior  Offline OP
Newbie
H

Joined: Jun 2005
Posts: 20
I will explain better the situation. After loading my level, I use my script for creating the main characters of my game( I have seven characters in my game at any time but these are choosen ramdomly every time my game begins between the 56 characters defined in my script ).

Now I will explain my first post: In the first case I do a test using a standar script instead of my script so I either do not declare or load any aditional entity and my fps is 56. In the second case I use my script but I put an infinite loop in my code before the lines that create the seven characters (entities) so at first glance both cases appears to be the same but I have found at least 26 fps of difference within both cases.

I believe that the difference has to do with the 56 characters defined in my script but I'm not sure.I will appreciate nay comment.

Thanks

Re: Frame Rate problem [Re: htwarrior] #48210
06/24/05 09:31
06/24/05 09:31
Joined: Sep 2003
Posts: 4,959
US
G
Grimber Offline
Expert
Grimber  Offline
Expert
G

Joined: Sep 2003
Posts: 4,959
US
could be allot of factor. poly counts of all those entitys or taking an afult lot of other resources ( big skins? all using stencil shadows?).

your script, you may have allot of redundant loops or overt ammount of calclations repetivly happening

try your scripts with less entities. if still noticable slowdown, start ripping yrou scripts apart.


Moderated by  HeelX, Spirit 

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