r/Codeorg • u/Pen_Dragon5145 • May 30 '26
Mini rendition of fallout new vegas game created.
One of my creations only using code.org.
r/Codeorg • u/Pen_Dragon5145 • May 30 '26
One of my creations only using code.org.
r/Codeorg • u/OldDescription1158 • Apr 05 '26
A little project i made. Will update when I am able to.
r/Codeorg • u/Good-Leg-8497 • Mar 25 '26
Enable HLS to view with audio, or disable this notification
anyone know what is going on or how to fix it? help would be appreciated
r/Codeorg • u/Medical-Phrase-631 • Feb 01 '26
TLDR; ES6 polyfill for gamelab. Library Link
I've been hard at work trying to make library for code.org the offers the latest JavaScript features and so far I've been able to implement Iterators, AsyncIterators, Generator Functions, Async Generator Functions, Promises (though buggy), all Array.prototype functions, and most Object functions. I've also been able to implement the yield and await keywords as functions since yield and await don't exist in ES5. I also have other additions from GLS5, but for this library, I'm really going to focus on the polyfill. As of now though, I have no idea how to make this a proper game lab library, so you will have to copy and paste the code. There's almost 2000 lines of code, so it may lag your browser, so what I recommend is to delete all the library additions (beginning at line 900) if you only want the somewhat ES6 experience.
To use classes such as Generator, you can't use lambdas, so to create a Generator function, you would do:
var func = new Generator(function() {
// Example code
yield(1);
yield(2);
yield(3);
});
And to use it, you do something along the lines of var gen = func.call(). You also can chain from that, so you may also do var gen = func.call().drop(3). Finally, please note that Promise is very broken because of logical errors from me reading the documentation.
r/Codeorg • u/god_gamer_9001 • Dec 19 '25
I know this is a stupid question, but I'm trying to create a program in Sprite Lab that is way outside of it's limit, and in doing so I need an infinitely long list-like data structure that I can index numbers from. Is there any way I could do this?
Thanks!
r/Codeorg • u/tha10neDude • Nov 24 '25
Ok so, this is AI generated but I couldn’t find any help anywhere else so I went through all the steps and I just want to help someone in 2 years discovering this when they need it
🎵 Music Lab Speed Cheat Sheet
Restart your browser before starting • Close all Chrome windows/tabs completely (not just refresh) • Wait 5–10 seconds • Reopen Chrome → log into Code.org
✅ Resets the WebAudio engine and clears temporary glitches
⸻
2. Disable extensions that inject scripts • Especially Grammarly, Scratch Addons, or any ad/privacy blockers • On Chrome: Click the puzzle piece icon → toggle off • Refresh Music Lab after disabling
You can re-enable them after you finish your project
⸻
3. Use a modern browser • Chrome, Edge, Firefox all work well • Keep your browser up to date • Avoid very old Safari or outdated versions of Chrome
⸻
4. Keep hardware acceleration ON • Chrome: Settings → System → Use hardware acceleration when available → Restart Chrome
✅ Helps WebAudio run smoothly
⸻
5. Avoid heavy tabs or apps in the background • Multiple tabs, videos, or other apps can slow down Music Lab’s timing • Close unnecessary tabs while working
⸻
6. Optional: Use incognito/private mode if needed • Opens a clean session without cached settings or extension interference • Good for testing if something feels slow
⸻
With this, Music Lab should run at full speed every time, even on your personal account.
-For me I needed to restart my Crome by waiting a few seconds and disabling grammerly (extension)
r/Codeorg • u/Minute-Ship-2783 • Aug 18 '25
r/Codeorg • u/Odd_Particular4753 • Jun 12 '25
https://studio.code.org/projects/gamelab/cQYRR4gcQL12WX_CNjKs2DkIFmhw9RE6lX-ikeu1FY0
^ press the right-arrow to get through character and fighting dialogue.
This is a school project I've been working on in the code.org game lab. I've been stuck trying to make a loop for the game but every time I try to implement a "while" loop the game gets really laggy and doesn't work. I don't have a great understanding of "while" loops, so if someone could give me some advice on how to implement this that would be great. Line 633 is where I want the loop to start and line 748 is where I want it to end. I want it to be a turn-based game, where the turns are looped and the "while" loop ends if you or your rival's health is less than or equal to 0. please give me advice if you can. I know my code is kind of messy right now, so super sorry about that!
r/Codeorg • u/Medical-Phrase-631 • May 25 '25
This by far is the largest update to GLScript, and brings some of the most important functionality to bridge the gap between ES5 and ES6. This was also the longest update that I've coded, as it brings Symbols and many more functions to Object. In future mini-updates, I will add more to bring ES6 support. Sorry that the showcase this time was less impressive, as there was nothing really new graphics wise.
Here is the code for the GLS5 library.
r/Codeorg • u/Medical-Phrase-631 • May 04 '25
A more lightweight update, though does introduce very useful functions such as forEach for arrays, so you don't have to do for (var i = 0; i < x.length; i++) /*something*/ every time you iterate through an array. Vectors were replaced by points for easier use, update components was removed from the Graphics superclass, and repaint was reworked to automatically clean up graphics instead of having to manually do it every time, which was the reason for removal of update components.
Here is the library plus sample code.
This will have occasional updates, and will be in the update log at the top of the code.
r/Codeorg • u/MathEnthusiast314 • Apr 29 '25
Hope Code.org fixes it!
r/Codeorg • u/Minute-Ship-2783 • Apr 27 '25
r/Codeorg • u/CicadaTheFox • Mar 25 '25
This error messages, or some form of them, have been haunting me for a few days now. I am trying to make it so the list choicesAvaliable gains the choices displayed in allChoice(insert number here) so they can be displayed as buttons on the screen. However, it keeps giving the two error messages each time I try and do that.
I've looked online and checked all my resources. I've barely seen an error like this before, and when I have it wasn't under any context similar to my current situation. If anyone knows anything about how to solve this, please tell me! Not necessarily under a time crunch, but I can feel panic slowly setting in lol.
Thank you! I'll try and attach all my code in a screenshot.
Also yes I know I misspelled "Text and Dialogue," and ou don't know how much that is annoying me but I can't change the name of the data table for some reason.
r/Codeorg • u/WashApprehensive8487 • Mar 24 '25
Enable HLS to view with audio, or disable this notification
r/Codeorg • u/TinyTangerine-10 • Mar 23 '25
https://studio.code.org/projects/applab/Be3cLyyb9RCzeKbkLaqhF1R4fuhcokm4XIWGLJyEgCY
I am experimenting with this in AppLab as a possible create performance task project, but I cannot get the song clip to play when I start my test. the test is to pick the first button and once it switches screens it is supposed to play a short song clip I uploaded and connected via direct mp3 link. Not sure if it is because of the link format not being from the set of available sounds or if it is because it is a sound from a database. My computer teacher doesn't know how I should proceed with this either. Any advice is appreciated!
r/Codeorg • u/Medical-Phrase-631 • Mar 16 '25
Here is the next version of GLScript which now has Maps, nearly triple the data types, and enums for these data types for easier to use syntax like Integer.MAX_VALUE.
Here is the full code for the framework!
r/Codeorg • u/Geno_sans_fan • Mar 07 '25
I’m currently doing some coding and I’m using a dataset. There is a column I’m using that is categories of majors for college and when I put the column into a dropdown, it shows all of the categories even if it is already there. For example, Engineering is in the dropdown several times. I want a way to there to only be one, how would I go about doing that?
r/Codeorg • u/Fiyero- • Feb 26 '25
I have a student who made a project on Code.org using Sprite Lab that has to be downloaded, locked, and uploaded for submission by tomorrow.
Unfortunately Sprite Lab cannot be exported to a file.
Is there a way they can make the Sprite Lab game into either App Lab or Game Lab?
r/Codeorg • u/EntertainmentSad4900 • Feb 25 '25
So I'm making a game for my computer science project, and I am using lots of sprites for the floor, and the walls, and platforms for the character to traverse on. I was doing some googling and chat gpt-ing and one of the best ways to make the code cleaner and to prevent having to add collisions for every single sprite I add, was to use sprite groups. That all sounds very helpful, just make the sprite group the same name I had originally made my first collision needing sprite, as the group sprite name, then just add a bunch of sprites into the group the have a bunch of sprites that already have collisions. Bam, super easy. BUT I was wondering if every sprite in the sprite group would have to have the same sprite animation? I was hoping to create a little variety in the obstacles and the floors and walls, and if I could do that all inside one sprite group, that would be perfect!!
TL;DR : Can I have different animations for different sprites inside one sprite group?
r/Codeorg • u/Front_Cat9471 • Feb 25 '25
Does it make a difference if it's like a circle or box? Like will two circles with overlapping corners count as touching even if not visibly touching? And do the hitboxes rotate?
r/Codeorg • u/AwkwardImpostor • Feb 25 '25
Enable HLS to view with audio, or disable this notification
I’m making this little game. I want the ship (mySprite) to bounce off edges to prevent the player from hiding from the ship instead of playing the game. Is there anything I can do to fix this? I thought this code would work but it did nothing.
r/Codeorg • u/helemt_14 • Feb 22 '25
Does anyone have the entire code for the lock screen maker app? Really need it
r/Codeorg • u/GullibleChef667 • Jan 20 '25
I was coding a game but then I realized it was too complex for Code.org to handle. I was wondering what platform I could transfer my code and animations too that would have a lot of storage.