Skip to content

A tilemap library for p5.js's OpenGL mode that is optimized to draw tilemaps within a single draw call

License

Notifications You must be signed in to change notification settings

RandomGamingDev/GLTilemapp5js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GLTilemapp5js

A tilemap library for p5.js's OpenGL mode that is optimized to draw tilemaps within a single draw call using WebGL

Here's an example showing how to use the library https://github.com/RandomGamingDev/GLTilemapp5js/tree/main/examples/p5js-example. You can see the example here: https://raw.githack.com/RandomGamingDev/GLTilemapp5js/main/examples/p5js-example/index.html.

This library requires the following libraries which are to be imported in the following order:

To use it you can simply include https://cdn.jsdelivr.net/gh/RandomGamingDev/GLTilemapp5js/tilemap.js alongside this library's dependencies in your HTML file! If you want to you can also just download the file and include it in your HTML file that way.

btw stuff updates so remember to specify a version/commit for your library if you want to use a link and don't want your code to automatically update to the newest version of the library

Releases

No releases published

Packages

No packages published