/Frutty

Java game originally made for Uni project

Primary LanguageJava

Project:

  • Originally made as a University project (meaning it doesn't use Maven or Gradle or any external dependencies)
  • Supports SinglePlayer games & local Co-Op games
  • Has NPC-s
  • Save files
  • External plugin system
  • World editor
  • Stats

image image

Installation, running:

  • Download 'Frutty.zip' from 'Releases'
  • Unzip it somewhere
  • Start 'Frutty.exe'

World Editor plugin:

  • Download WorldEditor.zip from 'Releases'
  • Open the game, go to 'Plugins'
  • Press 'Install Plugins from Zip', browse for the plugin zip
  • Restart the game
  • The 'World Editor' button should be visible inside the menu

image

Developer Console:

  • Add '-console' to the end of the 'target' option of the shortcut
  • For available commands type 'list'

image

Building:

  • Needs Java installed
  • Needs Python installed (for running the build file)
  • Run the 'build_app.py' file

Plugin development:

  • The WorldEditorPlugin & LavaZonePlugin plugins are examples
  • The 'frutty.plugin' directory is a good starting point. It is well documented with lots of examples
  • Every plugin jar needs a MANIFEST.MF file with the Plugin-Class attribute
  • Run the 'build_jar.py' file to build only the game jar so you can add it as a library in the IDE