Indie game developer 🇨🇦

Working on some games for game jams in my free time

Admin of programming.dev and frontend developer for sublinks

Account has automation for some scheduled posts

Site: https://ategon.dev/

  • 468 Posts
  • 781 Comments
Joined 3 years ago
cake
Cake day: June 8th, 2023

help-circle












  • Random extra implemetation info.

    When viewing the canvas you send the left right top bottom of your screen and zoom to the server. The server then sends back all cursors that are valid to be shown based on what you sent. On future times you ask the server it only sends back what changed (so a cursor that doesnt move doesnt get sent again and your local version knows its just still in its same position). That helps cut down more on bandwidth being sent around.

    The map is split into various chunks of different sizes. When you send the position and zoom to the server it tries to fit you nicely into chunks and then the cursors it sends back are the cursors within those chunks. Then if somebody else asks for the cursors and they fit into the same chunks it sends back the same data to them due to it being cached for those chunks instead of computing it again which helps reduce server load.



  • For people on PC its on by default when logged in and can be turned off with a toggle in the settings. When logged out or on mobile its off

    Only the cursor is sent and there isnt a name shown currently unless you then place down a pixel and someone inspects that pixel to see who placed it

    Theres various things that are part of the change so that its optimized. You can only see cursors of people in similar zoom levels for example as one of those. Exact cursor positions arent shared but people just see the cursor snapped to the pixel on the canvas its hovering over so that objects sent are smaller










  • im saying the posts and content are fine, just dont swamp every other type of content with it. Give breathing room for other communities and other people in this community to be able to have things surface. You can still post things hence why you havent gotten any moderation action here past getting your flood of posts removed.

    some users can like attribution to reddit a lot of others dont. Not everyone has the same opinion or is the same person


















Moderates