Page 1 of 2

Grid level editor

Posted: Sat Sep 16, 2023 10:03 pm
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 12702 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.

Re: Grid level editor

Posted: Mon Sep 18, 2023 9:41 am
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!

Re: Grid level editor

Posted: Wed Sep 20, 2023 7:39 am
by glitchapp
Graphics!
LevelEditor22.gif
LevelEditor22.gif (1021.62 KiB) Viewed 12507 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.

Re: Grid level editor

Posted: Sat Sep 23, 2023 10:11 am
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 12463 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.

Re: Grid level editor

Posted: Sat Sep 23, 2023 12:14 pm
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

Re: Grid level editor

Posted: Sat Sep 23, 2023 1:35 pm
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.

Re: Grid level editor

Posted: Sun Sep 24, 2023 7:54 am
by glitchapp
A few milestones recently reached in the level editor:
exit aras
exit aras
exitAreas.gif (1 MiB) Viewed 12382 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.

Re: Grid level editor

Posted: Tue Sep 26, 2023 7:37 am
by glitchapp
I fully redesigned the gui and now it looks like this:
New UI
New UI
LevelEditor.gif (1.38 MiB) Viewed 12165 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.

Re: Grid level editor

Posted: Tue Sep 26, 2023 7:39 am
by darkfrei
Nice work! Maybe make the grid lines thinner?

Re: Grid level editor

Posted: Tue Sep 26, 2023 8:51 am
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!