User prompt
Add a power-up that the player can collect while running. When the player touches it, the character becomes temporarily invincible for a few seconds. During this time, the character can go through obstacles without getting hurt. The power-up should be easy to spot and appear sometimes during the run. ↪💡 Consider importing and using the following plugins: @upit/tween.v1
Code edit (1 edits merged)
Please save this source code
User prompt
Sonic Lane Runner
Initial prompt
An endless runner game with infinite levels where the player controls a Roblox-style Sonic character. The character runs forward on 3 lanes (left, center, right), dodging obstacles like spikes and cube-shaped enemies, while collecting golden rings. The camera should be in third-person view, positioned behind the character (not top-down), just like in Subway Surfers. The game is fast-paced and gets harder over time. The player can swipe left or right to change lanes, swipe up to jump, and swipe down to slide. The world is colorful and 3D, with cheerful music and simple controls for kids. Inspired by Sonic and Roblox.
/**** * Initialize Game ****/ var game = new LK.Game({ backgroundColor: 0x000000 });
/****
* Initialize Game
****/
var game = new LK.Game({
backgroundColor: 0x000000
});
Make Sonic run but with the camera above. In-Game asset. High contrast. No shadows
make sonic's enemy doctor eggman. In-Game asset. High contrast. No shadows
beam to sonic's ring. In-Game asset. High contrast. No shadows
barrel. In-Game asset. High contrast. No shadows
hot dog. In-Game asset. High contrast. No shadows
make a cactus. In-Game asset. High contrast. No shadows
make sand. In-Game asset. High contrast. No shadows