Select language
Search the Site
Ceebot / Dauphin Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Framerate slowing down with very simple program (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Framerate slowing down with very simple program
#3
Jeff (Visitor)
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
Framerate slowing down with very simple program 15 Years, 7 Months ago Karma: 0  
Here is a program I wrote:

extern void object::test()
{
....object item;
....while(true)
....{
........item=radar(WheeledShooter);
........turn(direction(item.position));
........if (this.category == AlienAnt && distance(this.position,item.position) < 12)
........{
............fire(item.position);
........}
....}
}

When I run it in CeeBot, the framerate drops dramatically; the program just gets slow. Where is the problem?
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
      Topics Author Date
    thread link
Framerate slowing down with very simple program
Jeff 2008/08/28 21:55
    thread link
thread linkthread link Re:Framerate slowing down with very simple program
OttoDeveloper 2008/08/28 22:45
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop