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/

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

help-circle













  • In addition to what grant said. Cursors dont show and arent sent when logged out or when on mobile and are anonymous so people can’t tell whos cursor is who. Just a fun thing to add some activity to the canvas and make it feel more like a community instead of you placing pixels into a void




  • 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








  • Ategon@programming.devtoFediverse@lemmy.world•New User Monitoring
    link
    fedilink
    English
    arrow-up
    25
    ·
    edit-2
    5 months ago

    For context this is for programming.dev specifially and affects our users rather than something on any fediverse software (figured I would mention that since it was cross posted into the main fediverse com with no context)

    Reposting my answer to a comment on the main p.d post just so theres no confusion on this

    • Processing is local. Were not sending data to an LLM but the method is hidden so bad actors cant bypass it
    • The things that are checked are public (posts, comments, and dms that are also sent to other servers we dont control) and can be moderated on regardless of this. There isnt anything that breaches privacy
    • Worst thing it can automatically do is temporarily remove a post/comment until an admin can approve or deny it just so its not there for people to run into (for example if someone spams slurs at someone else the someone else doesnt see that instead of it being there until an admin is able to come online)