Neon Dungeon: Rogue Crawler · Step 1 of 4

Initializing Canvas & Player Sprite

Welcome to Neon Dungeon: Rogue Crawler! In this first step, you will initialize the 2D rendering canvas, establish world coordinates, and render your player hero—a glowing cyan knight sprite rectangle at position (x: 180, y: 180). Learn how 2D Graphics APIs work across JavaScript, Python, and Java, and observe how each language manages canvas contexts and rendering calls.

What you will learn

Open this interactive lesson · Browse all lessons

In the editor, complete the marked TODOs. Use Stuck on a TODO? to reveal hints or a worked example, then run the lesson checks.