Today was a lot about performance and networking and inheriting Habbo style!
(4,5MB image)
To start things off with, I flooded the server with 20 bots that changes its path randomly to a completely random position, whether it be valid or invalid. Top image is with 20 bots, bottom is with 10. This is the result of those tests. There is still room for improvement on the server as I didn't touch the server code a lot today. Either way, what I've done today is... I updated a lot of pieces in the room renderer and its components. I rewrote a lot of stuff for the better and if you paid attention to the top images, the walking frames are 1:1 to Habbo, the transitions are precise (and automatic now).
The transition method used to transition an user from one tile to another is the same method that any other entity can use, let it be the room map (walls and floor), furniture, or user, or even something else to be added in the future! They all inherit the same methods. Here it is for the furniture rotation I implemented today too!
You can rotate furnitures by left clicking while holding shift, or clicking once and then clicking "Rotate" on the bottom right corner! This all only works if you have rights/are the owner of the room!
I also binded the arrow keys for tile to tile movement, because, why not! This is what I love about Cortex, I can implement any feature I want, even if it does not pay a big role to the game, I can still add it! Also, have you guys EVER laid in bed with a laptop on your stomach? <-<
That's pretty much it for today! Well, so far at least! I woke up late and most of the work was on the client background!