Open-source code and assets from Lawless Legends and its supporting tools
Go to file
2014-07-15 23:17:23 -05:00
Docs/Tutorials Fix setpc value 2014-07-07 07:52:51 -07:00
Example Content Renamed untitled image to 8BW 2013-08-04 21:08:19 -05:00
OutlawEditor Corrected GetBoolean return value so it can be used with logic statements 2014-07-06 16:59:07 -05:00
Platform/Apple Changed move_zp_word to move_word and got rid of indirect/jsr stuff (it saved a byte per call but was much slower, not worth it.) 2014-07-15 23:17:23 -05:00
.gitignore Converting main loop to PLASMA. 2014-07-06 14:40:35 -07:00
LICENSE Initial commit 2013-08-01 21:00:10 -07:00
README.md Changed upload link for Outlaw 2014-07-06 07:55:28 -07:00

Lawless Legends

This project contains all open-source (Apache-licensed) code and assets related to Lawless Legends and its supporting tools. This project is currently in its infancy, so don't be surprised if some things move around or seem to appear out of nowhere in the code base. We're still trying on some ideas of how to manage developer workflow, and feedback is greatly appreciated!

The Apache license covers everything in here, including any sample game content that might filter in from time to time. The primary goal for this open-source project is to build out game creation tools and hopefully the majority of a usable game engine that can be used in conjunction with the tools to build a playable RPG game. By being open-source, we are saying you are free to build your own games with these tools and distribute those games as you see fit. You are not obligated to distribute your games as open-source or freeware, but we do ask that you consider contributing bug fixes back up to this main branch so that the community can benefit, and at the very least uphold the terms of the Apache license that apply to this code.

How to get involved

Grab a daily build and play with it! If you are a QA tester or a developer you can get a pre-built copy of the development version of the game and boot it in your favorite apple or apple emulator. If you want to change things around, go for it! Just remember that you have to check in your code later on (see notes to 6502 coders) before you can use the next daily build! If you are helping us with testing, you can discard the daily build once you're finished with it -- nobody likes old bugs!

You (yes, you!) can get involved even if you have no programming experience and just want to dabble with retro gaming. We will need testers who are not afraid to press untold combinations of buttons for the sake of breaking things and telling the programmers how misbehaved our code is. You are welcome to test our build process for yourself and let us know if there's a way you think we can make it easier -- because ultimately we are striving to collaborate with modern technology while building a game that runs on old pre-internet 8-bit technology: There are bound to be pitfalls and some amount of inconvenience is almost assured! But despite this, we think we can achieve the following:

  • Common game creation tools (Outlaw Editor) which run in all modern OS platforms using Java 7 / JavaFX 2.2 (Java 8 compatibility will be assured after Java 8 GA is released)
  • Native game development on-platform, meaning you code the Apple engine on the Apple (via Merlin Pro)
  • Native program code is managed within the virtual computer's disk image and synchronized out via provided scripts (see Notes to 6502 Coders below)
  • Native game development and game previewing is possible on real hardware (using VSDrive/ADT Pro or CDDB), or emulation (using any apple //e or //gs emulator)
  • New tricks to teach our old dogs. Many surprises await!

Notes to 6502 Coders

Time to ROL up your sleeves and accumulate some good documentation on Prodos memory layouts and Prodos device drivers! We're going to make this game so that you can run (and exit back to) Prodos on any 128kb (or more) machine. That means the //c and //gs will be natively compatible as well. We have some cool routines written, but are still in our infancy:

  • Fast tile drawing using text page 1 ($400-$7ff) as scratchpad
  • Crazy awesome Hi-res 3D raycaster engine

We need a lot more, and ideas are greatly appreciated for the following:

  • Module-based memory management which can utilize extra ram whenever possible
  • Mockingboard playback routines
  • Ensoniq DOC playback routines
  • Image depack routines, with support for animation frames and transparent overlays.

Daily build process

  1. Core tools are checked out from the repository (e.g. Outlaw Editor) and built.
  2. For each platform, tools are checked out and each platform's main build script is run.
  3. All built assets are uploaded to the daily build download locations

The apple platform build works as follows:

  • Start with a clean base image from platforms/apple/base
  • Run the sync script in platforms/apple/tools to update source files in the image
  • Run the export script in platforms/apple/tools to export common game data from Example Content in to data folders of the image ++ The export script is used by creative authors to update things like tiles, images and maps used by the game
  • Run the build script in platforms/apple/tools to run the build process and compile all source code, this renders executables in the daily build image ++ Note: Please familiarize yourself with the build script, you might have to add your source files to its list of known sources!

How to build

  • Each platform has its own process, refer to each platform's readme for more details.
  • The Outlaw Editor has more information about how to build it locally using Apache Maven and is described in the OutlawEditor readme.