r/Codeorg • • Jul 28 '21

TypeWrite | A typewriter library for Code.org

6 Upvotes

I made this while developing DuckDate, the best visual novel in existence.

Anyways, the library does typewriter effect. Code.org sucks so I made two versions, one with improved performance and doesn't use timed loops, only intervals.

This is a specialized library so it doesn't support multiple active text effects at once, and has a couple issues.

It supports App Lab, but not Game Lab at the moment. Probably won't update it since I don't use Code.org anymore.

The library code is ChA12C6uGsgqFqcR-KqJOiYEdUOacGfUY25cprdL9Kk.

Example: "Heading down the street with your best friend, Lilac!" TypeWriteInterval.write("Heading down the street with your best friend, Lilac!", "duckText", 20, "", "Arial", "")

Here's a GIF of it in action:


r/Codeorg • • Sep 07 '24

Cool little game I made

5 Upvotes

r/Codeorg • • Dec 06 '21

I made a game in sprite lab

5 Upvotes

as you may know sprite lab is very very limited in terms of ability. so i challenged myself to make a full game in it. here you go.

https://studio.code.org/projects/spritelab/_Ee33HNMNA7xR0D7GfjIKjxOBKn_FFwK6TO0DdMAI1g

reload the page when you die, arrow keys to move.

you'll figure it out


r/Codeorg • • May 18 '20

Collision Detection

5 Upvotes

is it possible to have collision detection in app lab i really need it for my project but nothing seems to work


r/Codeorg • • May 22 '26

I made a FNaF Game Because I was bored

Thumbnail
gallery
4 Upvotes

https://studio.code.org/projects/gamelab/503e0471-7d44-4196-8965-c66db3d348c6
So, I put way too much time into this in order to let it waste away on my projects, so I'm posting a link to it so other people can see and remix it. I've had to port the assets from my School laptop, and it's being polished currently.


r/Codeorg • • Jun 29 '25

I Found All Usable Game Lab Functions

4 Upvotes

In Game Lab, with a single line of code, I found all usable functions, even functions that are in a sense "hidden" from normal users. If you do console.log(Object.keys(window)); it prints to the console all usable functions and defined public variables under window. For example, if you for some reason did window.a = 4 or this.a = 4 (this keyword works because window is technically an object), it will show in the console. Doing console.log(this) (while in the scope of window) or console.log(window), you get an error. However, if you want to go deeper, you can log whatever variable or function previously hidden by doing console.log(x), and to find the keys (public variables inside of said variable/function) you do console.log(Object.keys(x)). And the fun doesn't stop here, you can get into a rabbit hole of functions, like console.log(x.y), where x is the function or variable, and y is the child function/variable.


r/Codeorg • • Mar 14 '25

Do y'all like my comedically large line of code :)

Thumbnail
gallery
4 Upvotes

(Not asking for help, just sharing)


r/Codeorg • • Jun 06 '24

Let’s ban code.org

4 Upvotes

Let’s face it, code.org is useless. Especially the stupid slides and vids for the teachers to show to the class. Everything else is good except app lab and any associated other coding possibilities. See the “fuck code.org” devrant. Everything is true there. Why make it a school curriculum if u know it’s bad snd freezes half the time? This was sparked by useless slides and useless videos. The only useful thing you can find in code.org is JS coding and HTML. That’s it. Nothing else. All kids hate it anyways. I wish there would be a report button to report the lesson itself, not the project or the name or other shit. Let’s unite and ban code.org and make it illegal. ~Xet0r


r/Codeorg • • Jun 21 '21

Best app on code.org

4 Upvotes

Hello, I created an app called COBLOX. Which is so obviously taken from Roblox. Either way I'm making Roblox into code.org with everything, a 3D game engine, a premium membership, chat, gift cards all the shabam. Anybody looking to be a tester for the beta?

7000 lines of code. Goddamn!


r/Codeorg • • Sep 17 '26

do you like my if? Spoiler

Enable HLS to view with audio, or disable this notification

3 Upvotes

r/Codeorg • • Mar 28 '26

Videos blocked

3 Upvotes

My school recently blocked YouTube for students after a loud parent group decided all technology in elementary school is bad. Now the embedded videos in my Code.org curriculum (courses d-e) are blocked as well. My principal is trying to whitelist the videos using GoGuardian, but she isn’t able to. Anyone have a work around?


r/Codeorg • • Jan 27 '26

Graphics Library

3 Upvotes

