cspotcode / cspotcode/angl

Write parser of GMKSplitter's output

Open
#8 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Start work on a parser for the output of GMKsplitter.

Should process all the XML documents, spitting out some sort of structure I can easily work with for writing TypeScript source code. A JSON structure? Full Typescript objects?

Sprites should parse into some sort of spritesheet format. Borrow from Pixi.js? Another standard? Make my own thing?

How to handle collision boxes? Match the sprite? Spit out separate collision data structure?

Objects have:
- list of fields to be initialized in constructor
- list of methods
- decide how to map GML events to TypeScript methods. Be pragmatic. Reject any GML baggage.

Allow me to inject hints/directions into the process? E.g. "In Class Foo rename timer0 to killPlayer" or "Class Baz is not a full GameObject; merely a simple class." These hints would be stored in a hand-created data structure.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.