My KAPLAY.js template
A template for KAPLAY.js games
It's up to you if you wanna use this template or not.
The code of the html can be found at ./html/
If you wanna use v4000, then do the following:
- Replace k.env.d.ts with this file
- Make this change in index.html:
- <script src="https://unpkg.com/kaplay@3001.0.19/dist/kaplay.js"></script> + <script src="https://unpkg.com/kaplay@next/dist/kaplay.js"></script>
- That's it! Enjoy making games in v4000!
Thank you @lajbel from the KAPLAY Team for the k.env.d.ts file! (Link to Issue#73 on KAPLAY's Github)