OSDN Git Service

(no commit message)
authorbadlogicgames <badlogicgames@6c4fd544-2939-11df-bb46-9574ba5d0bfa>
Wed, 3 Nov 2010 01:35:14 +0000 (01:35 +0000)
committerbadlogicgames <badlogicgames@6c4fd544-2939-11df-bb46-9574ba5d0bfa>
Wed, 3 Nov 2010 01:35:14 +0000 (01:35 +0000)
demos/rtm/libs/gdx-backend-jogl.jar [new file with mode: 0644]
demos/rtm/src/com/badlogic/rtm/LevelRenderer.java
demos/rtm/src/com/badlogic/rtm/RtmDesktop.java [new file with mode: 0644]

diff --git a/demos/rtm/libs/gdx-backend-jogl.jar b/demos/rtm/libs/gdx-backend-jogl.jar
new file mode 100644 (file)
index 0000000..abdf6d2
Binary files /dev/null and b/demos/rtm/libs/gdx-backend-jogl.jar differ
index d9dea30..573fb90 100644 (file)
@@ -50,7 +50,7 @@ public class LevelRenderer implements ApplicationListener {
        private void load () {\r
                try {\r
                        tiles = Gdx.graphics.newTexture( Gdx.files.getFileHandle("data/tiles-3.png", FileType.Internal),\r
-                                                                                                               TextureFilter.Nearest, TextureFilter.Nearest, \r
+                                                                                                               TextureFilter.MipMap, TextureFilter.Nearest, \r
                                                                                                                TextureWrap.ClampToEdge, TextureWrap.ClampToEdge );\r
                        \r
                        TextureAtlas atlas = new TextureAtlas(tiles);\r
diff --git a/demos/rtm/src/com/badlogic/rtm/RtmDesktop.java b/demos/rtm/src/com/badlogic/rtm/RtmDesktop.java
new file mode 100644 (file)
index 0000000..463e65d
--- /dev/null
@@ -0,0 +1,9 @@
+package com.badlogic.rtm;\r
+\r
+import com.badlogic.gdx.backends.jogl.JoglApplication;\r
+\r
+public class RtmDesktop {\r
+       public static void main(String[] argv) {\r
+               new JoglApplication(new LevelRenderer(), "RTM", 480, 320, false);\r
+       }\r
+}\r