A tile-based game engine for the Apple IIgs written in 65816 asssembly language
Go to file
Lucas Scharenbroich 456744027d Inline all functions that are only called once
Eliminates the JSR/RTS overhead for the copy functions.  Combined
with the other streamlining, we save around 60 - 70 cycles per
bank, or a total savings of around 10,000 cycles per seconds when
running at full screen.

This doesn't really change the FPS, but just gives some cycles
back to the main application logic.
2022-07-28 13:15:46 -05:00
.github/images
.vscode
archive
demos Remove redundent initialization 2022-07-28 12:18:54 -05:00
docs Fix documentation for AddSprite 2022-07-24 21:21:10 -05:00
emu
macros Add horizontal scaling to the background rotation 2022-07-22 02:01:34 -05:00
ref
src Inline all functions that are only called once 2022-07-28 13:15:46 -05:00
tools Add horizontal scaling to the background rotation 2022-07-22 02:01:34 -05:00
_FileInformation.txt
.gitignore
build-image.bat Fix path to tool when building at the top-level 2022-07-24 21:20:33 -05:00
package-lock.json Save package lock 2022-07-23 16:32:17 -05:00
package.json Add additional npm script targets 2022-07-24 21:20:54 -05:00
README.md Move documentation to the github pages location. 2022-07-04 20:56:37 -05:00


Generic Tile Engine for the Apple IIgs

A high-performance library for writing tile-based games for the Apple IIgs personal computer in 65816 assembly langugage. Unlock the full, 16-bit potential of the last machine of the Apple ][ line.

Introduction

The Generic Tile Engine (GTE) project is a tile engine built to exploit the unique hardware capabilities of the Apple IIgs personal computer. It supports the Apple IIgs super hires graphics mode (320x200, 16/256 colors) and provides two full-screen independent scrolling layers along with software sprites. The API and core functionality of the library is inspired by the graphics hardware of the NES/SMS/SNES/Genesis console era.


Parallax scrolling of two full-screen static layers

Building from Source

The library iscurrently implemented as a set of source files that must be compiled into a GS/OS application. A set of example project can be found under the demos folder. Each demo folder uses a package.json file to define the build targets and a build of each application can be created by executing a npm run build command.

Each demo application has a build script that also builds the toolset and copies it, along with the demo S16 application file, to the target disk image.

Dependencies

GTE uses the merlin32 assembler to compile its source into GS/OS OMF files and Cadius to copy those files onto a ProDOS disk image. The paths to these tool can be set in the package.json file.

An empty 2MG disk image is included in emu/Target.2mg and is used as the default location for copying demo applications. This image can be mounted in any IIgs emulator.


Build of demo app in the IIgs Finder

Documentation

Please refer to the GTE Toolbox documentation.

References