Grid level editor

Show off your games, demos and other (playable) creations.
glitchapp
Party member
Posts: 238
Joined: Tue Oct 05, 2021 10:34 am
Contact:

Grid level editor

Post by glitchapp »

I've recently build a grid based level editor for my project fish fillets remake. Since the tool could be useful for any grid based game and it can easily be tweaked to fit any needs I packaged all necessary files to make it standalone.
editor
editor
LevelEditor.gif (493.33 KiB) Viewed 8810 times
The repository can be found here: https://codeberg.org/glitchapp/Grid-Level-Editor

Click on releases to download it packed as a love file.

I hope you find it useful.
glitchapp
Party member
Posts: 238
Joined: Tue Oct 05, 2021 10:34 am
Contact:

Re: Grid level editor

Post by glitchapp »

The level editor is almost finished, now you can also make screenshots within the game and I plan to add the ability of exporting to png or jpg images since all the elements to make it a pixel art tool are there.

It even work on the browser although export won't work there: https://glitchapp.codeberg.page/Level-E ... ditor.html

If you want to contribute to the last problem which is the object creation feature please check issues here: https://codeberg.org/glitchapp/Grid-Lev ... r/issues/1

Contributions to the interface and icons are also welcome.

Please find attached the last version of the standalone, be aware that the version on the game has a pair of extra features such as toggling the grid out or ability to add screenshots, they will be added to the standalone once all the issues are solved and the software is completed.

I hope you like it!
Attachments
levelEditor.love
(1009.8 KiB) Downloaded 101 times
glitchapp
Party member
Posts: 238
Joined: Tue Oct 05, 2021 10:34 am
Contact:

Re: Grid level editor

Post by glitchapp »

Graphics!
LevelEditor22.gif
LevelEditor22.gif (1021.62 KiB) Viewed 8615 times
You can now draw tiles with textures and select backgrounds.
It does not export those settings yet but I will add those features to the export function in future iterations.
glitchapp
Party member
Posts: 238
Joined: Tue Oct 05, 2021 10:34 am
Contact:

Re: Grid level editor

Post by glitchapp »

Now it's possible to load, play and share custom levels. Sharing a level is as easy as exporting it and copying it to the root of any up to date game.
loadlevel.jpg
loadlevel.jpg (34.26 KiB) Viewed 8571 times
There are features that are still in progress but most of the tool works. Info on non working features and issues can be found here:https://codeberg.org/glitchapp/fish-fil ... /wiki/Wiki

Feel free to use it for any grid based game, tweaking it for any needs is easy.
User avatar
Pinko
Prole
Posts: 45
Joined: Sat Jul 29, 2023 3:22 pm
Contact:

Re: Grid level editor

Post by Pinko »

Maybe i can use it as a fancy drawing app or title generator for videos.

A different font would make it more readable. There are many free good fonts online.

Pinko
Author of the vape knigge. I have thought of you! is much better than "i have waited for you". :cool:
glitchapp
Party member
Posts: 238
Joined: Tue Oct 05, 2021 10:34 am
Contact:

Re: Grid level editor

Post by glitchapp »

Hi, sure feel free to use it as you wish, right now you can not export to png or jpg but you can make screenshots withing the game.

That font is one I use for the game, changing font is super easy,simply change this on leveleditor.lua:
--fonts

Code: Select all

poorfish = love.graphics.newFont("fonts/PoorFish/PoorFish-Regular.otf", 84)
and copy your font to the fonts folder.

I may not be able to fit all needs but I encourage anyone interested to fork and tweak the tool, I'll be happy to know if you use the tool in other projects and will try to improve it with feedback.
glitchapp
Party member
Posts: 238
Joined: Tue Oct 05, 2021 10:34 am
Contact:

Re: Grid level editor

Post by glitchapp »

A few milestones recently reached in the level editor:
exit aras
exit aras
exitAreas.gif (1 MiB) Viewed 8490 times
Exit areas now work.
Exported files work right away, no need to change them.
Selected tiles now render while playing a custom level.
You can share your custom exported levels by simply copy them to the root of any up to date game.
You can play your custom levels and solve them directly from the level editor.
glitchapp
Party member
Posts: 238
Joined: Tue Oct 05, 2021 10:34 am
Contact:

Re: Grid level editor

Post by glitchapp »

I fully redesigned the gui and now it looks like this:
New UI
New UI
LevelEditor.gif (1.38 MiB) Viewed 8273 times
You only have access to the new gui by updating the game, the standalone is a bit outdated now.

I hope you like how the gui is being shaped.
Last edited by glitchapp on Wed Sep 27, 2023 11:08 am, edited 1 time in total.
User avatar
darkfrei
Party member
Posts: 1182
Joined: Sat Feb 08, 2020 11:09 pm

Re: Grid level editor

Post by darkfrei »

Nice work! Maybe make the grid lines thinner?
:awesome: in Lua we Löve
:awesome: Platformer Guide
:awesome: freebies
glitchapp
Party member
Posts: 238
Joined: Tue Oct 05, 2021 10:34 am
Contact:

Re: Grid level editor

Post by glitchapp »

Hi Darkfrei,

This is a prototype of the design, honestly I'm not very good at designing guis and I took ideas from several editors and tools... I may consider add advanced settings to let users decide things like the grid size etc...
Before I get into all of that my priority is to make all primary function works, I still have work to do with the object creation functions and the load level function, after that I will polish everything else.

Thanks for the feedback!
Post Reply

Who is online

Users browsing this forum: No registered users and 51 guests