- Resembling the C API as much as possible. If someone reads a SDL tutorial (for example LazyFoo) then they should be able to easily translate the tutorial to the equivalent in this library.
- Creating a higher level API or Game Framework. This library’s only purpose is to expose the SDL API to deno.
Creating a Project
To aid in creating a new project which uses
SDL_ts there is an
init.ts script to aid in getting your project set up:
deno run --allow-net --allow-read=/path/to/project --allow-write=/path/to/project --import-map https://email@example.com/imports.deno.json https://firstname.lastname@example.org/init.ts /path/to/project
/path/to/project with the desired project path. After that the new project can be started via a deno task:
deno task start
You should be presented with a window titled “SDL_ts”.
Deno images taken from https://deno.land/artwork.
- Samip Poudel for the Jurassic deno image.