17

So.... yeah, making a Scratch clone (with more features) is frustrating and super hard.

Major problems include
- Drag&Drop from listbox to usercontrol - stress level : 3/10
- connect blocks when two blocks are close to each other - stress level : 10/10
- generate live code when there was a change in blocks editor - stress level : 9/10
- write a compiler or some interpreter that converts block code to real c# code - stress level : 10/10
- generate output by calling csc.exe - stress level : 1/10
- make code at least readable - stress level : 7/10

Comments
  • 2
    Are you figuring out how to do it yourself, or have you found some good resources on it?

    I'm planning on making something like it for a project, but haven't looked much into it yet 😅
  • 5
    Writing real code: 11/10 stress level
  • 0
    @KasperNS Wait till i make a working prototype, there are some resources but not listed some where

    If you want to make it, don't make it in c#, then what did you plan to do?
  • 1
    @CozyPlanes it's going to be made in some JS framework, since it's a web app. But the project I'm doing, is making a smarthome system, that's built on modules. Like controlling the lights is a module, the TV is another module and so on.

    So I want a scratch like system, so non-tech people will be able to make new functions, like "I'll make this button, where the door unlocks, the lights turn on and my favorite music starts playing". At least I think a visual programming style is the best way, to let normal people do it themselves
  • 0
    @KasperNS js is easy
    Go for it

    My goal is also making modular but i first need to make a working prototype
  • 1
    @CozyPlanes yeah it is, my problem is that I'm really more of a backend dev, trying to make a good frontend. And I'm not that good at frontend 😅
  • 0
    @KasperNS Well seems like a nightmare then
  • 1
    @CozyPlanes yeah it basically is, but I just discovered Blockly by Google, which is going to make my life much easier
  • 0
    @KasperNS yeah but i don't get the point using that

    I mean it is essentially filling in an excel file and passing to a smart speaker to answer my questions
  • 1
    @CozyPlanes well for me, that feature is just a tiny thing in a big project, so using some other framework for it makes sense for me
  • 0
    @KasperNS what is your project?
  • 1
    @CozyPlanes simply put, it's a smarthome framework. Something that can be as advanced as you want it to be, but also simple enough that my parents can customize it, hence the block style programming feature
  • 1
    Are you using wpf?
  • 0
Add Comment