CHIP-8 Retro Game Emulator for PineTime
#1
Sharing a quick fun diversion that I coded on PineTime within a day... PineTime now runs CHIP-8 retro games! Here are the videos...

https://youtu.be/Bj9-vjEBBAk

https://youtu.be/rP0ZQ0bL8H8

More info about CHIP-8...

http://www.multigesture.net/articles/how...terpreter/

Whole lot of games available here...

https://github.com/dmatlack/chip8/tree/master/roms

I used an existing CHIP-8 Emulator for Rust...

https://github.com/YushiOMOTE/libchip8

The code I actually wrote is surprisingly little... (What took so long to get it right? Tracking down which Rust function was taking too much stack space)

https://github.com/lupyuen/pinetime-rust...c/chip8.rs

Thinking of using the accelerometer to control the game... tilt your watch up / down / left / right to control the player.... will this be playable? Hmmm...

I have some ideas how to optimise the rendering (e.g. batching of pixels into blocks). But this has been a really rewarding exercise on PineTime... All it takes is a few lines of Rust code to run games on PineTime! :-)

How about we take some retro games and turn them into PineTime Watch Faces?
#2
Very neat hack!
PineTime: wasp-os and MicroPython, Pinebook Pro:  Debian Bullseye
#3
Blinky can become a really cool Watch Face

https://twitter.com/MisterTechBlog/statu...51840?s=19

With music...

https://vt.tiktok.com/29NQd1/

Sent from my Pixel 4 XL using Tapatalk
#4
With experimental colour...

https://twitter.com/MisterTechBlog/statu...93760?s=19

Sent from my Pixel 4 XL using Tapatalk
#5
Rendered on a curved surface. Looks better as an animated watch face? Will be writing about this on Medium...

https://twitter.com/MisterTechBlog/statu...58594?s=19

https://twitter.com/MisterTechBlog/statu...63681?s=19

Sent from my Pixel 4 XL using Tapatalk
#6
Space Invaders and Blinky with improved rendering...

https://twitter.com/MisterTechBlog/statu...91872?s=19

https://twitter.com/MisterTechBlog/statu...08992?s=19

Sent from my Pixel 4 XL using Tapatalk
#7
Touchscreen now emulates buttons...

https://twitter.com/MisterTechBlog/statu...07169?s=19


Sent from my Pixel 4 XL using Tapatalk
#8
This is awesome. Now do PICO-8 .. or LOAD81. Smile


Possibly Related Threads…
Thread Author Replies Views Last Post
  Develop a new firmware for PineTime belushi 2 1,282 09-25-2023, 12:32 PM
Last Post: ccchan234
  Bluetooth BLE-MIDI-controller app for PineTime / InfiniTime Luno 0 497 08-20-2023, 05:17 AM
Last Post: Luno
  Python Hangman Game Program Error gulshan212 2 728 07-24-2023, 11:29 PM
Last Post: gulshan212
  Zephyr Backlight Examples for PineTime lcj 0 690 05-06-2023, 02:54 PM
Last Post: lcj
  Zephyr is ready for pinetime jandy 1 2,074 05-06-2023, 02:15 PM
Last Post: lcj
  Send a message from Android to pinetime via BLE razrosman 0 905 11-05-2022, 08:24 AM
Last Post: razrosman
  PineTime Stuck in DFU Mode Eesha Barua 1 1,997 07-25-2022, 09:17 PM
Last Post: heyhewmike
  Idle tracking with PineTime: how versatile it is? schaman 1 1,607 07-13-2022, 12:50 AM
Last Post: wibble
  PineTime implemented with partial of pebble API jandy 0 1,534 03-20-2022, 08:58 PM
Last Post: jandy
  "Pine64 USB JTAG Adapter + OpenOCD + PineTime" should it work? ITCactus 4 3,870 03-02-2022, 05:58 AM
Last Post: wibble

Forum Jump:


Users browsing this thread: 1 Guest(s)