Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(1 edit)

Day 11

And here is today's update. I worked on:

  • UI
  • Pathfinding


First I thought some more about music, looking through all kinds of tracks online, and I'm also having someone help me with making the music (well they're doing the making part, I'm just listening to it).

Then sometime later I started cracking on the UI. Making one of those is really a nightmare, stuff just doesn't do what you tell it to, for some reason there's that weird 6 pixel margin on the left side of screen that I cannot get rid of and adding new parts is really tiring. Then after deciding to watch a tutorial and it seemed like it made sense now, everything was working as intended, that pesky margin was gone. But then I clicked on the maximize window button and everything broke apart. I looked for some tutorials about this and tried following them. Nope, still broken.

.

.

.


Lets turn that off for now, I'll return to it ... someday.

Anyway after the UI, I went to work on pathfinding and that went well, I used the AStar node that Godot has and made a script that automatically scans the tilemap and picks tiles that are walkable and makes a graph, and now I can get a good path between any two points on the map, as long as the path exists.

I would give you guys a screenshot of how this works, but since I changed the input that goes into the script that control unit movement, it's now broken. (T_T)

That's all for today.

P.S.  I added raycast tests so that units don't try to shoot through walls.