TalentJR apps
Run, jump over the enemy, collect the coins and touch the flag. The game you type in the tutorial! In this tutorial you type the whole game yourself — every line is explained.
🎮 Controls: ← → run · SPACE jump
Each mission adds one part of Coin Run. You type it, the game updates, and the studio explains every word.
const robot = addRobot(100, 200)setGravity(1600)
addFloor()onKeyDown("right", () => {
robot.move(240, 0)
})
onKeyDown("left", () => {
robot.move(-240, 0)
})onKeyPress("space", () => {
if (robot.isGrounded()) {
robot.jump(650)
}
})addCoin(200, 384)
addCoin(300, 384)
addCoin(400, 384)let score = 0
robot.onCollide("coin", (coin) => {
destroy(coin)
score = score + 10
showScore(score)
})addEnemy(500, 384)
robot.onCollide("enemy", () => {
lose("Ouch! Try again")
})
addFlag(590, 384)
robot.onCollide("flag", () => {
win("You win! 🎉")
})41 lines of real JavaScript, made with TalentJR Game Studio's game library. Lines that start with // explain what the next part does.
// 🏃 Coin Run — my first game
// Type your code below. The game on the right runs it by itself.
const robot = addRobot(100, 200)
setGravity(1600)
addFloor()
onKeyDown("right", () => {
robot.move(240, 0)
})
onKeyDown("left", () => {
robot.move(-240, 0)
})
onKeyPress("space", () => {
if (robot.isGrounded()) {
robot.jump(650)
}
})
addCoin(200, 384)
addCoin(300, 384)
addCoin(400, 384)
let score = 0
robot.onCollide("coin", (coin) => {
destroy(coin)
score = score + 10
showScore(score)
})
addEnemy(500, 384)
robot.onCollide("enemy", () => {
lose("Ouch! Try again")
})
addFlag(590, 384)
robot.onCollide("flag", () => {
win("You win! 🎉")
})
🧗 PlatformerRun, jump over spikes, collect coins and reach the flag — then build your own level.
🏃 Platform AdventureA classic 8-bit platformer: coins, slimes and a flag — change the code, sprites and level.
🎯 Slime BlasterGuard the fence: move the robot, blast the slimes marching in — big ones need 3 hits.
🏏 CricketTime your swing for a SIX, a FOUR or a run — and chase the target before you are all out.
🏎️ Retro RacingDodge the traffic on a scrolling road — change the speed, the cars and the road colour.
🚀 Space ShooterFly the rocket and shoot the aliens before they reach you — they shoot back!