Skip to content

Commit

Permalink
0.14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
littledivy committed Oct 2, 2024
1 parent 0f41fd8 commit da2504e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2021-2023 Divy Srivastava
Copyright (c) 2021-2024 Divy Srivastava

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ deno_sdl2 provides bindings to sdl2, sdl2_ttf and sdl2_image.

https://user-images.githubusercontent.com/34997667/160436698-9045ba0c-3fc8-45f9-8038-4194e5d3dcc8.mov

Minimum supported Deno version: 2.0.0-rc.5
Minimum supported Deno version: 2.0.0-rc.7

### get started

```typescript
import { EventType, WindowBuilder } from "jsr:@divy/sdl2@0.13";
import { EventType, WindowBuilder } from "jsr:@divy/sdl2@0.14";

const window = new WindowBuilder("Hello, Deno!", 640, 480).build();
const canvas = window.canvas();
Expand All @@ -30,7 +30,7 @@ for await (const event of window.events()) {
```

```shell
deno run --allow-env --allow-ffi https://jsr.io/@divy/sdl2/0.13.0/examples/hello.ts
deno run --allow-env --allow-ffi https://jsr.io/@divy/sdl2/0.14.0/examples/hello.ts
```

### installing sdl2
Expand Down Expand Up @@ -88,7 +88,6 @@ your own risk.
- https://github.com/dhairy-online/dino-deno
- https://github.com/dhairy-online/flappybird
- https://github.com/load1n9/caviar

- ...insert your project here

### license
Expand Down

0 comments on commit da2504e

Please sign in to comment.