Building a Geometry Dash-Style Game with Amazon Q and AI Tools
Overview
This guide walks through the process of creating a simple Geometry Dash-inspired game using Amazon Q, Bedrock, and various creative tools. The main steps include:
- Drafting a game idea and refining it into a structured prompt using Bedrock (Claude 3 Haiku)
- Generating the initial game project with Amazon Q CLI
- Enhancing visuals and audio using Figma, Stable Audio & Claude 3 Sonet, and fonts from itch.io
- Writing a helpful
README.mdwith assistance from Amazon Q CLI
Prerequisites
- Amazon Q CLI installed and configured
- Python installed on your system
Step 1: Create a High-Quality Prompt with Bedrock
To kickstart the project, I drafted my initial game idea and used Amazon Bedrock (Claude 3 Haiku) to help refine it into a well-structured prompt for Amazon Q.
My initial idea:
I have an idea of using Amazon Q to create a game with Pygame, the game style is like Geometry Dash. The player presses SPACE to jump, R to restart the game. Include an "x2" coin that boosts speed and doubles coin collection. Provide a well-structured prompt for Amazon Q to generate the game project.
Claude's refined prompt:
Create a 2D side-scrolling platform game inspired by Geometry Dash using Pygame with the following features and requirements:
## Game Mechanics:
- Auto-forward movement
- Jump with SPACE
- Restart with R
- Coins to collect
- "x2" power-up that doubles speed and coin value
## Technical Implementation:
- Object-oriented structure
- Classes for game manager, player, obstacles, coins, power-ups, UI
## Visuals and Controls:
- Simple geometric character
- Spikes and obstacles
- Parallax scrolling background
- Score counter and game over screen
## Additional Features:
- Sound effects and music
- Particle effects
- Progressive difficulty
- High score system
Please use modular code files and implement proper game loops, collision detection, and resource management.
Run q chat, paste the prompt, and Amazon Q will generate a basic folder structure like the one below:
Step 2: Enhance the Game with Custom Assets
đĩ Generate a Custom Theme Song with Stable Audio
I used Claude 3 Sonet via Bedrock to generate a prompt for a custom game theme:
## Geometry Dash-Style Electronic Theme Song
- Tempo: 160 BPM
- Key: F minor
- Loop duration: 30s seamless loop
- Instruments: bright saw synth, digital tom rolls, square wave arpeggios, side-chained kick and snare, reverse cymbals
Paste this into Stable Audio to generate a high-energy game soundtrack.
You can download my generated theme song here: Cloud Dash Song
đ§ââī¸ Create Custom Characters with Figma
Use Figma to draw and export a unique character sprite for your game.
đ¤ Add Pixel-Style Fonts
You can find retro and pixel-style fonts on itch.io to enhance the game's visual appeal.
đ ī¸ Fix Bugs and Add Features with Amazon Q
Use q chat to ask Amazon Q for help with fixing bugs or extending game logic. It can assist in:
- Debugging game logic
- Adding new mechanics
- Refactoring code
Also, ask Amazon Q to write your README.md file for better project documentation.
DEMO
All source code will be on my GitHub repo: Cloud Dash



Top comments (1)
āĻāĻāĻ āĻā§āϞ āϝā§āĻŽāύ Amazon Q CLI āĻāϏāϞā§āĻ āĻā§āĻ āĻā§āĻŽ āĻĒā§āϰā§āĻā§āĻāĻžāĻāĻĒ āĻŦāĻžāύāĻžāύā§āĻā§ āĻ āύā§āĻ āϏāĻšāĻ āĻāϰ⧠āĻĻāĻŋā§ā§āĻā§āĨ¤ āϏāĻŦāĻā§ā§ā§ āĻ āĻŦāĻžāĻ āĻāϰāĻžāϰ āĻŦāĻŋāώ⧠āĻšāϞ⧠â āĻā§āύ⧠āĻāĻāĻĄāĻŋā§āĻž āĻĨā§āĻā§ āĻŽāĻžāϤā§āϰ ⧍ā§Ļ āĻŽāĻŋāύāĻŋāĻā§ āĻā§āϞāĻžāϰ āĻŽāϤ⧠āĻāĻŋāĻā§ āϤā§āϰāĻŋ āĻšā§ā§ āϝāĻžā§āĨ¤ āĻ āĻŦāĻļā§āϝāĻ, āĻāĻāĻāĻŋ āĻĒā§āϰā§āĻŖāĻžāĻā§āĻ āĻĒā§āϰā§āĻĄāĻžāĻā§āĻ āĻŦāĻžāύāĻžāϤ⧠āĻāϰāĻ āϏāĻŽā§ āϞāĻžāĻā§, āĻāĻŋāύā§āϤ⧠āĻāĻ āĻā§āϞāĻā§āϞ⧠āĻļā§āϰ⧠āĻāϰāĻžāϰ āϏāĻŦ āϧāϰāύā§āϰ āĻāĻžāĻŽā§āϞāĻž āĻĻā§āϰ āĻāϰ⧠āĻĻā§ā§āĨ¤ āĻĒā§āϰāϝā§āĻā§āϤāĻŋ āĻā§āĻāĻžāĻŦā§ āĻŦāĻŋāύā§āĻĻāύāĻā§āĻ āĻŦāĻĻāϞ⧠āĻĻāĻŋāĻā§āĻā§, āϏā§āĻāĻž āĻĻā§āĻāϤā§āĻ āĻŽāĻāĻžāϰ āϞāĻžāĻā§āĨ¤ āĻāĻĻāĻžāĻšāϰāĻŖāϏā§āĻŦāϰā§āĻĒ, babu88-live āĻāϰ āĻŽāϤ⧠āĻĒā§āϞā§āϝāĻžāĻāĻĢāϰā§āĻŽāĻā§āϞ⧠āĻĻā§āĻāĻžā§ āϝ⧠āĻ āύāϞāĻžāĻāύ āĻāύā§āĻāĻžāϰā§āĻā§āĻāĻŋāĻ āĻāĻā§āϏāĻĒā§āϰāĻŋā§ā§āύā§āϏāĻ āĻāĻāĻ āĻāϤāĻŋāϤ⧠āĻŦā§ā§ā§ āĻāĻ āĻā§āĨ¤ āĻŽāύ⧠āĻšāĻā§āĻā§ āĻāĻāĻ āϧāĻžāϰāĻžâāĻāĻāĻ āĻāϰ āĻ āĻā§āĻŽā§āĻļāύ āĻāύā§āύā§āύāĻā§ āĻĻā§āϰā§āϤ āĻāϰāĻā§ āĻāĻŦāĻ āĻāϰāĻ āϏāĻšāĻāϞāĻā§āϝ āĻāϰāĻā§āĨ¤ āĻāĻĒāύāĻŋ āĻāĻŋ āĻŽāύ⧠āĻāϰā§āύ, āĻāĻŦāĻŋāώā§āϝāϤ⧠āĻāĻŽāϰāĻž āĻāĻā§āĻŦāĻžāϰ⧠āĻāĻāĻ āĻĻā§āĻŦāĻžāϰāĻž āĻŦāĻžāϏā§āϤāĻŦ āϏāĻŽā§ā§ āϤā§āϰāĻŋ āĻā§āĻŽ āĻā§āϞāϤ⧠āĻĒāĻžāϰāĻŦ?