I am going to say something that will offend a lot of professionals... but a pointer (essentially at the hardware level) is a "number". What is this "magical" number? An address! What address? Well similar to a house like: 12-34 Nonexistent Street (side note, I don't know if this address exists), that is stored by the pointer, a pointer might store the value 0x43fc (for example). That address, 0x43fc contains some thing, (using the house analogy, it's furniture or something, idk). That's all you need to know for now.
Since this strays a bit from the first post, lmk if you still want more info, as I don't want to clutter this post
Well…. I already know this much. Other than that, I also know that those magic numbers allow me to store several different class objects in a single array. Basically mind blown
Yep, that is, if you keep the types the same. One thing I forgot to mention about pointers, is if you store stuff, you should make sure the types are the same. Int is not int array (for example). You might risk memory corruption if you do otherwise. But what did you find difficult about pointers?
(Fun stuff with malloc in C but I don't know C++ well enough to know how malloc works in this new C++ universe)
This would be so helpful for learning how to program the turtles. Then again I could just look at the documentation instead of being lazy. I think this would definitely help players who don’t know how to code learn basic programming.
This is awesome. I still didnt figured out how to make my own blockly app (even with the tutorial im dumb fr) WHen are you planning to add more cc:t function ?
Write a “.gitignore”. It’s a line separated list of files and directories that you don’t want in your GitHub. You can use common unix wildcard syntax like * to represent anything. I would love to see the source code for this, and not the just dist or build directory. I recommend keeping everything other than these files and directories I list below.
Pybricks is awesome. With the spikes and robot inventor hubs they just released BLE controller support so you can use an Xbox controller. They even have support for the Xbox elite controllers so you can have a truly massive number of buttons (all of the rear paddles can be mapped separately) if you want to create a RC vehicle/robot.
The text based ev3 version is also quite nice but I don't know if the Xbox stuff works with that one.
This is awesome for helping me learn the syntax for computercraft! That's always been the biggest hurdle to me - scrolling through endless documentation to find simple things. This is a much more interesting way to learn.
I wrote something based on what you did here, but I added a scraper for CC:Tweaked to just about automate getting the correct functions and objects. If I have time, I'll introduce websockets that would allow you to edit files from the browser. ccpiler
Got recommended this post, was going to mention that the code looked like computer craft mining turtle code, and then I saw what sub I was in… I haven’t played Minecraft in years, thanks for the nostalgia trip
I made it in 5-6 hours using google’s blockly library. Unfortunately I can’t really share the ready app because i don’t have a domain name. I will add it on GitHub tho but you will need to download and run it yourself
WHY IS THERE CODE??? MAKE A FUCKING .EXE FILE AND GIVE IT TO ME. these dumbfucks think that everyone is a developer and understands code. well i am not and i don't understand it. I only know to download and install applications. SO WHY THE FUCK IS THERE CODE? make an EXE file and give it to me. STUPID FUCKING SMELLY NERDS
You know github offers free web hosting with github pages? Also there's netlify. No need to bother with a domain name if you don't mind advertising that you are using either service.
Ok, you found the ONE fucking genuine use case for Scratch. My hat is off to you.
(I dont mind LUA but I think this is speciffically a very good example)
I think that Pneumatacraft Drones did something that works very well for the audience. An integrated IDE for LUA would appeal to some percent of the audience that is turned off by having to code in a terminal even though it's very thematic.
The audience that is turned off by having to code in a terminal uses computercraftedu. Also, Blockly library powers many other powerful applications (like MCreator for Minecraft mods, or AppInventor for android applications)
Well I’m not really a mod developer (and I am NOT planning to learn Java anytime soon), and the library in question uses Node.js which I don’t think I can embed into a Minecraft GUI. P.S. As I already said, CCEdu mod already implements this, and we software bros know not to invent a bicycle
3
u/piguman3 piss drinker Mar 07 '24
Reminds me of ComputerCraftEdu
2
u/Richard4Phillips Mar 06 '24
It looks like a coding program called Python, so much so I actually thought it was until I read the comments
2
u/AreebJ Mar 09 '24
This would be so helpful for learning how to program the turtles. Then again I could just look at the documentation instead of being lazy. I think this would definitely help players who don’t know how to code learn basic programming.
2
u/Supernatnat11 Mar 09 '24
This is awesome. I still didnt figured out how to make my own blockly app (even with the tutorial im dumb fr)
WHen are you planning to add more cc:t function ?
1
u/mas-issneun Mar 07 '24
Why
1
u/MonCryptidCoop Mar 07 '24 edited Mar 07 '24
Very similar to this for python
https://github.com/up649230/PyBlocks
Or this other blockly python
https://think.cs.vt.edu/blockpy/blockpy/load
Also if you like Legos/mindstorms Pybricks has an excellent block interface for its implementation of python
https://pybricks.com/
1
u/Wolfy_Wolv Mar 07 '24
AWESUM!!! How u do that :0
1
u/thegroundbelowme Mar 07 '24
This is awesome for helping me learn the syntax for computercraft! That's always been the biggest hurdle to me - scrolling through endless documentation to find simple things. This is a much more interesting way to learn.
1
u/OrganizationFew2722 Mar 09 '24 edited Mar 10 '24
I wrote something based on what you did here, but I added a scraper for CC:Tweaked to just about automate getting the correct functions and objects. If I have time, I'll introduce websockets that would allow you to edit files from the browser. ccpiler
1
u/Budget-Specific-349 ComputerCrafter Sep 15 '26
Where can i find this?
5
u/generalemiel Mar 06 '24
Thats nice
1
u/Calebpgtrueofficial Mar 07 '24
Honestly if any coding language was like this id be the master of games
1
u/Jason13Official Mar 07 '24
Very nice! +1!
1
u/PaintDifficult6948 Mar 08 '24
Got recommended this post, was going to mention that the code looked like computer craft mining turtle code, and then I saw what sub I was in… I haven’t played Minecraft in years, thanks for the nostalgia trip
1
u/bzobk Mar 08 '24
You can actually use github's pages to publish html so you can use it online, https://pages.github.com/
1
u/Fantastic-Bet6451 Mar 08 '24
This is actually the most useful thing i've ever seen. Thank you SO much !
1
u/Fantastic-Bet6451 May 18 '24
Great Idea !
0
u/[deleted] Mar 07 '24
[deleted] — view deleted comment
12
u/[deleted] Mar 06 '24
[removed] — view removed comment