|
@@ -81,7 +81,7 @@ a| OpenGL 2
|
|
|
a|setBitsPerPixel(32)
|
|
|
a|Set the color depth. +
|
|
|
1 bpp = black and white, 2 bpp = gray, +
|
|
|
-4 bpp = 16 colors, 8 bpp = 256 colors, 24 or 32 bpp = “truecolor.
|
|
|
+4 bpp = 16 colors, 8 bpp = 256 colors, 24 or 32 bpp = "`truecolor`".
|
|
|
a|24
|
|
|
|
|
|
a|setFramerate(60)
|
|
@@ -226,7 +226,7 @@ a|Restart()ing a running game restarts the game context and applies the updated
|
|
|
|
|
|
== Saving and Loading Settings
|
|
|
|
|
|
-An AppSettings object also supports the following methods to save your settings under a unique key (in this example “com.foo.MyCoolGame3):
|
|
|
+An AppSettings object also supports the following methods to save your settings under a unique key (in this example "`com.foo.MyCoolGame3`"):
|
|
|
|
|
|
* Use `settings.save("com.foo.MyCoolGame3")` to save your settings via standard java.io serialization.
|
|
|
* Use `settings.load("com.foo.MyCoolGame3")` to load your settings.
|