3D Game "Space Potatoes" for Arduino Uno

by bitpix in Circuits > Arduino

82 Views, 0 Favorites, 0 Comments

3D Game "Space Potatoes" for Arduino Uno

614288279-e003de37-29c5-4dc1-9792-904a7e7a8947.png
614818828-6b8d6ad2-22d0-4c1b-8cd9-6b6ffcaffbd2.png
614818920-e5d5406c-0502-446b-9f4b-5f5ce42838f6.png
614818993-4964702f-4ead-455a-ad03-a9bd5d7bd127.png
TEST2.gif
кк5.png
кк6.png
кк7.png
кк8.png
614288315-d4fb8c1e-295f-4634-8e76-23f246da237e.png
гиф1.gif
гиф2.gif
гиф3.gif

3d sci-fi shooter based on a raycasting engine (in the style of Wolfenstein). The idea of the game itself and the name " Space Potatoes " is a reference to Stanislav Lem's series of stories about Ijon Tichy, namely "The Twenty-Fifth Journey", in which the main character recalls how, not far from the planet Tairia, he was attacked by a predatory potato.

The project's engine was based on the Doom for Arduino project. Uno " by daveruiz (https://github.com/daveruiz/doom-nano).

Supplies

614289391-2ee83c34-dbc9-4cff-9cfb-391099e63709.png

Project composition

  1. Arduino Uno (ATmega328P)
  2. OLED 0.96" 128x64 (SSD1306)
  3. 6 tact buttons
  4. Piezoelectric buzzer
  5. 6 buttons
  6. Connecting wires
  7. Breadboard

System resources used:

RAM: 88.9% (used 1821 bytes from 2048 bytes)

Flash: 99.7% (used 32174 bytes from 32256 bytes)

Controls

  1. LEFT — Turn left
  2. RIGHT — Turn right
  3. UP — Forward movement
  4. DOWN — Backward movement
  5. FIRE — Shooting / Punching
  6. WEAPON — Change weapon

Link to GitHub: https://github.com/dotermine/3D-game-Space-Potatoes-for-Arduino-Uno

Connection

11IMG_20260628_191202 (1).jpg

Connection diagram:

OLED VCC 5V

OLED GND GND

OLED SCL A5

OLED SDA A4

PIEZO BUZZER + D9

UP BUTTON 1 D3

DOWN BUTTON 1 D4

LEFT BUTTON 1 D2

RIGHT BUTTON 1 D5

FIRE BUTTON 1 D7

USE BUTTON 1 D8