twgpu

Crates.iotwgpu
lib.rstwgpu
version0.3.0
sourcesrc
created_at2022-05-22 14:20:16.158368
updated_at2024-06-05 13:56:19.671082
descriptionRender Teeworlds and DDNet maps
homepage
repositoryhttps://gitlab.com/Patiga/twgpu
max_upload_size
id591153
size276,013
(Patiga)

documentation

README

TwMap

Render Teeworlds and DDNet maps anywhere!

This library is written with wgpu, which runs natively on its backends Vulkan, DirectX, Metal, OpenGL and WebGL.

Usage

  • Add twgpu = 0.3.0 in your Cargo.toml
  • Check out the docs

Features

  • Gameplay rendering with twsnap is work-in-progress, but quite far
  • Map rendering is fully implemented
  • Tilemap rendering is done with a different method that allows rendering them with the same speed on every zoom level. The render speed depends on the amount of pixels, however tilemaps that don't cover the whole map are optimized

Limitations

  • Tilemaps are uploaded to the gpu as textures, they can't be bigger than the maximum texture size in that context
Commit count: 139

cargo fmt