Shift from Game-Design
26
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,26 @@
|
||||||
|
.gradle
|
||||||
|
/build/
|
||||||
|
/run/
|
||||||
|
/out/
|
||||||
|
*.DS_STORE
|
||||||
|
*.iml
|
||||||
|
*.ipr
|
||||||
|
*.launch
|
||||||
|
*.iws
|
||||||
|
.idea/workspace.xml
|
||||||
|
screenshots
|
||||||
|
/.idea/
|
||||||
|
|
||||||
|
# Ignore Gradle GUI config
|
||||||
|
gradle-app.setting
|
||||||
|
|
||||||
|
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
|
||||||
|
!gradle-wrapper.jar
|
||||||
|
|
||||||
|
# Cache of project
|
||||||
|
.gradletasknamecache
|
||||||
|
|
||||||
|
# # Work around https://youtrack.jetbrains.com/issue/IDEA-116898
|
||||||
|
# gradle/wrapper/gradle-wrapper.properties
|
||||||
|
settings.properties
|
||||||
|
.idea/misc.xml
|
||||||
7
CREDITS.md
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
The sounds have been sourced from [OpenGameArt](https://opengameart.org/content/512-sound-effects-8-bit-style)
|
||||||
|
|
||||||
|
|
||||||
|
The textures have been sourced from [itch.io](https://0x72.itch.io/16x16-dungeon-tileset)
|
||||||
|
|
||||||
|
|
||||||
|
**100%** of the code that I did not write has been sourced with a comment *preceeding* the code
|
||||||
1
README.md
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
# Game-Design
|
||||||
BIN
assets/icon/icon16.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
assets/icon/icon32.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
assets/justabit.ttf
Normal file
BIN
assets/sounds/damage/damage_hit1.wav
Normal file
BIN
assets/sounds/damage/damage_hit10.wav
Normal file
BIN
assets/sounds/damage/damage_hit2.wav
Normal file
BIN
assets/sounds/damage/damage_hit3.wav
Normal file
BIN
assets/sounds/damage/damage_hit4.wav
Normal file
BIN
assets/sounds/damage/damage_hit5.wav
Normal file
BIN
assets/sounds/damage/damage_hit6.wav
Normal file
BIN
assets/sounds/damage/damage_hit7.wav
Normal file
BIN
assets/sounds/damage/damage_hit8.wav
Normal file
BIN
assets/sounds/damage/damage_hit9.wav
Normal file
BIN
assets/sounds/damage/player_hit1.wav
Normal file
BIN
assets/sounds/damage/player_hit2.wav
Normal file
BIN
assets/sounds/death/bat_death.wav
Normal file
BIN
assets/sounds/death/dark_mage_death.wav
Normal file
BIN
assets/sounds/death/flame_death.wav
Normal file
BIN
assets/sounds/death/gut_eater_death.wav
Normal file
BIN
assets/sounds/death/ice_monster_death.wav
Normal file
BIN
assets/sounds/death/oozer_death.wav
Normal file
BIN
assets/sounds/death/orc_death.wav
Normal file
BIN
assets/sounds/death/player_death.wav
Normal file
BIN
assets/sounds/death/rock_monster_death.wav
Normal file
BIN
assets/sounds/death/zombie_death.wav
Normal file
BIN
assets/sounds/environment/level_up.wav
Normal file
BIN
assets/sounds/menu/menu sounds.zip
Normal file
BIN
assets/sounds/menu/move.wav
Normal file
BIN
assets/sounds/menu/select.wav
Normal file
BIN
assets/sounds/player_jump.wav
Normal file
BIN
assets/sounds/sword_slash.wav
Normal file
BIN
assets/textures/entity/bat.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
assets/textures/entity/dark_mage.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
assets/textures/entity/flame.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
assets/textures/entity/gut_eater.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
assets/textures/entity/ice_monster.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
assets/textures/entity/oozer.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
assets/textures/entity/orc.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
assets/textures/entity/player.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
assets/textures/entity/projectile/bullet.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
assets/textures/entity/projectile/potato.png
Normal file
|
After Width: | Height: | Size: 504 B |
BIN
assets/textures/entity/rock_monster.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
assets/textures/entity/zombie.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
assets/textures/environment/exit.png
Normal file
|
After Width: | Height: | Size: 5 KiB |
BIN
assets/textures/environment/grass.png
Normal file
|
After Width: | Height: | Size: 2.8 KiB |
BIN
assets/textures/environment/house.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
assets/textures/environment/menu.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
assets/textures/environment/sky.png
Normal file
|
After Width: | Height: | Size: 55 KiB |
BIN
assets/textures/environment/wall.png
Normal file
|
After Width: | Height: | Size: 23 KiB |
BIN
assets/textures/environment/wall_decor_1.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
assets/textures/environment/wall_decor_2.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
assets/textures/environment/wall_decor_3.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
assets/textures/environment/wall_decor_4.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
assets/textures/environment/well.png
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
assets/textures/err.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
assets/textures/items/broad_sword.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
assets/textures/items/dagger.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
assets/textures/items/fist.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
assets/textures/items/great_sword.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
assets/textures/items/heart.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
assets/textures/items/potato_gun.png
Normal file
|
After Width: | Height: | Size: 3.5 KiB |
BIN
assets/textures/items/refined_sword.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
assets/textures/items/rusty_sword.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
assets/textures/items/wooden_sword.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
assets/tileset.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
70
build.xml
Normal file
|
|
@ -0,0 +1,70 @@
|
||||||
|
<project name="game" default="compile" basedir=".">
|
||||||
|
<property name="src" location="src/"/>
|
||||||
|
<property name="assets" location="assets/"/>
|
||||||
|
<property name="build" location="build/"/>
|
||||||
|
<property name="lwjgl" location="../lib/lwjgl-2.9.3"/>
|
||||||
|
<property name="slick" location="../lib/slick-util"/>
|
||||||
|
|
||||||
|
<path id="project.class.path">
|
||||||
|
<pathelement path="{$classpath}"/>
|
||||||
|
<fileset dir="${lwjgl}">
|
||||||
|
<include name="jar/*.jar"/>
|
||||||
|
</fileset>
|
||||||
|
<fileset dir="${slick}">
|
||||||
|
<include name="*.jar"/>
|
||||||
|
</fileset>
|
||||||
|
</path>
|
||||||
|
|
||||||
|
|
||||||
|
<target name="init">
|
||||||
|
<mkdir dir="${build}"/>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
|
||||||
|
<target name="compile" depends="init" description="compile the source">
|
||||||
|
<javac srcdir="${src}"
|
||||||
|
destdir="${build}"
|
||||||
|
classpathref="project.class.path"
|
||||||
|
includeantruntime="false"/>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="clean"
|
||||||
|
description="clean up">
|
||||||
|
<delete dir="${build}"/>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<condition property="native" value="${lwjgl}/native/macosx">
|
||||||
|
<os family="mac"/>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<condition property="native" value="${lwjgl}/native/windows">
|
||||||
|
<os family="windows"/>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<target name="run" description="run the compiled code" depends="compile">
|
||||||
|
<property name="native" location="natives"/>
|
||||||
|
<!-- <echo message="${native}" /> -->
|
||||||
|
|
||||||
|
<java classname="Defaults" fork="true">
|
||||||
|
<sysproperty key="java.library.path" value="${native}"/>
|
||||||
|
<!-- <sysproperty key="java.awt.headless" value="true" /> -->
|
||||||
|
|
||||||
|
<classpath refid="project.class.path"/>
|
||||||
|
<classpath>
|
||||||
|
<pathelement path="build/"/>
|
||||||
|
</classpath>
|
||||||
|
</java>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="check-syntax" depends="init" description="check for errors">
|
||||||
|
<javac destdir="${build}"
|
||||||
|
classpathref="project.class.path"
|
||||||
|
includeantruntime="false">
|
||||||
|
<src path="${CHK_SOURCES}"/>
|
||||||
|
<compilerarg value="-Xlint"/>
|
||||||
|
</javac>
|
||||||
|
|
||||||
|
</target>
|
||||||
|
|
||||||
|
|
||||||
|
</project>
|
||||||