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

Hmm. Attack movement (for spells) set attacks to use if runSysTimer mod 10 == 0, instead of the if alreadyHit == false, to run the collision code.

Seems to work I should probably experiment to see how infrequent I can be with the trigger.

I now have Magic!

kinda.

Ok! Footprint particles are all working again! Prioritises snow over the ground types. I should add a decay timer in case you stand still too long

Valentine's Day on Game Jolt is all about celebrating love!

Go ahead and spread LOVE by gifting your friends, surprising your favorite creators, and sharing joy online with something special from our shop.

#gjbroadcast

Got around to adding some blending between the Beach and Desert now i should probably populate the Beach with some things to make it a bit nicer to look at!

Will do tile variants like I have for Grassland, but I'd like objects to interact with too.

Happy #WIPWednesday!

Are you working on a game?

Making some art?

Practicing a song?

Something else?

Tell us in the comments!

I THINK that's all fixed and working? Gained loads of FPS back.

I thought I'd need to remove another nested for loop, but since Ground Surface is only done once I don't.

Only issue is I've lost the dust cloud when adding Paving.

GOT IT!

Ground draws right for world, and UI. Now to get back to improving frame rate*.

*current is with WAY too many chrome tabs open.

Happy #WIPWednesday! Are you working on a game? Making some art? Practicing a song? Something else? Tell us in the comments!

OMGOSH Someone just subbed to me on #Kofi!

Thank you so much for your T2 membership Jana, I sincerely appreciate your support!

It will really help me out a lot!