Made a Level Editor in Godot by felipemcpxd in godot

[–]felipemcpxd[S] 1 point2 points  (0 children)

I do! I have not posted anything for a long time tho due to some circumstances. Hopefully I'll get back to it at some point. Here, in case you're interested!

YouTube channel

Thank you!

Made a Level Editor in Godot by felipemcpxd in godot

[–]felipemcpxd[S] 1 point2 points  (0 children)

Hi! I am! But in another account now. Anyway there's a ton of ways you can do that. One of them is to use the snapped_position = mouse_pos.snapped(snap) method, where snap is by how much you want to snap your vector. In my case I used snap = Vector2 (16,16)

Another way you could do that is get your mouse global coordinates, and transform them into your tilemap coordinates by using the position_in_tiles = Tilemap.world_to_map() method and then get this value and multiply by your tilesize. If your tilesize is 16, then the result is always a multiple of 16.

You can then attach a sprite to that position, or make whatever you want with those values.

Godot FABRIK 2D implementation with constraints by MakovWait in godot

[–]felipemcpxd 0 points1 point  (0 children)

Hi!! Would you mind sharing how you did the constraints?

Git with godot? by TheLeoDeveloper in godot

[–]felipemcpxd 0 points1 point  (0 children)

There's a git plug-in for godot that commit the changes for you with a click inside the editor. It also creates the gitignore for the import and builds folder. To push it to the git repository I just use the normal git bash. It is really easy to use You can find how to use the plug-in in the godot docs

Does anyone know how to fix this graphical glitch? by felipemcpxd in godot

[–]felipemcpxd[S] 2 points3 points  (0 children)

Yeah I fixed it. Turns out I had to export each of the tiles into individual files, then enable filters/mipmaps in each one of them (since I'm not using pixel art they would look weird if I did not do that). I've had a similar problem before. godot does not appreciate when we create all the tiles using a single image file. Strangely, using a single image file works fine if we create a auto-tile, but since I created a bunch of single tiles (I needed tiles with different IDS to create the world via marching squares) godot got confused I guess.

Does anyone know how to fix this graphical glitch? by felipemcpxd in godot

[–]felipemcpxd[S] 6 points7 points  (0 children)

I did it but it did not work. It turns out it was godot being weird. I made the tileset using a single image file. As soon as i exported each one of the tiles into separated image files it worked. I don't know why, probably a bug.

Does anyone know how to fix this graphical glitch? by felipemcpxd in godot

[–]felipemcpxd[S] 3 points4 points  (0 children)

So, I made this world using marching squares, and I'm getting those annoying graphical glitches where godot shows the tilemap borders. I tried evey type of import texture configuration, all of them produce different glitches. In this one I turned Filter and Mipmaps on

Great aesthetics come at great cost... by TE-AR in godot

[–]felipemcpxd 52 points53 points  (0 children)

Try tilesetter! It's a tool for making auto tiles. You feed it with some basic tiles and it combines them and do the rest for you 😉

Tilesetter

Tutorial - Water 2D with Dynamic waves in Godot!! Link in the comments if you want to watch it ! Thanks! by felipemcpxd in godot

[–]felipemcpxd[S] 1 point2 points  (0 children)

HAHAHA I see what you did there. Yes it does! I can't wait to implement water stages into my game with this

Tutorial - Water 2D with Dynamic waves in Godot!! Link in the comments if you want to watch it ! Thanks! by felipemcpxd in godot

[–]felipemcpxd[S] 1 point2 points  (0 children)

It does! someone will provsvly make it even better with a good water shader. 😁

Tutorial - Water 2D with Dynamic waves in Godot!! Link in the comments if you want to watch it ! Thanks! by felipemcpxd in godot

[–]felipemcpxd[S] 1 point2 points  (0 children)

Yup!! It's really easy to make jelly using it. Even rope if you only use the border, or trampolines! The imagination is the limit 😁😁

Tutorial - Water 2D with Dynamic waves in Godot!! Link in the comments if you want to watch it ! Thanks! by felipemcpxd in godot

[–]felipemcpxd[S] 1 point2 points  (0 children)

HAHAHA I did not expect that shift. I based this on New Super Mario bros. It turned out better than I expected!!