@c oh ok

Posts made by jeffreyrb03-gmail
-
RE: I might leave Creaticode soon (actually this time)
@the_true_odst C# is definitely more advanced than JS. You have to deal with the operating system and lower level stuff manually, where in JavaScript, you have many luxuries like garbage collection and whatnot that make it so you don’t have to worry about memory stuff. C# is also typed like Java more, not JavaScript (two different things).
-
RE: Stroke Width Size Scale
@info-creaticode Just checked and you can already scroll in the number input. I’m not sure about mobile/touchscreen though, which is what they’re referring to
-
RE: New website I'm working on
@tyller_ oh yeah sometimes putting an invisible HTML element in the middle of a word helps. That site actually isnt blocked and I’ll keep it in mind for file stuff, thank you!
-
RE: Stroke Width Size Scale
@attractive-milk It doesn’t seem too hard to implement, as site number inputs show arrows by default, and they’re probably being hidden by their site styles which could be undone by deleting that code
-
RE: Project preview should have more than 1 image
@the_true_odst Ah like app store apps where they have the carousel of app images? That’d be awesome
-
RE: Stroke Width Size Scale
@attractive-milk ah you mean it should be changed to something like this?:
-
RE: New website I'm working on
@tyller_ Inspect is blocked on my chromebook for school and I don’t have any other devices for coding unfortunately. And formatting still wouldn’t make the code prettier because its obfuscated so it is made unreadable on purpose. Not that I need to use google.com’s code, but I just meant that either way it’d (Blockly) be unusuable for me given my current circumstances.
-
RE: New website I'm working on
@mod-squadacademy Thank you, I actually saw that already, but I just want to recreate Scratch and make it better. I 'll also give my other reasons for not wanting to fork Scratch or Blockly:
- GitHub is blocked by my school so I can’t build off of anything unless I use my phone which is a major pain in the butt (and I have no other computer to use atm)
- Alot of code requires something like build tools or React which is really annoying. Basically stuff that requires a web server and/or NodeJS, which is I guess “makes your life easier”? It also costs money and if you don’t pay then you have to deal with restrictions on a free platform (which I don’t mind for ones like Glitch but having your project go to sleep in annoying as well). A lot of stuff can usually just be client side and doesn’t even need an entire thing for devs to make client stuff using backend stuff rather than client stuff.
- All this stuff feels like bloatware and/or just not what I’m used to. I can read some normal (and formatted) code, but this is all minified and uses like a million JS prototypes and whatnot. Here’s literally google.com 's source:
Whatever they’re trying to achieve, I could probably do in 10-20 lines. I see no reason at all why they gotta useprototype
s andclass
es and all this fancy JS stuff. This is literally just the front page of their search engine. They just need to implement a few things.
Blockly’s source (like from its CDN) is like that, and with that, it’s not very usable/editable for me.
-
RE: VR?
@the_true_odst Camera/movement tracking is kinda the point of VR. If that’s unavailable, then so is VR. The camera tracking doesn’t work when in the forum if that’s what you mean but works when played normally
-
RE: Problems with the cursor block?
@c That’s normal, and intended. If you change the cursor to “crosshair” then it will stay crosshair until you change it again. So it’s your responsibility to change the cursor back to the default.
-
RE: VR?
@jd131111 This is really cool, it is very hard to look and keep a direction though. I managed to somewhat see the house:
-
RE: New website I'm working on
@jeffreyrb03-gmail To anyone that wants to try this out, it’s in a perpetual beta (I update it whenever I want) over here: https://jeffreymaniac.github.io/JayBlockz/
-
RE: It's my birthday
@c Just watched a play for English class (Ima get 10 extra credit points), had Wendy’s, cake, and yeah tommorow I’ma do go karts with my friends here
Edit: now i should be going to sleep but im coding instead -
RE: WOC Update Log
@sirbots I kinda liked the last music (from 4.5), I hope the changes aren’t too different
-
RE: using the "pen" to create smoother lines
@the_true_odst I think that’s an error hat block, leftover from Scratch. That’s actually a block you can obtain in Scratch and is found in those “hacked blocks” projects.
For copying stuff, the backpack is a better option and leaves little room for error/misinterpretation for the site as it doesn’t have to deal with the clipboard -
RE: Add blocks for detecting mobile devices/touchscreen
@tyller_ yeah true, ontouchstart events and navigator.maxTouchPoints do mean touchscreen tho
-
Add blocks for detecting mobile devices/touchscreen
I have somewhat of a solution to this by regex checking if the user agent contains “Android” or “Mobi” or some other stuff (to see if a user is using mobile), but JavaScript provides other methods like checking navigator.maxTouchPoints (to check for touchscreen) and all.
I want to use this to detect if the user is using mobile/touchscreen, and then provide joysticks for my 3D scene. I propose two new blocks:
- Sensing reporter block: (is touchscreen?) , uses navigator.maxTouchPoints and checks if it is above 0. If it is above 0 then there’s touchscreen, but if it isn’t then its a computer.
- Sensing reporter block: (is mobile?) , is more general, and would generally mean touchscreen and no keyboard. This would be most useful for detecting then adding joysticks in my code.
My current method for seeing is the user agent is mobile is also kind of frowned upon and doesn’t always work because users can enable “Desktop mode” in their mobile browsers which would make the game unplayable. There’s also like different browsers too
-
RE: WOC Update Log
@sirbots I really enjoyed your game! I tried a round and it’s awesome! It brought back nostalgia of gun games I used to play when I was little. I played a round of “Conquest” and I have to say, you are an awesome project maker. Conquest kinda reminds me of Points and Capture the Flag gamemodes in Pixel Gun 3D. The bots are awesome, and I’m suprised at how well they work. I can kinda sneak up behind them and shoot them but a lot of times they do kill me. I noticed 3 bugs though, you can leave the map a tiny bit beyond the map walls:
I feel like the maps could use more collision detection for at least stuff like bushes and walls so you can’t go through them.
there’s also a spelling mistake (“Defualt” should be “Default”), and the Interceptor and Anchor role buttons kind of are on the “Squadmate 3” button.The game has nice music, and the loading screen with loading tips is just icing on the cake.
You’ve made a pretty nice game. I like it! -
RE: Messing around with Brain.js
@tyller_ It doesnt use GPU acceleration like TensorFlow so it kinda sucks on that part as you have to make up methods to make it go faster and all that are kinda annoying.
For training data, it’s just a lot of sentences and all on random topics from wikipedia
-
RE: Could Scratch blocks be supported for this forum?
@info-creaticode True, I’m gonna make something that might help you guys out with that perhaps (not code)
-
RE: Could Scratch blocks be supported for this forum?
@info-creaticode Thank you! To help with that, it might be good to use scratchblocks.github.io for generating block images (as it does use a live editor preview sort of thing, kind of like the one here). Or there could be a nodeBB addon already out there for scratch blocks, not too sure.
-
RE: adding "luck" to a game
@the_true_odst well then the last part of my answer applies to your RNG game, and you will need a table to store stuff like the item name, description, and rarity. It shouldn’t be too hard to just use random numbers, I think you should try it out the way I said first
-
Could Scratch blocks be supported for this forum?
I was reading the latest tutorial about AI for checking student understanding and it’s cool, but I noticed the forum code given at the top doesn’t actually work as expected on this forum:
The code results in this:when green flag clicked set [index v] to [1] repeat (5) say (index) for (1) seconds change [index v] by (2) end end
Could the scratch language be supported by the markdown codeblocks here? And it’d be even better if it supported blocks from CreatiCode as well.
-
RE: adding "luck" to a game
@the_true_odst You could have a custom reporter block that will take an input and return either “true” or “false”, which is if the user is lucky enough for something to happen or not. That block’s logic would just be making a random number from 1-100, and checking if it is greater than or equal to 50, and if it is, then return true, if not, return false. You could then use that to kind of like guard features (“Sorry, you aren’t lucky enough to do this action. ACCESS DENIED”) or to provide little easter eggs like only showing a different title art or something if a random number is like 38 or whatever. You don’t wanna make it too impossible though, then there’d be no point in putting the feature unless enough people are playing your game (over 1000) that at least one person will find the easter egg.
You could also provide a more varied output for things that aren’t just “true” and “false”, like say, determining how much XP to give a player after a mission. You might wanna take into account if the user did everything right on that mission, or just make it random (or a bit of both!).
This block (returns true/false) could just be
(lucky enough?)
Psuedo-code:if random number from 1-100 is greater than or equal to 50: return true else: return false
And for a more complex luck system (like the one I described farther up above) would perhaps need inputs in its custom block, and/or using lists (tables may be a bit much unless you need to store like items/different treasures). Inputs could be like the user’s luck, so if you wrote 0, the block would return a trash item, or if you wrote 100, they’d get a super mythical admin weapon, and of course, there’s the in-between (like common,uncommon,rare, epic, legendary, etc.).
I don’t have sample code to provide for a more complicated luck system, but I hope what I said can help you! -
RE: WOC Update Log
@sirbots I’ll play it within today or tommorow and let you know what I think. It seems very detailed from the patch notes and it looks like you put a lot of effort into the game, so I’ll make sure to play it.
-
RE: Last updates -- Bot Test
@the_true_odst
I have some suggestions and constructive criticisms. It’s mainly about the design, and I just wanted to point out what could be fixed at the beginning and all. I get that it might be hard to make a change like that (considering I’ve made big Scratch projects before too and they get especially hard to manage when you got rogue sprites showing at the start when they should be hidden), but I don’t think the judges of your presentation would care about the difficulty, just what they see as it runs (just so you know incase I sound picky or annoying when giving my feedback since that’s not how I mean to come off as).Now, my first suggestion is that with Scratch, especially in CreatiCode, for your project to be near perfect, it should not look like it was made in Scratch. It’s a good project when your players aren’t sure if it was made in Scratch or a traditional programming language. The stage size is almost always an obvious hint as preferred games sizes are always like 16:9 or phone or sometimes even square (like some games on CoolMathGames).
With CreatiCode, you can do things like change the stage size and even don’t have to display variables the normal way, you can use a forever-running script that prints or uses a widget to display a score (like FPS or botHealth). It is also more professional and allows you to keep your project theme consistent better, since the orange and white variable is like a trademark of Scratch projects. That’s what I try to achieve in my own projects, even on Scratch. Every little bit of interactivity helps to do that (like changing a button when you hover over it), even if it makes you have 5000 variables in your project.Now here are just the bugs:
In tutorial mode (this may have been what you meant about the UI) there is weird colliding text:
I feel like you should make use of the Widgets blocks more often (for text too), as you can fix many issues and do things like set a z-index/layer level and custom fonts and all.Also, it would be very helpful if a close button was put somewhere and a translucent black overlay behind the buttons (background with a kinda transparent black color), to make it easier to exit the settings and also to know that you’re in settings
I’m pretty sure the only way to get out of this settings menu is by setting a setting to a setting it was already set at (a preset setting) because then it’ll let you leave.I’m also not even sure what happened are what these mean, but there’s like a red healthbar? and a blue box randomly lying around:
I like how you used tooltips here:
but tooltips everywhere would be even better, especially for the red button in the bottom right which I’m not even sure what it does (maybe related to sound, I have sound muted anyways so idk). -
RE: Messing around with Brain.js
@mod-squadacademy Prolly lol. I’m trying to fix this thing and it’s so hard to debug. Then one change makes it start to spit more gibberish out
-
RE: Messing around with Brain.js
@mod-squadacademy my AI just called me a “cood”, heres the full message:
AI: Na a cout B C N R S T c Xeean, purrlentime are you doing tods?A cood. -
RE: Messing around with Brain.js
@mod-squadacademy In Python, you’ll know what libraries are used by looking at the top of a document,
for example “import math” is used so you can use math stuff:import math radius = float(input("Enter the radius: ")) area = math.pi * radius ** 2 print(f"Area: {area:.2f}, Square root of area: {math.sqrt(area):.2f}")
python needs a module/library for everything.
For extensions in Gandi IDE, have you tried looking at their documentation/source code? Knowing a lot of JS can help
-
RE: Messing around with Brain.js
@mod-squadacademy For the python, what NLP/ML library is used in the generated code? Also i got a funny update:
-
RE: Messing around with Brain.js
@jeffreyrb03-gmail now its weirdly hallucinating because I trained it with Hatsune Miku being 16 years old (and some new stuff):
-
RE: Messing around with Brain.js
@jeffreyrb03-gmail Update: LOLOLOLLOLLOLOLLOL
'Greland is an island is an island is an island …"
I think I need to give it more iterations and/or more training data. I genuinely wonder how it got stuck there. I know it meant “secrets” by heecrets, and “Ireland” by Greland, since my training data used those two things, but just “is an island” repeating lol. I wish I could test this faster and see what’s up.
-
Messing around with Brain.js
Brain.js is really interesting for machine learning, it’s a JS library that allows you to do stuff with AI right in the browser! It takes up so much time to load though, but it’s worth it to get these results:
It barely knows English but does well with the training data I give it somewhat. I really like it though but I know the more training data I give it, the harder it’ll be for me to actually use it and run it (as it’ll take forever to load). I’m considering using the NodeJS version, making an API, and a front-end chatting interface that just sends requests to that API and all. With the NodeJS version, I think it might be able to use more processing power as it’s on the cloud.
Here’s the training data I gave it so far (I gave credit to my sources in order to be ethical):
const tData = [ // I made the next three strings 'Hi, how are you doing today?', 'I\'m doing well, how are you?', 'John Cena said to never give up!', // https://en.wikipedia.org/wiki/Pizza 'Pizza is an Italian dish that consists of a flat base of leavened wheat-based dough topped with tomato, cheese, and other ingredients, baked at a high temperature, usually in a wood-fired oven.', // made by me 'Notch is the guy who made Minecraft!! He is awesome!!', // https://en.wikipedia.org/wiki/Hatsune_Miku (modified by me) 'Hatsune Miku is a 16 year old Vocaloid girl with long blue hair.', // http://www.creatingmycambridge.com/history-stories/newtons-apple-tree/ (modified by me) 'Isaac Newton was sitting under an apple tree, thinking about the mysterious universe when suddenly an apple hit him on the head lol', // https://simple.wikipedia.org/wiki/Apple_pie 'An apple pie is a common pie or tart filled with apples. Sometimes it has whipped cream or ice cream on top.', // https://tatoeba.org/en/sentences/show/10098194 'I\'d rather live in a world full of secrets than one so small that I\'m able to understand it.', // https://en.wikipedia.org/wiki/Ireland 'Ireland is an island in the North Atlantic Ocean, in Northwestern Europe. It is separated from Great Britain to its east by the North Channel, the Irish Sea, and St George\'s Channel. Ireland is the second-largest island of the British Isles, the third-largest in Europe, and the twentieth-largest in the world.' ];
I find that for good training data, I can always just use Wikipedia and Creative-Commons licensed internet stuff. I mean ChatGPT did that too so it’s not a bad thing ig. It’s also a good (but time consuming) option to make your own training data.
-
RE: New website I'm working on
@c gosh, C blocks for the forever and if/else are gonna be the biggest pain in the a**. I would have to use like a sortable.js nested nested nested list or some other ungodly and undeserved mistreatment of HTML. I’d be commiting hypertext markup abuse and some nerd would call the web development police on me.
Seriously though, I would have to deal with some horrors if I do C blocks then have to allow for C blocks inside C blocks. Idk how the OG Scratch authors did this (or at least without pulling their hair out):
I would definitely have to make it stretch and I can’t even make a stupid input box stretch, so yeah wish me luck I’m just taking a hiatus on this project and coding something else. -
RE: New website I'm working on
@mod-squadacademy I don’t know if I’d be trustworthy to your fans/studio members, they might not believe me if I tell them whatever news you want me to tell them. I am on Scratch, but I also might not have the best reputation, since I said weird things on there when I was 11 (kinda embarrassing and I doubt it’d matter to anybody now).
If you still want me to, just give me the studio link and I’ll make a comment on the studio. I’m Jeffrey_the_much on there. It might also help my credibility if you post some blog article on your website that says you were blocked for me to link to so people don’t think I’m lying.
And if you don’t mind me asking, what happened with the forum signature? Did it contain some inappropriate outside link? Was it hacked?
-
RE: New website I'm working on
@the_true_odst Do you mean like how code.org lets you generate an equivalent of your current program but written in another language?
like?
If so, that’s a cool feature, but not very do-able or realistic at the moment. I don’t think the features I plan to implement have an equivalent in every language, but they certainly would need libraries or whatever specific to that language. For example, I have blocks like
alert()
which are pretty browser specific, since alert() is the browser alert popup dialog, which doesn’t have an equivalent in other languages (not even NodeJS, as it doesn’t run in a browser). I think that would be a good feature though and I could just say that the code generated is syntactically correct (has right syntax) but may use functions that don’t exist or require libraries.I could do that later but I got bigger fish to fry with trying to make this work lol
-
RE: Drop game simulation
@flores-yorkshireacademy provide screenshots/video/project examples to help us better understand your situation.
Physics is also complicated with 3D, and you can’t just move an object to specific coordinates and have physics still working, as that block acts as say teleportation, since it’ll just move an object to those coordinates. I believe you have to use things like directional forces (like downwards) to have things move, rise, or sink. Try searching for physics tutorials on this forum, as they might help you and your students. -
RE: The Teahouse - A Ghost Hunting Interactive Horror Game - First teaser
@mod-squadacademy a house with tea in it I’m guessing
-
RE: New website I'm working on
@the_true_odst It’s made in JavaScript, but the block language im making is called JayBlockz
-
How does my project have 2 remixes yet I can't see them?
https://play.creaticode.com/projects/66c4a47b244aac89fd7c9a2f/remixes
Could it be that they’re private remixes but still are counted?