My WebAssembly compiler can handle shitty recursive functions now.
I'm really happy I made it dump control flow graphs. Mainly for debugging, but it's nice to be able to show off something marginally more interesting than a bunch of code.
Attempting to make a slot machine work in a way that results in nothing for the player. Just a simple "E" interact, that results in a random set of orientations +/- fixed definitions. I'm not a programmer in the slightest though, so this may be a challenge I'm not ready for... Lol.
Just finished a spectate system that is comprised of a Component, Screen Panel, and a variable on the main player component to trigger spectating mode.
How it works: when a player dies, or is unable to spawn due to whatever reason (game in progress would be an example), the player doesn't spawn as a player with a controller, but as a spectator with the spectator component, this component initially gets all connections in the lobby that have a valid PlayerController and builds the components local "Connections" list, whenever the spectator clicks LMB/RMB it rebuilds that list of Connections locally to check if any other players have died before attempting to switch to the next/previous player. The component also wraps around the list, so you're not just randomly jumping between players, it chooses the next based on the connection index from the networking component.
Simple UI:Video showing spectate player cyclingComponent information:
Camera with selfie mode and face flexes, photos upload to a backend service with optional Discord posting support, and spawning of photo frames in-game
Working on some new modes/types for Drop (Decay + Mimic), still need to polish and do some network testing... But overall game together over the course of a Saturday afternoon :D
Been working on NPC aiming and navigation these weeks, had to refactor the player too so that we can just add the NPC component on top of them and they'll function as Bots to fight against. You could even give yourself the NPC component and let it play for you.