analgesicproductions / Anodyne-1-Repo

Anodyne 1 Source Code
Other
373 stars 36 forks source link

This is a complete repository of Anodyne, the 2013 game made by Analgesic Productions, compiled by Melos Han-Tani on April 4th, 2020. Find me on Twitter https://twitter.com/han_tani.

For license info, see LICENSE.md.

If you have questions ask in our discord https://discordapp.com/invite/analgesic

As of 9/23 2023, Anyone may download and use the game assets and source code! Even without owning Anodyne. However, to play any identical remakes/spinoffs, we would appreciate it if you purchased a copy of the game first.

Important Files Related to Installation/Editing Game

Questions? Found some code comments I should delete (I tried to catch most)? feel free to e-mail me at hello@analgesic.productions and I'll answer questions or make updates.

Guide to game files

mp3/, sfx/

intra/

Explanation of files in intra/

bat/

bin/

obj/

src/

txt/

xml_app/

Top Level files:

Analgesic Music Source Files - this is all of the original music source files which you can open in REAPER and play back using the free sfz plugin with some freely available soundfont files. There's more instructions inside! REAPER lets you easily export these projects as MIDI files to use in other DAWs, even if you don't have the original plugins.

Intra.dam - The level data. You'll need to figure out how to build a working version of DAME level editor, unfortunately, but I did include the source code for that.

Intra-AIR.as3proj - the flashdevelop IDE file. Minimaps.dam - Level data for the in-game minimaps

various .bat files: These are used for packaging the game (as an .exe or .apk), or for testing the game using flash player. You could play the game in mobile-size with on screen buttons by running RunMobile.bat, but if you wanted to build an APK you'd need to install android SDK and update the .bat files SDK paths accordingly

Z_HELP.txt - various ramblings to myself about updating the game or how to build stuff. some of this is out of date, I'm not sure. maybe amusing.

Source code and Assets ("src/" folder)

awerwer, ca, com

-various extensions for mac controllers, steam. none of these are integrated into this public version so this is obsolete i think)

csv/

-tilemap data for the levels. you could edit these with DAME (the level editor). Note that collision data is elsewhere

data/

entity/

extension - code for joyquery

global

helper

lua

-Exporters for use with DAME level editor.

org

-Contains the open source Flixel engine. I might have made some modifications here, idk.

res

-art assets for the game

states

-various inner game loops. Using the "State" system from flixel (essentially groups of related objects that can be added/removed from the game). PlayState contains the game's most important loop, where the player and enemies are added and stuff, level loading. Some of these files aren't used I think

xml

-the exported level data (exported from the .dam file via DAME, which needs to be compiled to be used)

Loose top-level files in src/

Main.as

-Entry point of the code -initializing the flash stage.

Intra.as

-The FlxGame of Anodyne (if you are familiar with the Flixel engine). The vast majority of this is mobile touch controls, but some game loop management is here too

buildmap.py