commit
54bb89835e
@ -0,0 +1,10 @@ |
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<classpath> |
||||
<classpathentry path="bin" kind="output"/> |
||||
<classpathentry path="src" kind="src"/> |
||||
<classpathentry path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6/" kind="con"/> |
||||
<classpathentry path="C:/Users/Joshua Sigona/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx/1.9.6/47d1e9b890e364ec28f128e9bb3b9a12a94c164/gdx-1.9.6.jar" kind="lib" sourcepath="C:/Users/Joshua Sigona/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx/1.9.6/7d903ecd6b0df2ec334814b8e70618e4c93fd37c/gdx-1.9.6-sources.jar"/> |
||||
<classpathentry path="C:/Users/Joshua Sigona/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-box2d/1.9.6/c249ef4060a4fada952f278455c8f7b9cba3c18a/gdx-box2d-1.9.6.jar" kind="lib" sourcepath="C:/Users/Joshua Sigona/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-box2d/1.9.6/584f96799f8fedc8e6bb87eef1e261f0e7f92900/gdx-box2d-1.9.6-sources.jar"/> |
||||
<classpathentry path="C:/Users/Joshua Sigona/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-controllers/1.9.6/ea1fd4884be631d9b7cd0f496b1ab39e31eb434b/gdx-controllers-1.9.6.jar" kind="lib" sourcepath="C:/Users/Joshua Sigona/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-controllers/1.9.6/a730ab024c77f376b24e635f1d82e7d69fc5c648/gdx-controllers-1.9.6-sources.jar"/> |
||||
<classpathentry path="C:/Users/Joshua Sigona/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-freetype/1.9.6/69187cc3c8062f191df435b43671b0e5ffcbf353/gdx-freetype-1.9.6.jar" kind="lib" sourcepath="C:/Users/Joshua Sigona/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-freetype/1.9.6/4b5600df790e2798b21d6e5decdf752698c05013/gdx-freetype-1.9.6-sources.jar"/> |
||||
</classpath> |
@ -0,0 +1 @@ |
||||
/bin/ |
@ -0,0 +1,17 @@ |
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<projectDescription> |
||||
<name>Megamon-core</name> |
||||
<comment></comment> |
||||
<projects> |
||||
</projects> |
||||
<buildSpec> |
||||
<buildCommand> |
||||
<name>org.eclipse.jdt.core.javabuilder</name> |
||||
<arguments> |
||||
</arguments> |
||||
</buildCommand> |
||||
</buildSpec> |
||||
<natures> |
||||
<nature>org.eclipse.jdt.core.javanature</nature> |
||||
</natures> |
||||
</projectDescription> |
@ -0,0 +1,13 @@ |
||||
# |
||||
#Wed Aug 16 21:53:06 CDT 2017 |
||||
org.eclipse.jdt.core.compiler.debug.localVariable=generate |
||||
org.eclipse.jdt.core.compiler.compliance=1.6 |
||||
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve |
||||
org.eclipse.jdt.core.compiler.debug.sourceFile=generate |
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 |
||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error |
||||
org.eclipse.jdt.core.compiler.debug.lineNumber=generate |
||||
eclipse.preferences.version=1 |
||||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled |
||||
org.eclipse.jdt.core.compiler.source=1.6 |
||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error |
@ -0,0 +1,101 @@ |
||||
info face="Agency FB Bold" size=32 bold=0 italic=0 charset="" unicode=0 stretchH=100 smooth=1 aa=1 padding=1,1,1,1 spacing=-2,-2 |
||||
common lineHeight=39 base=32 scaleW=512 scaleH=512 pages=1 packed=0 |
||||
page id=0 file="AgencyFB.png" |
||||
chars count=96 |
||||
char id=10 x=0 y=0 width=0 height=0 xoffset=0 yoffset=0 xadvance=0 page=0 chnl=0 |
||||
char id=32 x=0 y=0 width=0 height=0 xoffset=-1 yoffset=31 xadvance=7 page=0 chnl=0 |
||||
char id=33 x=153 y=33 width=6 height=27 xoffset=1 yoffset=6 xadvance=7 page=0 chnl=0 |
||||
char id=34 x=108 y=60 width=11 height=10 xoffset=0 yoffset=6 xadvance=11 page=0 chnl=0 |
||||
char id=35 x=244 y=33 width=18 height=27 xoffset=0 yoffset=6 xadvance=18 page=0 chnl=0 |
||||
char id=36 x=6 y=0 width=14 height=31 xoffset=0 yoffset=4 xadvance=14 page=0 chnl=0 |
||||
char id=37 x=222 y=33 width=22 height=27 xoffset=0 yoffset=6 xadvance=22 page=0 chnl=0 |
||||
char id=38 x=262 y=33 width=16 height=27 xoffset=0 yoffset=6 xadvance=15 page=0 chnl=0 |
||||
char id=39 x=119 y=60 width=6 height=10 xoffset=0 yoffset=6 xadvance=6 page=0 chnl=0 |
||||
char id=40 x=28 y=0 width=10 height=30 xoffset=0 yoffset=6 xadvance=9 page=0 chnl=0 |
||||
char id=41 x=38 y=0 width=10 height=30 xoffset=0 yoffset=6 xadvance=10 page=0 chnl=0 |
||||
char id=42 x=65 y=60 width=15 height=14 xoffset=0 yoffset=6 xadvance=15 page=0 chnl=0 |
||||
char id=43 x=50 y=60 width=15 height=15 xoffset=0 yoffset=13 xadvance=15 page=0 chnl=0 |
||||
char id=44 x=125 y=60 width=8 height=8 xoffset=-1 yoffset=28 xadvance=6 page=0 chnl=0 |
||||
char id=45 x=164 y=60 width=9 height=5 xoffset=0 yoffset=20 xadvance=9 page=0 chnl=0 |
||||
char id=46 x=158 y=60 width=6 height=6 xoffset=0 yoffset=27 xadvance=6 page=0 chnl=0 |
||||
char id=47 x=172 y=33 width=16 height=27 xoffset=-1 yoffset=6 xadvance=14 page=0 chnl=0 |
||||
char id=48 x=139 y=33 width=14 height=27 xoffset=0 yoffset=6 xadvance=14 page=0 chnl=0 |
||||
char id=49 x=501 y=0 width=8 height=27 xoffset=-1 yoffset=6 xadvance=7 page=0 chnl=0 |
||||
char id=50 x=26 y=33 width=14 height=27 xoffset=0 yoffset=6 xadvance=14 page=0 chnl=0 |
||||
char id=51 x=40 y=33 width=14 height=27 xoffset=0 yoffset=6 xadvance=14 page=0 chnl=0 |
||||
char id=52 x=54 y=33 width=15 height=27 xoffset=0 yoffset=6 xadvance=15 page=0 chnl=0 |
||||
char id=53 x=69 y=33 width=14 height=27 xoffset=0 yoffset=6 xadvance=14 page=0 chnl=0 |
||||
char id=54 x=83 y=33 width=14 height=27 xoffset=0 yoffset=6 xadvance=14 page=0 chnl=0 |
||||
char id=55 x=97 y=33 width=14 height=27 xoffset=0 yoffset=6 xadvance=14 page=0 chnl=0 |
||||
char id=56 x=111 y=33 width=14 height=27 xoffset=0 yoffset=6 xadvance=14 page=0 chnl=0 |
||||
char id=57 x=125 y=33 width=14 height=27 xoffset=0 yoffset=6 xadvance=14 page=0 chnl=0 |
||||
char id=58 x=44 y=60 width=6 height=16 xoffset=0 yoffset=17 xadvance=6 page=0 chnl=0 |
||||
char id=59 x=14 y=60 width=7 height=18 xoffset=-1 yoffset=18 xadvance=6 page=0 chnl=0 |
||||
char id=60 x=21 y=60 width=12 height=18 xoffset=0 yoffset=12 xadvance=12 page=0 chnl=0 |
||||
char id=61 x=94 y=60 width=14 height=11 xoffset=0 yoffset=16 xadvance=14 page=0 chnl=0 |
||||
char id=62 x=33 y=60 width=11 height=18 xoffset=0 yoffset=12 xadvance=11 page=0 chnl=0 |
||||
char id=63 x=159 y=33 width=13 height=27 xoffset=0 yoffset=6 xadvance=13 page=0 chnl=0 |
||||
char id=64 x=188 y=33 width=18 height=27 xoffset=0 yoffset=6 xadvance=18 page=0 chnl=0 |
||||
char id=65 x=108 y=0 width=16 height=27 xoffset=-1 yoffset=6 xadvance=14 page=0 chnl=0 |
||||
char id=66 x=124 y=0 width=14 height=27 xoffset=0 yoffset=6 xadvance=14 page=0 chnl=0 |
||||
char id=67 x=138 y=0 width=14 height=27 xoffset=0 yoffset=6 xadvance=14 page=0 chnl=0 |
||||
char id=68 x=152 y=0 width=14 height=27 xoffset=0 yoffset=6 xadvance=14 page=0 chnl=0 |
||||
char id=69 x=166 y=0 width=12 height=27 xoffset=0 yoffset=6 xadvance=12 page=0 chnl=0 |
||||
char id=70 x=178 y=0 width=12 height=27 xoffset=0 yoffset=6 xadvance=12 page=0 chnl=0 |
||||
char id=71 x=190 y=0 width=14 height=27 xoffset=0 yoffset=6 xadvance=14 page=0 chnl=0 |
||||
char id=72 x=204 y=0 width=14 height=27 xoffset=0 yoffset=6 xadvance=14 page=0 chnl=0 |
||||
char id=73 x=218 y=0 width=6 height=27 xoffset=1 yoffset=6 xadvance=7 page=0 chnl=0 |
||||
char id=74 x=224 y=0 width=14 height=27 xoffset=0 yoffset=6 xadvance=14 page=0 chnl=0 |
||||
char id=75 x=238 y=0 width=15 height=27 xoffset=0 yoffset=6 xadvance=13 page=0 chnl=0 |
||||
char id=76 x=253 y=0 width=12 height=27 xoffset=0 yoffset=6 xadvance=11 page=0 chnl=0 |
||||
char id=77 x=265 y=0 width=17 height=27 xoffset=0 yoffset=6 xadvance=17 page=0 chnl=0 |
||||
char id=78 x=282 y=0 width=15 height=27 xoffset=0 yoffset=6 xadvance=15 page=0 chnl=0 |
||||
char id=79 x=297 y=0 width=14 height=27 xoffset=0 yoffset=6 xadvance=14 page=0 chnl=0 |
||||
char id=80 x=311 y=0 width=14 height=27 xoffset=0 yoffset=6 xadvance=14 page=0 chnl=0 |
||||
char id=81 x=92 y=0 width=16 height=28 xoffset=0 yoffset=6 xadvance=15 page=0 chnl=0 |
||||
char id=82 x=325 y=0 width=15 height=27 xoffset=0 yoffset=6 xadvance=14 page=0 chnl=0 |
||||
char id=83 x=340 y=0 width=14 height=27 xoffset=0 yoffset=6 xadvance=14 page=0 chnl=0 |
||||
char id=84 x=354 y=0 width=14 height=27 xoffset=0 yoffset=6 xadvance=14 page=0 chnl=0 |
||||
char id=85 x=368 y=0 width=14 height=27 xoffset=0 yoffset=6 xadvance=14 page=0 chnl=0 |
||||
char id=86 x=382 y=0 width=16 height=27 xoffset=-1 yoffset=6 xadvance=14 page=0 chnl=0 |
||||
char id=87 x=398 y=0 width=22 height=27 xoffset=-1 yoffset=6 xadvance=20 page=0 chnl=0 |
||||
char id=88 x=420 y=0 width=16 height=27 xoffset=-1 yoffset=6 xadvance=14 page=0 chnl=0 |
||||
char id=89 x=436 y=0 width=16 height=27 xoffset=-1 yoffset=6 xadvance=14 page=0 chnl=0 |
||||
char id=90 x=452 y=0 width=13 height=27 xoffset=0 yoffset=6 xadvance=13 page=0 chnl=0 |
||||
char id=91 x=48 y=0 width=9 height=30 xoffset=0 yoffset=6 xadvance=9 page=0 chnl=0 |
||||
char id=92 x=206 y=33 width=16 height=27 xoffset=-1 yoffset=6 xadvance=14 page=0 chnl=0 |
||||
char id=93 x=57 y=0 width=10 height=30 xoffset=0 yoffset=6 xadvance=10 page=0 chnl=0 |
||||
char id=94 x=80 y=60 width=14 height=11 xoffset=0 yoffset=6 xadvance=13 page=0 chnl=0 |
||||
char id=95 x=173 y=60 width=15 height=5 xoffset=-1 yoffset=34 xadvance=13 page=0 chnl=0 |
||||
char id=96 x=148 y=60 width=10 height=6 xoffset=2 yoffset=10 xadvance=13 page=0 chnl=0 |
||||
char id=97 x=347 y=33 width=13 height=18 xoffset=0 yoffset=15 xadvance=13 page=0 chnl=0 |
||||
char id=98 x=465 y=0 width=13 height=27 xoffset=0 yoffset=6 xadvance=13 page=0 chnl=0 |
||||
char id=99 x=360 y=33 width=12 height=18 xoffset=0 yoffset=15 xadvance=12 page=0 chnl=0 |
||||
char id=100 x=478 y=0 width=13 height=27 xoffset=0 yoffset=6 xadvance=13 page=0 chnl=0 |
||||
char id=101 x=372 y=33 width=12 height=18 xoffset=0 yoffset=15 xadvance=12 page=0 chnl=0 |
||||
char id=102 x=491 y=0 width=10 height=27 xoffset=0 yoffset=6 xadvance=10 page=0 chnl=0 |
||||
char id=103 x=278 y=33 width=13 height=24 xoffset=0 yoffset=15 xadvance=13 page=0 chnl=0 |
||||
char id=104 x=0 y=33 width=13 height=27 xoffset=0 yoffset=6 xadvance=13 page=0 chnl=0 |
||||
char id=105 x=291 y=33 width=6 height=24 xoffset=0 yoffset=9 xadvance=6 page=0 chnl=0 |
||||
char id=106 x=20 y=0 width=8 height=30 xoffset=-2 yoffset=9 xadvance=6 page=0 chnl=0 |
||||
char id=107 x=13 y=33 width=13 height=27 xoffset=0 yoffset=6 xadvance=12 page=0 chnl=0 |
||||
char id=108 x=218 y=0 width=6 height=27 xoffset=0 yoffset=6 xadvance=6 page=0 chnl=0 |
||||
char id=109 x=384 y=33 width=20 height=18 xoffset=0 yoffset=15 xadvance=20 page=0 chnl=0 |
||||
char id=110 x=404 y=33 width=13 height=18 xoffset=0 yoffset=15 xadvance=13 page=0 chnl=0 |
||||
char id=111 x=417 y=33 width=13 height=18 xoffset=0 yoffset=15 xadvance=13 page=0 chnl=0 |
||||
char id=112 x=297 y=33 width=13 height=24 xoffset=0 yoffset=15 xadvance=13 page=0 chnl=0 |
||||
char id=113 x=310 y=33 width=13 height=24 xoffset=0 yoffset=15 xadvance=13 page=0 chnl=0 |
||||
char id=114 x=430 y=33 width=12 height=18 xoffset=0 yoffset=15 xadvance=12 page=0 chnl=0 |
||||
char id=115 x=442 y=33 width=12 height=18 xoffset=0 yoffset=15 xadvance=12 page=0 chnl=0 |
||||
char id=116 x=337 y=33 width=10 height=23 xoffset=0 yoffset=10 xadvance=10 page=0 chnl=0 |
||||
char id=117 x=454 y=33 width=13 height=18 xoffset=0 yoffset=15 xadvance=13 page=0 chnl=0 |
||||
char id=118 x=467 y=33 width=14 height=18 xoffset=-1 yoffset=15 xadvance=12 page=0 chnl=0 |
||||
char id=119 x=481 y=33 width=19 height=18 xoffset=-1 yoffset=15 xadvance=17 page=0 chnl=0 |
||||
char id=120 x=0 y=60 width=14 height=18 xoffset=-1 yoffset=15 xadvance=12 page=0 chnl=0 |
||||
char id=121 x=323 y=33 width=14 height=24 xoffset=-1 yoffset=15 xadvance=12 page=0 chnl=0 |
||||
char id=122 x=500 y=33 width=11 height=18 xoffset=0 yoffset=15 xadvance=11 page=0 chnl=0 |
||||
char id=123 x=67 y=0 width=12 height=30 xoffset=0 yoffset=6 xadvance=12 page=0 chnl=0 |
||||
char id=124 x=0 y=0 width=6 height=33 xoffset=1 yoffset=6 xadvance=7 page=0 chnl=0 |
||||
char id=125 x=79 y=0 width=13 height=30 xoffset=0 yoffset=6 xadvance=12 page=0 chnl=0 |
||||
char id=126 x=133 y=60 width=15 height=8 xoffset=1 yoffset=18 xadvance=17 page=0 chnl=0 |
||||
kernings count=0 |
After Width: | Height: | Size: 9.9 KiB |
After Width: | Height: | Size: 2.6 KiB |
@ -0,0 +1,11 @@ |
||||
apply plugin: "java" |
||||
|
||||
sourceCompatibility = 1.6 |
||||
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8' |
||||
|
||||
sourceSets.main.java.srcDirs = [ "src/" ] |
||||
|
||||
|
||||
eclipse.project { |
||||
name = appName + "-core" |
||||
} |
@ -0,0 +1,45 @@ |
||||
package sig.megamon; |
||||
|
||||
import java.io.File; |
||||
|
||||
import com.badlogic.gdx.ApplicationAdapter; |
||||
import com.badlogic.gdx.Files; |
||||
import com.badlogic.gdx.Gdx; |
||||
import com.badlogic.gdx.Files.FileType; |
||||
import com.badlogic.gdx.files.FileHandle; |
||||
import com.badlogic.gdx.graphics.GL20; |
||||
import com.badlogic.gdx.graphics.Texture; |
||||
import com.badlogic.gdx.graphics.g2d.BitmapFont; |
||||
import com.badlogic.gdx.graphics.g2d.GlyphLayout; |
||||
import com.badlogic.gdx.graphics.g2d.SpriteBatch; |
||||
|
||||
public class Megamon extends ApplicationAdapter { |
||||
SpriteBatch batch; |
||||
Texture img; |
||||
BitmapFont font; |
||||
|
||||
@Override |
||||
public void create () { |
||||
batch = new SpriteBatch(); |
||||
img = new Texture("megamon_icon64.png"); |
||||
font = new BitmapFont(Gdx.files.internal("fonts/AgencyFB.fnt")); |
||||
} |
||||
|
||||
@Override |
||||
public void render () { |
||||
Gdx.gl.glClearColor(0, 0, 0, 1); |
||||
Gdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT); |
||||
batch.begin(); |
||||
//batch.draw(img, 0, 0);
|
||||
batch.draw(img, 40, 40, 64, 64); |
||||
GlyphLayout size = font.draw(batch, "Test Text", 128, 128); |
||||
font.draw(batch, "Test Text", Gdx.graphics.getWidth()-size.width, 128-size.height); |
||||
batch.end(); |
||||
} |
||||
|
||||
@Override |
||||
public void dispose () { |
||||
batch.dispose(); |
||||
img.dispose(); |
||||
} |
||||
} |
@ -0,0 +1,31 @@ |
||||
<classpath> |
||||
<classpathentry path="bin" kind="output"/> |
||||
<classpathentry path="src" kind="src"/> |
||||
<classpathentry path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6/" kind="con"/> |
||||
<classpathentry path="/Megamon-core" kind="src"/> |
||||
<classpathentry path="C:/Users/Joshua Sigona/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-backend-lwjgl/1.9.6/ee7c23636ee4a942d329579daecc3ec5e517fe4c/gdx-backend-lwjgl-1.9.6.jar" kind="lib" sourcepath="C:/Users/Joshua Sigona/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-backend-lwjgl/1.9.6/54887b828ab0c6c55deae03b0cca70c31531bacd/gdx-backend-lwjgl-1.9.6-sources.jar"/> |
||||
<classpathentry path="C:/Users/Joshua Sigona/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-platform/1.9.6/6f84dd7a18dc68e4ec492dfbb0594f930babcf63/gdx-platform-1.9.6-natives-desktop.jar" kind="lib"/> |
||||
<classpathentry path="C:/Users/Joshua Sigona/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-box2d-platform/1.9.6/d7b6168f5afd3948fd126c0b248f66c49b73ca35/gdx-box2d-platform-1.9.6-natives-desktop.jar" kind="lib"/> |
||||
<classpathentry path="C:/Users/Joshua Sigona/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-controllers-desktop/1.9.6/edcf47b2893482520a4966ec8e226312a7326c17/gdx-controllers-desktop-1.9.6.jar" kind="lib" sourcepath="C:/Users/Joshua Sigona/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-controllers-desktop/1.9.6/f5ba0097c57c5aac38c87eef7778799be9166b90/gdx-controllers-desktop-1.9.6-sources.jar"/> |
||||
<classpathentry path="C:/Users/Joshua Sigona/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-controllers-platform/1.9.6/1c7ed71f8ade8f6f143f5ba42c003b183f499437/gdx-controllers-platform-1.9.6-natives-desktop.jar" kind="lib"/> |
||||
<classpathentry path="C:/Users/Joshua Sigona/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-tools/1.9.6/c666f1f58fcd461a023529991f463f3a9e3c5fec/gdx-tools-1.9.6.jar" kind="lib" sourcepath="C:/Users/Joshua Sigona/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-tools/1.9.6/719e725d4ea1836e79d8e91a773f3c6d462095e4/gdx-tools-1.9.6-sources.jar"/> |
||||
<classpathentry path="C:/Users/Joshua Sigona/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-freetype-platform/1.9.6/4c24b0349ba9756a29e84a77dcb2f17e47bbcef3/gdx-freetype-platform-1.9.6-natives-desktop.jar" kind="lib"/> |
||||
<classpathentry path="C:/Users/Joshua Sigona/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx/1.9.6/47d1e9b890e364ec28f128e9bb3b9a12a94c164/gdx-1.9.6.jar" kind="lib" sourcepath="C:/Users/Joshua Sigona/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx/1.9.6/7d903ecd6b0df2ec334814b8e70618e4c93fd37c/gdx-1.9.6-sources.jar"/> |
||||
<classpathentry path="C:/Users/Joshua Sigona/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-box2d/1.9.6/c249ef4060a4fada952f278455c8f7b9cba3c18a/gdx-box2d-1.9.6.jar" kind="lib" sourcepath="C:/Users/Joshua Sigona/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-box2d/1.9.6/584f96799f8fedc8e6bb87eef1e261f0e7f92900/gdx-box2d-1.9.6-sources.jar"/> |
||||
<classpathentry path="C:/Users/Joshua Sigona/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-controllers/1.9.6/ea1fd4884be631d9b7cd0f496b1ab39e31eb434b/gdx-controllers-1.9.6.jar" kind="lib" sourcepath="C:/Users/Joshua Sigona/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-controllers/1.9.6/a730ab024c77f376b24e635f1d82e7d69fc5c648/gdx-controllers-1.9.6-sources.jar"/> |
||||
<classpathentry path="C:/Users/Joshua Sigona/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-freetype/1.9.6/69187cc3c8062f191df435b43671b0e5ffcbf353/gdx-freetype-1.9.6.jar" kind="lib" sourcepath="C:/Users/Joshua Sigona/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-freetype/1.9.6/4b5600df790e2798b21d6e5decdf752698c05013/gdx-freetype-1.9.6-sources.jar"/> |
||||
<classpathentry path="C:/Users/Joshua Sigona/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl/2.9.2/a9d80fe5935c7a9149f6584d9777cfd471f65489/lwjgl-2.9.2.jar" kind="lib" sourcepath="C:/Users/Joshua Sigona/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl/2.9.2/4d114b5ef3ad3bf571b1f090cb00855991067e0b/lwjgl-2.9.2-sources.jar"/> |
||||
<classpathentry path="C:/Users/Joshua Sigona/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl_util/2.9.2/4b9e37300a87799856e0bd15ed81663cdb6b0947/lwjgl_util-2.9.2.jar" kind="lib" sourcepath="C:/Users/Joshua Sigona/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl_util/2.9.2/308d4ebe8d7b240d3490b6a7e0424807ea3ad98b/lwjgl_util-2.9.2-sources.jar"/> |
||||
<classpathentry path="C:/Users/Joshua Sigona/.gradle/caches/modules-2/files-2.1/com.badlogicgames.jlayer/jlayer/1.0.1-gdx/7cca83cec5c1b2f011362f4d85aabd71a73b049d/jlayer-1.0.1-gdx.jar" kind="lib" sourcepath="C:/Users/Joshua Sigona/.gradle/caches/modules-2/files-2.1/com.badlogicgames.jlayer/jlayer/1.0.1-gdx/f1c4ffebc5e4f68be914404faab580c20de8ea1f/jlayer-1.0.1-gdx-sources.jar"/> |
||||
<classpathentry path="C:/Users/Joshua Sigona/.gradle/caches/modules-2/files-2.1/org.jcraft/jorbis/0.0.17/8872d22b293e8f5d7d56ff92be966e6dc28ebdc6/jorbis-0.0.17.jar" kind="lib" sourcepath="C:/Users/Joshua Sigona/.gradle/caches/modules-2/files-2.1/org.jcraft/jorbis/0.0.17/5446be5d62e4c6b347c8e6cd28dc00a936417ba2/jorbis-0.0.17-sources.jar"/> |
||||
<classpathentry path="C:/Users/Joshua Sigona/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-backend-headless/1.9.6/d348af6c93c70dbbc23a56746051f0186334406f/gdx-backend-headless-1.9.6.jar" kind="lib" sourcepath="C:/Users/Joshua Sigona/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-backend-headless/1.9.6/ba34fa1f279c20fcbd43e36eeb2093b6124ab8c1/gdx-backend-headless-1.9.6-sources.jar"/> |
||||
<classpathentry path="C:/Users/Joshua Sigona/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl-platform/2.9.2/510c7d317f5e9e700b9cfaac5fd38bdebf0702e0/lwjgl-platform-2.9.2-natives-windows.jar" kind="lib"/> |
||||
<classpathentry path="C:/Users/Joshua Sigona/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl-platform/2.9.2/d276cdf61fe2b516c7b7f4aa1b8dea91dbdc8d56/lwjgl-platform-2.9.2-natives-linux.jar" kind="lib"/> |
||||
<classpathentry path="C:/Users/Joshua Sigona/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl-platform/2.9.2/d55b46b40b40249d627a83a7f7f22649709d70c3/lwjgl-platform-2.9.2-natives-osx.jar" kind="lib"/> |
||||
<classpathentry path="C:/Users/Joshua Sigona/.gradle/caches/modules-2/files-2.1/net.java.jinput/jinput/2.0.5/39c7796b469a600f72380316f6b1f11db6c2c7c4/jinput-2.0.5.jar" kind="lib" sourcepath="C:/Users/Joshua Sigona/.gradle/caches/modules-2/files-2.1/net.java.jinput/jinput/2.0.5/82604cfeb87b9ab70ed70aa19a137de8ceb21504/jinput-2.0.5-sources.jar"/> |
||||
<classpathentry path="C:/Users/Joshua Sigona/.gradle/caches/modules-2/files-2.1/net.java.jutils/jutils/1.0.0/e12fe1fda814bd348c1579329c86943d2cd3c6a6/jutils-1.0.0.jar" kind="lib" sourcepath="C:/Users/Joshua Sigona/.gradle/caches/modules-2/files-2.1/net.java.jutils/jutils/1.0.0/d18678a00b216863206a1bb6190507e02a32971b/jutils-1.0.0-sources.jar"/> |
||||
<classpathentry path="C:/Users/Joshua Sigona/.gradle/caches/modules-2/files-2.1/net.java.jinput/jinput-platform/2.0.5/7ff832a6eb9ab6a767f1ade2b548092d0fa64795/jinput-platform-2.0.5-natives-linux.jar" kind="lib"/> |
||||
<classpathentry path="C:/Users/Joshua Sigona/.gradle/caches/modules-2/files-2.1/net.java.jinput/jinput-platform/2.0.5/385ee093e01f587f30ee1c8a2ee7d408fd732e16/jinput-platform-2.0.5-natives-windows.jar" kind="lib"/> |
||||
<classpathentry path="C:/Users/Joshua Sigona/.gradle/caches/modules-2/files-2.1/net.java.jinput/jinput-platform/2.0.5/53f9c919f34d2ca9de8c51fc4e1e8282029a9232/jinput-platform-2.0.5-natives-osx.jar" kind="lib"/> |
||||
<classpathentry kind="src" path="assets"/> |
||||
</classpath> |
@ -0,0 +1 @@ |
||||
/bin/ |
@ -0,0 +1,24 @@ |
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<projectDescription> |
||||
<name>Megamon-desktop</name> |
||||
<comment></comment> |
||||
<projects> |
||||
</projects> |
||||
<buildSpec> |
||||
<buildCommand> |
||||
<name>org.eclipse.jdt.core.javabuilder</name> |
||||
<arguments> |
||||
</arguments> |
||||
</buildCommand> |
||||
</buildSpec> |
||||
<natures> |
||||
<nature>org.eclipse.jdt.core.javanature</nature> |
||||
</natures> |
||||
<linkedResources> |
||||
<link> |
||||
<name>assets</name> |
||||
<type>2</type> |
||||
<locationURI>PARENT-1-PROJECT_LOC/core/assets</locationURI> |
||||
</link> |
||||
</linkedResources> |
||||
</projectDescription> |
@ -0,0 +1,13 @@ |
||||
# |
||||
#Wed Aug 16 21:53:11 CDT 2017 |
||||
org.eclipse.jdt.core.compiler.debug.localVariable=generate |
||||
org.eclipse.jdt.core.compiler.compliance=1.6 |
||||
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve |
||||
org.eclipse.jdt.core.compiler.debug.sourceFile=generate |
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 |
||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error |
||||
org.eclipse.jdt.core.compiler.debug.lineNumber=generate |
||||
eclipse.preferences.version=1 |
||||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled |
||||
org.eclipse.jdt.core.compiler.source=1.6 |
||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error |
@ -0,0 +1,55 @@ |
||||
apply plugin: "java" |
||||
|
||||
sourceCompatibility = 1.6 |
||||
sourceSets.main.java.srcDirs = [ "src/" ] |
||||
|
||||
project.ext.mainClassName = "sig.megamon.desktop.DesktopLauncher" |
||||
project.ext.assetsDir = new File("../core/assets"); |
||||
|
||||
task run(dependsOn: classes, type: JavaExec) { |
||||
main = project.mainClassName |
||||
classpath = sourceSets.main.runtimeClasspath |
||||
standardInput = System.in |
||||
workingDir = project.assetsDir |
||||
ignoreExitValue = true |
||||
} |
||||
|
||||
task debug(dependsOn: classes, type: JavaExec) { |
||||
main = project.mainClassName |
||||
classpath = sourceSets.main.runtimeClasspath |
||||
standardInput = System.in |
||||
workingDir = project.assetsDir |
||||
ignoreExitValue = true |
||||
debug = true |
||||
} |
||||
|
||||
task dist(type: Jar) { |
||||
from files(sourceSets.main.output.classesDir) |
||||
from files(sourceSets.main.output.resourcesDir) |
||||
from {configurations.compile.collect {zipTree(it)}} |
||||
from files(project.assetsDir); |
||||
|
||||
manifest { |
||||
attributes 'Main-Class': project.mainClassName |
||||
} |
||||
} |
||||
|
||||
dist.dependsOn classes |
||||
|
||||
eclipse { |
||||
project { |
||||
name = appName + "-desktop" |
||||
linkedResource name: 'assets', type: '2', location: 'PARENT-1-PROJECT_LOC/core/assets' |
||||
} |
||||
} |
||||
|
||||
task afterEclipseImport(description: "Post processing after project generation", group: "IDE") { |
||||
doLast { |
||||
def classpath = new XmlParser().parse(file(".classpath")) |
||||
new Node(classpath, "classpathentry", [ kind: 'src', path: 'assets' ]); |
||||
def writer = new FileWriter(file(".classpath")) |
||||
def printer = new XmlNodePrinter(new PrintWriter(writer)) |
||||
printer.setPreserveWhitespace(true) |
||||
printer.print(classpath) |
||||
} |
||||
} |
@ -0,0 +1,12 @@ |
||||
package sig.megamon.desktop; |
||||
|
||||
import com.badlogic.gdx.backends.lwjgl.LwjglApplication; |
||||
import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration; |
||||
import sig.megamon.Megamon; |
||||
|
||||
public class DesktopLauncher { |
||||
public static void main (String[] arg) { |
||||
LwjglApplicationConfiguration config = new LwjglApplicationConfiguration(); |
||||
new LwjglApplication(new Megamon(), config); |
||||
} |
||||
} |
Loading…
Reference in new issue