1 year ago

Happy December everyone! I hope you are all well and had a great November

Here's my GameDev Progress Post for the month!

All progress from the start link! https://www.patreon.com/posts/81674255


Water Shader Rework

Adventures in Shaders! Trying to make my water look better...mistakes were made along the way, but I learned a lot! Still don't understand shaders though X'D

 

monstisla1677.gif

Changed the shallow water to look like sand, figured that makes more sense?

 

monstisla1678.gif

Added some under the shoreline, to remove the gap.

 

monstisla1681.gif

Made a nice blue, but this caused issues with other stuff.

 

monstisla1682.gif

Like Swamps. As it was, the shader applied to all water, so I had to figure out how to split them.

 

ezgif-2-a07b7d64c1.gif

Didn't work.

 

monstisla1685.gif

This worked, but really inefficient and slow, look at those huge numbers next to the FPS!

 

monstisla1686.gif

Wish I could remember how I made this radioactive water, that could be fun for something!

 

monstisla1688.gif

Also this, really love these colours! (forgot to turn off the shader)

 

monstisla1689.gif

And here. Also put the x/y values into the scale, so moving up and left shrank everything X'D

 

monstisla1690.gif

Trying a different shader, doesn't really work.

 

monstisla1691.gif

This looks better!

 

monstisla1692.gif

Checking how this look with the shader off.

 

monstisla1693.gif

I like this, but it's too metallic/marble?

 

monstisla1694.gif

Same but with less white.

 

monstisla1695.gif

Cycling through some blend options

 

--

Ended on this for now!

 

ezgif-2-b2686cf96f.gif

1707

Reworked how I'm doing it to make it faster and less cpu/gpu heavy. I'm now drawing the water and land separate and merging the surfaces.

World Gen

Spent about a day messing with the World Gen values to make sure that the Island doesn't touch the map boundaries

 

3x3-30-maps-keytafkr.gif

Here's some 3x3 chunk maps!

Since I've got SubChunks set up I've started working on some patterns for variations on terrain types. So a Grass Biome can be a Plain, a Forrest, a Field etc...

 

monstisla1710.gif

1710

 

monstisla1711.gif

1711

 

monstisla1712.gif

1712

 

monstisla1713.gif

1713

Items

Terraforming Potions

Fixed a bug where Terraforming didn't change tree ground overlay, or destroy them if the new terrain couldn't support that tree type.

 

monstisla1708.gif

1708

Buildings

Added Tables and updated Stools to both the main build menu and house build menu.

 

monstisla1714.gif

1714

Fixed wandering Training Dummies...

 

monstisla1715.gif

1715

NPC's

Ok ok! Musical Chairs time!

 

monstisla1717.gif

1717

Goblins can now find a chair, claim it and sit in it for a while. They also randomly pick a direction to look at!

Had an issue with placing things in their way...seems you can't use the mp_grid_path to recheck your path, so I had to find another solution.

 

monstisla1719.gif

1719

Fixed the Pathfinding by working out where they are in their path, getting that as x/y values as well as the next path spot and it's x/y's and doing a collision line. Repeat that until you hit something or get to the line end. Sorted!

 

monstisla1718.gif

1718

I think that's all sorted now, they smoothly get on and off chairs, and check for a valid path to them and a free place to leave

 

monstisla1728.gif

1728

Turns out there was a mistake in my code for leaving chairs where they'd get stuck in things when leaving left or right and there was something diagonally down to it. So fixed that. Also made it so they can use chairs in houses (if unowned)

 

monstisla1734.gif

1734

You can also now talk to Goblins (and Animals?) that are sitting in chairs or using things.

 

monstisla1740.gif

1740

Also when you're sitting in chairs!

monstisla1742.gif

1742

Also took this opportunity to fix my debug spawn Goblin code, so that it wouldn't let them spawn inside objects (like Yolie Leaf has there)

monstisla1734.gif

1734

 Did a full rework of the Pathfinding especially in relation to Jobs

monstisla1739.gif

1739

Goblins will now check if they have the tools for the job (seeds in this case), or if there is a task they can do without it. If so and it's work hours they'll move in range of their Jobsite and do what tasks they can. When they can't they'll wander about nearby (had to stop them wandering too far away).

Minor Bug Fixes/Changes

-Fixed Shadows on Tall Grass and Reeds.

-Fixed Shoreline animation speed, and it missing a frame.

-Fixed some bugs with world gen and the world edges, checking out of bounds not returning the correct results and spawning erroneous shoreline.

-Fixed World Gen not taking the height of the world into account when Generating tile types.

-Fixed Training Dummies not being saved

-Fixed Chairs and Training Dummies not being culled

-Fixed Houses not saving/loading Training Dummies.

-Fixed House Object Load limit bug.

-Replaced the various Draw Goblin code (sprite/menu/etc) with a single script so everything is universal.

-Fixed Chair Surfing

-Fixed Farm soil being saved independent of the farm

-Fixed Farm watering glitch

Thank you all so much for your interest and support, it really means the world to me and helps keep me working hard!

 

parade032.gif
parade034s.gif

 

I hope you all have a fantastic December, please wrap up warm and mind your footing.

Look after yourselves everyone and keep being awesome!



4 comments

Loading...

Next up

Happy New Years everyone! I hope you're all having a great one!

ヾ( ˃ᴗ˂ )◞ • *✰

Well I manage to get a couple shinies in the car ride back from lunch so not too bad! Also, here's some TCG Pocket cards I got recently!

Well I dunno if I've fixed it (it was an infrequently occurring bug) but I've reworked the code and it's much simpler now. Seems there was a bunch of stuff I didn't need?

#ikea

Our 2024 Advent Calendar has opened! Day 28: @Silentfaith is a great Creator and comic artist who also codes fan games! Accept the quest and give them a follow to get Coins and a seasonal sticker!

WOAH!

@AnubiArts is a Jolter to Watch! They post great pixel and low poly art! Follow them before the quest ends on December 31 and you'll get Coins!

I WILL figure this damn bug out >:|

Ok, I think I've settled on something I'm happy with for the Spelunky Menu. Just gonna test it, then go have my stupid little walk and catch some Pokemon. Gonna be so cold

Our 2024 Advent Calendar has opened! Day 19: @SnowHexArt is a great Creator who creates pixel art including animations, assets, and more! Accept the quest and give them a follow to get Coins and a seasonal sticker!

>:| One day I'll figure out why this square edge happens.