Slow Debug Graphics

Jump to navigation Jump to search

Mine is setup for speed version and I tried single, double and triple buffering and I am pretty sure that my machine is not the slowest one(3.1 Ghz CPU but yours is probably a lot faster). It is probably because of the text they are rendering.

Dsekercioglu (talk)18:10, 24 July 2018

I have a really poor machine and they still run smoothly here. Things get laggy only when in melee.

Rsalesc (talk)03:11, 25 July 2018

You do not have permission to edit this page, for the following reasons:

  • The action you have requested is limited to users in the group: Users.
  • You must confirm your email address before editing pages. Please set and validate your email address through your user preferences.

You can view and copy the source of this page.

Return to Thread:Talk:Robocode/Graphical Debugging/Slow Debug Graphics/reply (4).

By smooth I mean it's at least 30 fps (or 60 fps at best). Actually those bot gets 22 fps, but still smooth enough comparing to 5 fps.

I used to notice FPS drop when text are drawn, but recently that's no longer noticeable.

note that I run robocode with these JVM parameters:

    -Dsun.java2d.opengl=true -Dapple.awt.graphics.UseQuartz=true -Dapple.laf.useScreenMenuBar=true -Dcom.apple.mrj.application.apple.menu.about.name="My Robocode"
Xor (talk)14:54, 25 July 2018

An interesting thing is that whatever value I set to

   -Dsun.java2d.opengl=true -Dapple.awt.graphics.UseQuartz=true

The graphics performance never changes

Xor (talk)15:13, 25 July 2018