This is a small test of an online cloud game, with 2 players, a scrolling map, and 2.5D hitboxing. The game will assign you to the first player available. Once in the game, use the control layout below: W: Move Up A: Move Left S: Move Down D: Move Right Space: Reset Cloud Data Not moving on a game tick results in that tick being an "idle" tick. 800 idle game ticks in a row will cause you to be kicked from the game due to inactivity, and will open up that slot for another player.
This is just a short test to see if I could create a sort of online game. I might use this later on in a future project, but that'd be after I update Heroes of Arhcaanis more. --Change Log-- 12/18/2023: v0.1. Cloud system with 2 players and a scrolling 2.5D world. 3/25/2024: v0.2. Added the ability to switch between new rooms, and changed the code to utilize camelCase. --Possible Upcoming Features-- -Better hitboxing -Displayed usernames over players -More players -Ability for player slots to reopen after a disconnect via closing the tab rather than just inactivity or stopping the project --Credits-- Scripts: Me Sprites: Me. The player sprites were taken from my latest game, Heroes of Arhcaanis. Backdrops: Me Viewing This: You!