Teachers and club leaders
Teach coding with games students want to make
Web Engine 2D is the step after block coding. Students write real code and make real games, in a browser tab. Here is what to know before your first class.
Who it is for
Grades 7 to 10
Made for students about 12 to 16 years old. Older beginners do well too.
After block coding
Best for students who have used Scratch or a similar tool and want to type real code.
You don't need to be a programmer
The lessons explain every step in short sentences. You can learn alongside your class.
The learning path
Five levels, from a first click to a whole game. Each level ends with a small game students make themselves. About 15 hours of lessons in all.
Honest status: the lessons are still being written. 14 of 42 are drafted and being tested in the real editor. None are ready for class yet.
Level 1: Sprout
Start here! Meet the editor and make your first things.
Students learn: objects and their properties, components, a first script, and what to do when nothing happens.
11 lessons · about 130 min
Level 2: Spark
Find other objects, use their parts, and make them react.
Students learn: finding other objects, using their parts, and reacting when things touch.
5 lessons · about 85 min
Level 3: Explorer
Move, jump, collect coins, keep score, and win or lose.
Students learn: keyboard input, variables, if statements, keeping score, and winning or losing.
9 lessons · about 190 min
Level 4: Builder
Open a door, then add animation, enemies and a bigger level.
Students learn: timing, animation, reusable objects (prefabs), menus and bigger levels.
11 lessons · about 305 min
Level 5: Star
Lights, effects, smart enemies and a whole game.
Students learn: effects, smarter enemies, and planning and finishing a whole game.
6 lessons · about 200 min
Lesson times are for one student working alone. In class, add time to explain, help and share.
Coding is part of the curriculum in several provinces. The path covers ideas they share: sequence, variables, if statements, events and debugging. It is not mapped to a specific course yet. That comes with the teacher guide.
Why it fits
Real code, one step after blocks
Students type JavaScript. As they type, the editor suggests names and shows what each one does, so they get stuck on spelling less often.
See it work right away
Press Play and the game runs in the same tab. A small change, like a faster speed, shows at once.
No setup
It runs in the browser. There is nothing for IT to install or update.
Why JavaScript and not Python?
Many school courses use Python, and that is fine. We use JavaScript because it is the language of the web, and games run right in the browser with nothing to install. The big ideas (variables, if statements, functions, events) are the same in both. Students who learn them here can use them in Python later.
Before your first class
Do these in order. The first one can take a few days, so start early.
Ask your school's Google administrator to allow the editor
In Google Workspace for Education, students under 18 can't sign in to outside apps until an administrator allows them. Send your administrator these details:
- App name
- Web Engine 2D
- OAuth client ID
275475823924-sncevj5nbqmaim2ni90vuj7pf689jige.apps.googleusercontent.com- Access it asks for
- Google Drive, full access (a "restricted" scope). Used to find and save Web Engine 2D projects.
- Where to allow it
- Admin console → Security → Access and data control → API controls → Manage third-party app access → Add app. Search by the client ID, then choose who can use it.
Some school boards won't allow full Drive access. We understand. We plan to ask only for the files the editor creates. If your board says no, please tell us.
Check student accounts
Each student needs a Google account to save projects. A school account is best. There is no way to use the editor without an account yet.
Check the computers
A Chromebook or computer with an up-to-date Chrome, Edge or Firefox. A mouse helps a lot.
Try it yourself first
Make a project and move a character before class. It takes about 20 minutes, and you will know where students get stuck.
What a first class looks like
Students open the editor and sign in with their Google account.
They create a project and put a character in the level.
They add a few lines of code that move the character with the arrow keys.
They press Play, try it, and change the speed to see what happens.
The first time, plan two class periods. Signing in a whole class always takes longer than you expect.
Privacy, honestly
Before using any tool with students, you should know exactly what it does with their data.
- This website and the editor have no database. We don't collect names, emails or projects.
- Projects are saved in each student's own Google Drive.
- Right now the editor asks for access to the student's whole Google Drive, so it can find projects made with older versions. It only opens Web Engine 2D projects. We plan to ask for less.
- If your school uses Google Workspace for Education, students under 18 can't use outside apps until an administrator allows them. See "Before your first class" above.
Running a class
What works today, and what doesn't yet.
Handing in work
Works today Each project is a folder in the student's Google Drive. Students share that folder with you as Viewer. It then shows in your own project list, and you can open it without changing their work.
Google Classroom
Works today Post the editor link as an assignment, and ask students to share their project folder. There is no direct Classroom connection yet.
Shared computers
Works today Students sign in with Google, so their work follows them. Remind them to sign out of Google at the end of class.
Seeing the whole class
Not yet There is no class list or teacher dashboard yet. You open each shared project one by one.
Sharing a finished game
Not yet Games can only be played inside the editor for now. A link for family and friends is planned.
Undo
Not yet The editor has no undo yet. Tell students to save often, and to make a copy of the project before a big change.
Coming next
These are planned, and not ready yet:
Coming soon A full teaching unit (about 10 class hours) that ends with a finished game
Coming soon A teacher guide, an answer key and a marking rubric, matched to a provincial course
Coming soon The editor in French and Spanish
Coming soon Licenses for classes and whole schools