Pix2Level - Create Levels From Pixel Art

Show off your games, demos and other (playable) creations.
Post Reply
User avatar
Baggef
Prole
Posts: 18
Joined: Fri Aug 23, 2019 7:30 pm
Location: USA
Contact:

Pix2Level - Create Levels From Pixel Art

Post by Baggef » Fri Nov 08, 2019 9:38 pm

I made a simple little "level editor", if you can call it that, that uses a low resolution image to create a level based on the rgb values of the pixels in the image. Currently there are ground tiles, platforms, lava, and coins. Only the coins work but this is more a proof of concept for an image level editor in love2d.

The colors are black, green, red, and yellow and any other color is ignored but still drawn.
Image
https://imgur.com/gallery/oDuQf0X

Feel free to reuse the code any way you want!
Attachments
paintLevel.love
(11.49 KiB) Downloaded 49 times
gaeem defelpmint is maiy pashin
Itch: Freakman
Twitter: baggefArt

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests