Loading...
639
2 years ago

Ok, This is how my Custom Building Lighting works for now.


I've settled on having any Roofing with Flooring (not Paving) below it acting as a light source when you're under it. At some point I'll add in some Wall checks too so the game can sort of check if it's a Building.

It's a little hard to tell what's happening because of the Players light source, but you can see how it works with the ones nearby.

I still might add a way of defining an area as a Building and using that instead, but that would mean adding another option to the Build Menu, as well as having a way of clearing it.

I'd only be able to have square buildings though



6 comments

Loading...

Next up

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 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.

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!

I now have Magic!

kinda.

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

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

Ok, got some tile variations on the Beach, but it's just RNG. I need to work out some patterns and use those instead. I had some with little bits of grass but they looked bad.

Also added Shells and Glass Bottles.

@ilta is a Jolter to Watch! She's your local elven blacksmith! She creates pixel art, swords, chainmail, and more! Follow her before the quest ends on February 4 and you'll get Coins!

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.