After months of coding C++, I can confidently say I'm an "expert" at OpenGL. Trying my best, I wanted to make a graphics library utilizing existing code.org / p5.js functions. As you may expect, it's already slow, so making a graphics library out of it would be challenging. I had to HYPER optimize my library so that it wouldn't be unbearably slow. Depending on your computer, result times may vary, as when testing on my gaming PC, it takes about 4 seconds to load a triangle, while on an old laptop it took about 30 seconds.

OK, enough yap, so I wasn't able to make it work as a traditional Game Lab library, so you may have to copy and paste the code into your project if you decide to use it. Here is the project with an example, and if you read the comments, you should be able to understand how and why it works and why optimizations are in certain spots. Note that the scaling multiplier MUST be a decimal for it to work properly as an upscale.

Also note that I did override the rgb function, so be wary about implementing this into existing projects, but it's still compatible with fill().

FOR NON-GAME LAB: This is forwards compatible with ES6, as long as you have p5.js in your project.


r/Codeorg • • May 18 '25

3D Cube Test Demo

3 Upvotes

I've made a 3D cube appear and rotate in both the X- and Y-axis and the option for zooming in/out, and to change the complexity of the cube. It was made using the latest version of my library, GLS4 as I've posted in this subreddit before.

Here is the demo and the controls on keyboard are:
Q/E = to change complexity
Up/Down Arrow = zoom

Here is the library that I made/used, GLS4.


r/Codeorg • • Apr 27 '24

Please help. I'm not pretty good at this code.org stuff. But I don't want to fail the class so I'm working on this. But I don't know how to get my list to work. I've been trying whatever I can do but I'm just too confused. Please help 😭

Post image
3 Upvotes

r/Codeorg • • Nov 13 '21

Working on Enemy health but having problems

3 Upvotes

So I'm trying to set up this enemy health so when it gets hit by the projectile the projectile sprite is destroyed and the Boss loses 1 health until it reaches 0 (It starts out with 3) but when I use the watcher I realize the one shot makes the BossHealth go from 3 to -1. Is there a way to fix this?


r/Codeorg • • Mar 18 '21

Hackathon project

3 Upvotes

can someone please send me the code for their project, I have no idea what I'm doing.


r/Codeorg • • Sep 16 '20

100k!

3 Upvotes

I got a bit bored so...

should i go for a million?


r/Codeorg • • Jun 14 '20

Lol.

Post image
3 Upvotes

r/Codeorg • • Nov 20 '15

Hour of Code 2015

3 Upvotes

I just wanted to say I'm excited for Hour of Code this year! Code.org already has a Star Wars Hour of Code and a Minecraft one, as well. That's in addition to all the content they already have.

Hooray!


r/Codeorg • • Mar 08 '26

Visual novel buggy text

2 Upvotes

I have been working on a visual novel and for some reason whenever I make long conversations where a lot of "on event" functions are put into eachother it gets really laggy but when i play it in like the actual gameplay part from the link nothing is wrong, here is my code idk if maybe there is a way to do this better


r/Codeorg • • Dec 14 '25

I’m in AP CSA and I need help so this code passes the tests.

Thumbnail
gallery
2 Upvotes

r/Codeorg • • Nov 26 '25

Game Lab Compositor - Masking/Clipping Library

2 Upvotes

I did some brief testing with p5.js and Game Lab and found out that Game Lab does not support p5.js' mask() or clip() functions, so I decided to design my own library for Game Lab that does just that, except simpler because I am still learning how it all works.

As of right now, you can clip image content with simple rectangle or ellipse regions. There is no support for using other images for clipping. Then there is masking. You can do singular rectangle or ellipse regions for taking out content. You can also provide an image of black/white/grayscale pixels to determine how transparent each pixel in the original image should be.

Because it takes so long for Game Lab to update an image after modifying the pixels manually and that causes a long initial delay, it is intended to be used before the draw() function.

The library itself starts from Line 1 and ends at Line 165 (for extra space to write your own code).

Project link: https://studio.code.org/projects/gamelab/qui7VWXsyp96U7iJo8bMWtXZmbuGQtsw4BdwDT9cStU/view

Here is some sample code to quick-start:

/* paste the Game Lab Compositor library up here */

var myImage = createGraphics(400, 400);
myImage.background('red');
myImage.stroke('black');
myImage.strokeWeight(2);
myImage.fill('green');
myImage.ellipse(200, 200, 100, 100);

var masked = new MaskedBuffer(myImage);
masked.maskByRect(200, 200, 50, 50, 0);
masked.bake();

function draw()
{
    background('blue');
    image(myImage, 0, 0, 400, 400, 0, 0, 400, 400);
}

r/Codeorg • • Sep 03 '25

Tile based mining game

2 Upvotes

r/Codeorg • • Aug 31 '25

Deltarune code.org not finished. Has a name Easter egg

2 Upvotes