9 months ago

GameDev Progress Post for February!

Happy March everyone! I hope you're all doing well! I think this is everything I got done this month!

Enjoy!


Weather

Continued working on my weather rework, added additional Particles for each Rain and Snow speed instead of just changing the speed when new weather starts since that makes it change for all current weather in every chunk.

Set up a timer to make the weather ground effect happen in time with the weather particles landing.

 

monstisla1864.gif

1864

 

monstisla1866.gif

1866

Not sure how this happened? I wasn't able to replicate it again and I didn't change any settings, so something to keep an eye out for...

 

monstisla1865.gif

1865

Goblins

Split the Goblin sprites into 2 more parts. Previously I had Body/Ears/Arms/Hat, now body is skin/clothes.

 

monstisla1877.gif

1877

Might have messed up at first though, put the RNG value in the draw code instead of the spawn code so...Goblins with Power Stars?

 

monstisla1876.gif

1876

Quick stress test

 

1879_ezgif-1-11cd44ca0c.gif

1879

Split up the other existing Goblin sprites, they can now sit and maintain their palettes, also the player can roll around (at the speed of sound?) :D

 

monstisla1891.gif

1891

Started work on an Conversation/Emote/Reaction system for NPC's. If they're near each other they'll exchange a little animation.

 

monstisla1892.gif

1892

 

monstisla1893.gif

1893

 

monstisla1894.gif

1894

Added some spinning to make it more lively

 

monstisla1896.gif

1896

Added [Happy Clapping] as a Reaction option

 

monstisla1897.gif

1897

Look at these two love birds! <3

 

monstisla1898.gif

1898

Added [Shocked] and [Laughing] Reactions

 

monstisla1899.gif

1899

Made it so Reactions aren't always the same for both Goblins

 

monstisla1900.gif

1900

Cleaned up the code and fixed some bugs, Goblins no longer get stuck with their arms in the air after jumping sometimes. They now also face the correct way after spinning.

 

1901_ezgif-1-9b80474ff9.gif

1901

I've got the Reactions synchronised, but I'm thinking it might be better to have a Call and Response system so it's more like a conversation is happening. Might add a counter so they can have more of a back and forth.

Added [UwU] reaction

 

monstisla1902.gif

1902

Added [Plead] reaction

 

monstisla1903.gif

1903

Underground/Caves

Started working on stuff below the island.

 

monstisla1872.gif

1872

Thought I could just using the existing draw system for the island, but since walls need a higher part and a different depth based on place that's not possible, so I'm only drawing the floor with that. The walls are done as tiles since you can add them with depth.

 

monstisla1873.gif

1873

 

monstisla1874.gif

1874

After many mistakes and at least 2 days lost overall, I built a new Auto-tiler for it since the cave walls are taller than 16x16 and I couldn't get my head around how to draw them with my existing tilemaps T_T

 

monstisla1875.gif

1875

Realised that my new Cave system code broke how the Underground worked, so I had to remake that using the same stuff, but with a pre-defined shape.

 

1880_ezgif-1-1d4506a18a.gif

1880

The Underground is now built like how I'm doing houses, from strings in arrays. Which works really well but I hope I can find an easier way to populate it, because while it's quick enough to add new rows adding new columns is kind of a pain

 

underground_array_code.png

There's also an issue with adding Objects like Torches to this array, since tiles are 32x32 and torches base is 16x16.

For now I've just set it so if the Torch Y value is greater than the mid-point of the room, offset the Y of it by 16. Same for if it's X value.

 

monstisla1881.gif

1881

I've had some other ideas to deal with this, but this is probably the quickest and simplest. But it wont work for everything.

-I could just make an array that lists the object types and their x/y values instead.

-I could just put them dead centre of the tile? That's not how buildings work on the Island, but meh!

-I could make new sprites that are tile sized? Give the Torches a big fancy base!

Buildings

Add Wall Torches, and set them up to be controlled by the Wall they're attached too.

Will probably add a flip button for if there's a wall on either side of the placement area, as well as adjusting the preview direction

 

monstisla1883.gif

1883

This works, but I'm not really happy about having the Torches as separate objects to the Wall. I might change it so you just add an image to the Wall instead. The only issue with that is you won't be able to select the specific side to place it on without a big rework to the Build Collision Check code. So instead you'd select the Wall, and then cycle which side to build on.

I can't think of a way to select which side to destroy with that method, so I'll probably be limited to 1 Light per wall. Another concern with this is building Walls where there's a Wall Light already, will need to add a check for that.

