• melfie@lemmy.zip
    link
    fedilink
    arrow-up
    25
    ·
    2 小时前

    My kid is intimidated by code, but is in Scratch making games and movies every day. It involves learning and exercising many of the same skills either way, so I assume it will click at some point that a small block of Python or JavaScript can actually be simpler than a crazy graph of Scratch nodes. I’ve been gently pushing Kaplay.js and have shown how games with more advanced concepts like enemy AI that are a huge pain in Scratch come to life with a small amount of code.

  • kata1yst@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    8
    ·
    1 小时前

    Honest question, my kids love Scratch, and one is at the age and sophistication to advance. What is the next step? We tried a few gamified code things like “The farmer was replaced” but it didn’t grab him, he likes the freedom and exploration of Scratch.

    • stembolts@programming.dev
      link
      fedilink
      arrow-up
      6
      ·
      58 分钟前

      What I hear repeated the most is that the tool doesn’t matter as long as the developer cares about what is being built.

      So focus less on a tool and instead define a goal and pick the toolset after.

      Outside of projects, for other pseudo-programming software, the game Factorio starts simple enough but indirectly introduces real development challenges once your structure grows and begins to fail due to poor architecture, then you gotta fix it :)

    • Grail@multiverse.soulism.net
      link
      fedilink
      English
      arrow-up
      6
      ·
      60 分钟前

      Make a website!

      Start by teaching him enough HTML to lay out a bit of structure, and then teach him CSS. Big recommend to the W3 schools tutorials. Let him play around and make a personal website of all his favourite interests.

      Show him Cookie Clicker, and then explain that the game runs on JavaScript, which puts programming in websites. Help him make a game!

      And use Neocities to host his website and his game online, so he can show it to his friends!

    • melfie@lemmy.zip
      link
      fedilink
      arrow-up
      1
      ·
      18 分钟前

      I’ve struggled with the same question. I’ve looked at other options that support both visual scripting and code like Godot and GameMaker, but the complexity is high with or without code.

      My personal favorite is Kaplay.js for its elegant simplicity where fairly complex games can be made with minimal code. There’s still the hurdle of having a basic understanding of JavaScript, and then using tools like Asesprite to build animated sprites adds to the complexity, but that’s not strictly required.

      I also put together a little plug-in that can easily transform a top-down 2D Kaplay games into first-person raycasted games building on the Kaplay raycasting example, and while my kid was excited about that, Scratch is still the comfort zone and daily driver.

    • rockSlayer@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      27 分钟前

      I don’t remember the name of it, but there’s a video game where you give pseudocode instructions to a robot to follow a path

      Edit: found the game, it’s called light-bot

      • stembolts@programming.dev
        link
        fedilink
        arrow-up
        2
        ·
        26 分钟前

        Autonauts is a fun game along those line, though I’m sure the community can suggest many other of which I am unaware.

        I like Autonauts, it’s cute, but rapidly becomes confounding in the best way.

  • YerbaYerba@lemmy.zip
    link
    fedilink
    arrow-up
    1
    ·
    42 分钟前

    At my job we use blockly as a front end to a business rules engine so that the non technical business folks can setup their own custom processes.