Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/chances/render-loop

A generic and reusable render loop for applications and games.
https://github.com/chances/render-loop

game-development render-loop

Last synced: about 1 month ago
JSON representation

A generic and reusable render loop for applications and games.

Awesome Lists containing this project

README

        

# Render Loop for Deno

[![JSR](https://jsr.io/badges/@chances/render-loop)](https://jsr.io/@chances/render-loop)
[![JSR Score](https://jsr.io/badges/@chances/render-loop/score)](https://jsr.io/@chances/render-loop)
[![Render Loop CI](https://github.com/chances/render-loop/actions/workflows/deno.yml/badge.svg)](https://github.com/chances/render-loop/actions/workflows/deno.yml)

## Usage

```sh
deno run --allow-hrtime
```

### Permissions

Use `--allow-hrtime` to increase runtime precision of a render loop.

## License

[MIT License](https://opensource.org/licenses/MIT)

Copyright © 2024 [Chance Snow](https://chancesnow.me). All rights reserved.
Copyright © 2020 [Joel](https://github.com/da1nerd). All rights reserved.

### Attribution

Adapted from the [`render_loop`](https://www.shardbox.org/shards/render_loop) Crystal library, licensed under the [MIT License](https://github.com/da1nerd/render_loop/blob/master/LICENSE).

Informed by Robert Nystrom's book, [Game Programming Patterns](http://gameprogrammingpatterns.com).