1 year ago

ok gonna sleep

I think I've got the Crafting System UI set up so it will match with how I want the Building System UI.
Just need to do that next.


You can now change craft quantity before changing the Recipe Components, previously it would reset to 0 but now it sets the crafting quantity to the most you can craft with how much of the component you have.
I've only tested it with 1 component recipes so I'll probably have to add a for loop to check multiple components.

Edit: Actually, changed the maths.
It now checks if;

if Amount Crafting * Component Amount Needed > Amount Have

{

Amount Crafting = Amount Have DIV Component Amount Needed;

}

That should avoid the need for a loop.

3
3
2
2
2
1
1
1
1
1
1
1
1
1
1
1
1


4 comments

Loading...

Next up

#GJAsks I thought it would have been Tennis for the Atari 400 which my dad had, but I can't find evidence of the cartridge, so I'm gonna say Joust which I still have from back then!

https://www.youtube.com/watch?v=Rc_mV9bbTpY

wait,

WAIT. WAIT WAIT WAIT. JOLTIDAY GOBLINS!?!?!?!!!!!!

Nothing I make will ever be better than the tiny birbs

Quick and dirty Quest system and UI. No idea how to do strike through text so I just added [DONE] to the completed tasks.

Mob locks work! Activating the Beacon locks the gate and spawns mobs, killing them all grants a reward and unlocks it letting you out again!

Adding a key system for Gates and stuff (on top of the existing Button system which is now over-rided by keys) I can also have other conditions like a specific number of enemies need to be killed before they open.

Need to fix the collision detection.

WOOP!

Updating water, added some stuff to make things more visually pleasing. I think I need the tint back or maybe to try different blending. Kinda want to try a displacement map again instead of the directional movement? Need to find that again. (laptop gif)

I now have working Vertical Gates! Also reworked the build code so that the Wall parts are automatically built either side of the Gates, saves me having to work it out each time.

Added more underwater stuff. They aren't too visible. Some of them look a little weird though, I dunno maybe I need to mix the up instead of having single ones.