Contains typescript declarations of CreateYourFrisk to be used with TypescriptToLua.
All important stuff is located in typings/
, you can use them by adding reference path on starting of file, The path should be relative or absolute to where is located cyf-declarations. You should only place one of them in their respectives files.
/// <reference path="./cyf-ts-decl/typings/Encounter.d.ts" />
/// <reference path="./cyf-ts-decl/typings/Monster.d.ts" />
/// <reference path="./cyf-ts-decl/typings/Waves.d.ts" />
You shouldn't import index.d.ts
, it'll import only the vars/methods/events that exists both in Encounter, Monster and Waves scripts.
It contains "AbstractTypes" that represents some different types for better representation but in game they might represent simple objects such as array of array, such as Color
and Color32
. Also aswell, there is enums such as DialogBubbles
and DefaultStates
.
This project is still incomplete, but if you find a way to use this, let me know.
- Modules (95%)
- Bullet & Projectiles
- Text Commands
- Improve TSDoc and Comments.
- Make TSConfig.json equivalents to place in
Encounters/
,Monsters/
andWaves/
.
I'm not a man who knows everything, so there will be some possible errors. And I made them as fast as I possible, so I used AI to boost most of process.
If I would tag a version for this, I would say... DECL v0.2.1 - CYF v0.6.2.2
I'll progressivelly update this but if you find anything that should be changed feel free to commit.