Menu

📰
0

Reddit - Please wait for verification

Learn Javascript·/u/VlentGamer·3 days ago
#9i0OgE6V
Reading 0:00
15s threshold

Hello! I posted here not too long ago to ask about something else, and today, regarding the same game (it doesn't matter which one), I'd like to know how to create “image grids” in JavaScript. Here's an example from a game I like (excerpt): https://cdn.dashnet.org/cookieclicker/img/icons.png?v=2.058 (safe link, don't worry). I'd like to know how to use this in JavaScript to export images from a single image (“spritesheet”), in this case icons! Thank you in advance! submitted by /u/VlentGamer [link] [comments]

Read More