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

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.

OH! Different way of doing it.

11 lines of code, no randomness needed to stop them bouncing forever up and down!

This still means individual objects for the balls and bouncers, but no physics engine definitely means this is possible for minigames!

It's nearly 6am, I gotta sleep "I don't think so" - OneShortEye and Summoning Salt urghhh

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

Ok, this version works without physics. I had to scrounge up some old bullet code from a platformer project I have.

It's nowhere near as accurate, and entirely random bounce angle when colliding with something. But it works and use like 15 lines of code?

Happy #WIPWednesday!

Are you working on a game?

Making some art?

Practicing a song?

Something else?

Tell us in the comments!

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 #WIPWednesday!

Are you working on a game?

Making some art?

Practicing a song?

Something else?

Tell us in the comments!

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.