Never mind! Set them up as Over Layer objects to Walls, and added a check for them when Selling things!

 

monstisla1885.gif

1885

Should be pretty light on the fps, they have as few variables as I could get away with, mostly just  their wall, and refund data.

Older gif, but they provide light correctly too.

 

1884_ezgif-1-426f0db47f.gif

1884

Fixed the X offset for Wall Torches and added additional sides to Walls, as well as a Front Plate, so now I can do Wall Hangings, like Paintings! Currently there are 3 designs!

 

monstisla1887.gif

1887

Tried experimenting with wider Paintings.

 

monstisla1888.gif

1888

it works, but there's an issue where you can still place a Painting one Wall to the right, so that's not ideal. I could make it so placing a wide Painting assigns it to each Wall under it, but that's going to cause issues with loads of stuff.

 

monstisla1889.gif

1889

Maybe I'll see about making it so adjacent Paintings merge and just have the 16x16 ones?

So split the wide Painting into a left side and a right side?

Added a Fountain. It's both decorative and functional! You can fill your Watering Can here as well as throw in some money for a wish?

 

monstisla1890.gif

1890

I'm thinking I'll reuse some of the features from Perpetuus Redux for this, at least the ones that are compatible. But since you aren't limited to random encounters I might limit some options to once a day.

I'm also thinking of either limiting how many Fountains you can place or have it spawn as part of the Ruins on the island. My reasoning being I want decorative items to have effect on Goblins happiness, and for the player not to just spam them everywhere X'D Maybe an area of effect applied to houses would be better than just a build count for it. ?:)

Optimisation/Testing

I did a rework of Flooring, swapping out objects for a ds_grid, I was looking good but unfortunately since I have bits of Flooring that are higher and should block the view of things behind them it's not going to work. 

 

monstisla1868.gif

1868

Drawing the sprites from the grid data doesn't allow for adjusting depth.

 

monstisla1869.gif

1869

So I've taken it back out and went back to the old code. There might be a way to do it by changing the depth of the the object that is drawing them after each line? But I'm not sure how good an idea that is to do.

Did some testing, turns out you can't change the depth in the draw code...so that's out. There is a   possible way of doing it using the 3D3/GPU specific draw code but I couldn't get it to work

 

monstisla1870.gif

1870

At the least I could use this for Roofing!

Bug Fixes and small Changes

-Fixed a bug where rolling into Trees wouldn't spawn their Drops.

-Fixed a bug where the palette shader wasn't getting all possible colours.

-Added Tile Collision checks for Water Edges and Cave Walls.

-HOPEFULLY added the Wall Escape code to the correct place, so the game wont freeze if you get stuck in a wall.

-Swapped out a bunch of If/Else conditions with Switch Statements.

-Fixed a condition where Soil wasn't being Culled.

Thank you all again so much for your support and interest, it truly means the world to me and helps keep me motivated.

 

parade039s.gif

I hope you all have an a amazing month, please look after yourselves!



2 comments

Loading...

Next up

WOO!

Happy Sunday everyone! I hope you're well! Family is all back so I got Sunday Lunch today!

Also, so many shiny maonkeys!

Time to get back to Progress Post!

Please take care, do your best and remember you're all awesome and unstoppable in your goals!

Happy November everyone!

Super slow month since I took a few days off for my birthday, and spent a lot of time making new sprites which doesn't really require much write up.

#Joltober 2024 has come to an end so we wanted to show off some of the art posted by your fellow Jolters.

Thank you to everyone who participated in this year's challenge!

(Check the article to links to the original posts so you can give 'em a like!)

DING!

Joltober is here! Today's prompt is Spider! Each day in October, you’ll get a new prompt and a new quest at 12 pm Eastern! Go to your quest log to find the quest! It'll expire tomorrow at 9 am PT / 12 pm ET.

Ok, going by my test project it's totally possible to draw physics objects to the UI (top left corner). That doesn't solve the issue of having possibly 100's of extra object active at once though.

Meh, this is just a thought experiment.

OMGOSH! Shiny Shadow Beldum!

I guess everyday is a Friday when it's a #FanArtFriday! This one's my most recent art of Majora's Mask

Yea, definitely time for a Converting/Crafting UI overhaul Gonna make it smaller, and more more intuitive

Every time I go to use this I forget if it's on [Insert Fuel] or [Insert Item]

Swapping to use the Modular InventoryUI from Fishtank etc will fix it!