Slow Debug Graphics

Jump to navigation Jump to search
Thanks for the response, I generally have NetBeans running when I am testing my robots but I just tried it without NetBeans and it is still running with about 5 FPS.
One thing I have noticed is that low FPS only happens when a bot is rendering text. In any case, can you send me your rendering options?
Maybe just our understanding of "running smoothly" is different.=)
Dsekercioglu (talk)09:58, 25 July 2018

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)15: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)16:13, 25 July 2018