กลับไปหน้ารวมไฟล์
vga-boulder-crash-110546-en.md

A while ago I had watch a video of someone make a vga graphics card, as a result I wanted to make something with vga, but I don't have the knowledge to do it. I ended up with a project on simple circuit and made it. After I made it I was bored with the stale text of the screen and decided to make a game. I'm not the most creative person, but my friend had a fun game that I decided to recreate and stick on a vga screen.

The libraries are here you will need the vga and Adafruit graphics.

EXPANDED TECHNICAL DETAILS

Retro 8-Bit Video Generation

VGA Boulder Crash explores the limits of Arduino performance by generating a real-time VGA video signal entirely in software.

  • High-Speed Signal Timing: Leveraging the VGAx or TVout library, the Arduino bit-bangs the "HSYNC" and "VSYNC" pulses required by standard monitors. This requires cycle-accurate code to ensure the image remains stable at 640x480 resolution (internal render resolution is lower).
  • Physics and Collision Logic: Manages a simple game engine where "Boulders" (bitmaps) fall from the top of the screen. The Arduino calculates the bounding-box collision between the player and the boulders on every frame.

Hardware Engineering

  • R-2R Resistor DAC: Highlights the use of a simple resistor network to convert the Arduino's digital pins into the analog color signals $(R, G, B)$ required by the VGA standard.

ข้อมูล Frontmatter ดั้งเดิม

title: "Vga Boulder Crash"
description: "A fun game on a vga screen with a insane 4 FPS!"
author: "28cweaver"
category: ""
tags:
  - "games"
views: 452
likes: 0
price: 1499
difficulty: "Intermediate"
components:
  - "1x Jumper wires (generic)"
  - "1x Through Hole Resistor, 68 kohm"
  - "1x Analog joystick (Generic)"
  - "1x Arduino UNO"
  - "1x Resistor 220 ohm"
tools: []
apps:
  - "1x Arduino IDE"
downloadableFiles: []
documentationLinks: []
passwordHash: "f28506485ad7bd8281fd3122a3f289f9a9f6283edf5b7ccb9a31392f2ac90c01"
encryptedPayload: "U2FsdGVkX1+AYTrgJm55iVhg3IapieoqzJ2ReNfEbU3uK4xKY2yMOndA8fEYDJ2A4LSfTfOwixEwJOX2NpBea2VV5sqYwnE4t8Iox+jRV7A="
seoDescription: "Experience Vga Boulder Crash, a fun game on a vga screen running at 4 FPS. Perfect for Arduino enthusiasts."
videoLinks: []
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/vga-boulder-crash-110546_cover.jpg"
lang: "en"