Unfortunately it's just rendering, not functional with mouse yet, but if implemented it would work similar to scratch. The 'repeat 12 times' you could put a variable in that textbox to replace it and the same for any function accepting a string/number/boolean (booleans are angled). Scratch doesn't really support lists/tables but I could make those also fit in the text slot, or make another type of slot for them.
I think mouse controls would be fine, in some ways better than scratch because you can click where you want the thing to go exactly instead of trying to line it up until the highlight shows. Could even make touchscreen controls but you can't drag on a touchscreen.
It uses the section in the font from 0x80 to 0x9F for the subpixels. Programmed with a lot of set(x, y, 0x83, fg, bg) and if statements choosing characters. I don't even have a helper for rendering subpixels, it's pretty bad.
This is so great! Really liking that a few people ( u/Timas_brope, u/Supernatnat11 and probably some others) are all working on projects like this.
I teach online and we do a lot with Minecraft and a lot of coding, so definitely keeping an eye on this as we'd love to do both together.
One suggestion I'd give you: add some padding to all of the blocks (extra room above/below the words) so they're easier to read. Otherwise, I really like the font you chose and that it's in-game
Unfortunately, this is done inside computercraft and that is the only font and those are the only places letters can go. If I add padding, I'd have to double the height of every block. As much as I'd love to have more padding, I don't think double height is worth it
I saw your post. I was inspired to make this from the earlier post about blockly that you extended and felt kinda bad posting this just after you posted yours
This would be great for lowering the learning curve in Computer Craft! I’ve seen multiple people working on this or something of the sort (like an external scratch-like program that translates into actual lines that can be copied and pasted), and I’m reallllly exited to see you and them work towards it
Sweet! Learning lua was fun for CC but it is less intuitive and beginner friendly, also can be annoying for small things, something like this as an addon mod or something as an option would be sick!
19
u/Timas_brope ComputerCrafter Mar 13 '24
I was about to post my turtle scratch-like block editor in CC, but you are faster!
5
u/patrlim1 Mar 13 '24
How
2
u/Bright-Historian-216 Mar 13 '24
How
Also how do you input variables in functions? mouse controls would be pretty bad with such limited screen
2
u/9551-eletronics Computercraft graphics research Mar 13 '24
Looks great! Good job, what do you use for rendering?
2
u/steveblair0 Mar 15 '24
This is so great! Really liking that a few people ( u/Timas_brope, u/Supernatnat11 and probably some others) are all working on projects like this.
I teach online and we do a lot with Minecraft and a lot of coding, so definitely keeping an eye on this as we'd love to do both together.
One suggestion I'd give you: add some padding to all of the blocks (extra room above/below the words) so they're easier to read. Otherwise, I really like the font you chose and that it's in-game
1
u/Supernatnat11 Mar 13 '24
A day before, I posted the same thing but using an external website : https://github.com/Sarxzer/cc-tweaked_blockly
2
u/Fantastic-Bet6451 Mar 13 '24
I want to have that
1
u/waj171 Mar 13 '24
Aw hell yea
1
u/Kind-Ad-6099 Mar 14 '24
This would be great for lowering the learning curve in Computer Craft! I’ve seen multiple people working on this or something of the sort (like an external scratch-like program that translates into actual lines that can be copied and pasted), and I’m reallllly exited to see you and them work towards it
1
u/RoarkCats Mar 16 '24
Sweet! Learning lua was fun for CC but it is less intuitive and beginner friendly, also can be annoying for small things, something like this as an addon mod or something as an option would be sick!
1
u/Jasonpra Mar 17 '24
I thought computer craft was dead at this point didn't realize that there were still people in the community using it.
1
u/Brief-Light-6713 Mar 18 '24
new minecraft challenge unlocked