#studio #aseprite #yy #gms2 #sprite #game-maker #typings

yy-typings

A collection of typings for GameMaker Studio 2 YY and YYP files

40 releases

new 0.7.1 Apr 18, 2024
0.6.0 Dec 7, 2023
0.5.3 Sep 4, 2023
0.5.2 Jul 24, 2023
0.3.2 Jul 30, 2020

#525 in Data structures

46 downloads per month
Used in 2 crates

MIT/Apache

300KB
3.5K SLoC

Yy-Typings

This is a library was created for the development of Fields of Mistria, a farming RPG with tons of Sprites, by NPC Studio. Jack Spira wrote the first version of this tool and maintains it. This tool was created to support an Aseprite -> GMS2 pipeline tool. That tool is not public. Using this tool, one should be able to generate their own pipeline without difficulty.

This crate targets 2023.6.0.92 currently..

This repository has a pair: the Yy-Boss, which provides active Yyp handling as a library and as a binary over stdin/stdout, abstracting over Gms2's native types to allow users to dynamically create resources (and analyze existing resources) without handling the Gms2 Yy files directly.

This crate is composed of typings for the .yyp and various .yy files. The following typings have been created (and are actively supported):

  • YYP
  • Sprites
  • Tilesets
  • Sounds
  • Paths
  • Scripts
  • Shaders
  • Fonts
  • Timelines
  • Objects
  • Rooms
  • Notes
  • Included Files
  • Extensions
  • Options*
  • Configurations

*Options are not directly user accessible, but are provided through other structures like TextureGroups. The Options file itself is very non-spec, and it difficult to get a cohesive picture of.

The Future Development of this Crate

This course of this crate will be developed as it is needed for further tools for Fields of Mistria. Eventually, all the Gms2 Yy files will be typed, though no guarentee is made of the maintainer's time or any particular deadline. If users would like to help, PRs are always welcome!

Dependencies

~5–7.5MB
~137K SLoC