I Made Pac-Man with just Redstone!

368,265
0
Published 2024-02-24
To try everything Brilliant has to offer—free—for a full 30 days, visit brilliant.org/mattbatwings .
The first 200 of you will get 20% off Brilliant’s annual premium subscription.

Patreon: www.patreon.com/mattbatwings
Discord: discord.gg/V5KFaF63mV
My socials: linktr.ee/mattbatwings
My texture pack: modrinth.com/resourcepack/mattpack

World Download: (JAVA 1.18.2) www.planetminecraft.com/project/redstone-pac-man/
Pacman Texture Pack: drive.google.com/file/d/1VeCwUwzx9ymzmkfiDwg4KAA_I…

Showcase edit by @Sloimay
Animation inspired by @RGMechEx
Adder Designs by Aminotreal and Don Manuel
More about Ghost AI (and overflow bug):    • Pac-Man Ghost AI Explained  

-------------------------

0:00 Intro
0:42 Initial Thoughts
2:09 Display / Sprites
5:40 Movement
7:57 Dots
9:00 Walls
11:13 Sponsor
12:09 Ghost AI
18:20 Ghost Decision Maker
22:28 Scatter Mode
22:50 Chase Mode
24:39 Frightened Mode
26:07 Death Detection
26:50 Lives System
27:04 Level System
28:14 Final Thoughts
28:36 Showcase
29:35 Subscribe!

Music (in order):
Jagdaggar - Otherside Remix    • Minecraft - "Otherside" Jagdaggar Remix  
Harris Heller - Guilty Spark    • Guilty Spark  
LitKidBeats - "GOOD VIBES"    • [FREE] Happy Type Beat - "GOOD VIBES"...  
Infraction - Serotonin    • Vlog Lo-Fi Chill by Infraction [No Co...  
LAKEY INSPIRED - Blue Boi    • LAKEY INSPIRED - Blue Boi  
LAKEY INSPIRED - Chill Day    • LAKEY INSPIRED - Chill Day  
LuKremBo - biscuit    • (no copyright music) lofi type beat “...  
Harris Heller - Meteor Binge    • Meteor Binge  
Harris Heller - Tokyo Rain    • Tokyo Rain  
Helynt - Moog City    • Moog City  
Infraction - Jeju    • Vlog Chill Hip-Hop by Infraction [No ...  
Harris Heller - Plethora    • Plethora  
Harris Heller - Iridescent    • Iridescent  
Harris Heller - Golden Age    • Golden Age  
Harris Heller - Path Less Traveled    • Path Less Traveled  
Harris Heller - One More    • One More  
Harris Heller - Streamline    • Streamline  
Harris Heller - 90's    • 90's  
Infraction - Lifestyle    • Chill Lo-Fi Study Beat by Infraction ...  
Yusei - Wish I'd stayed    • (FREE) Lofi Type Beat - Wish I'd stayed  
HOME - We're Finally Landing    • Home - We're Finally Landing  
HOME - Still Life    • HOME - Still Life  
Blue Wednesday - Cereal Killa    • Blue Wednesday - Cereal Killa  
Harris Heller - Ain't No Rest for the Stars    • Ain't No Rest for the Stars  
PRNV - Happy High    • Happy High || happy lofi music || PRN...  
Milky Wayvers - Love in Japan    • Love in Japan  
Helynt - Continue    • Continue  
Unfeel - Kinda Love    • Feel Good Summer Experimental Hip-Hop...  
C418 - Aria Math (Synthwave Remix by Oxart)
   • C418 - Aria Math (Synthwave Remix)  
Arsenic1987 - Pac-man theme remix    • Pac-man theme remix - By Arsenic1987  

This video was sponsored by Brilliant

All Comments (21)
  • @mattbatwings
    To try everything Brilliant has to offer—free—for a full 30 days, visit brilliant.org/mattbatwings . The first 200 of you will get 20% off Brilliant’s annual premium subscription.
  • @realgoose
    But can it run Doom? Edit: HE DID IT!!
  • @anic1716
    Now we know that while a redstone graphing calculator won't earn you a girlfriend, Pac-Man will certainly give you one.
  • @theendcodeur8651
    2015: look at this redstone calculator, it's amazing! 2024: Mattbatwings remakes Pacman in redstone, so cool!
  • @Mountainousview
    Its annoyingly hard to think of redstone games that are hard enough to be challenging but easy enough to be possible
  • @herobrine1792
    note blocks also have an instrument based off of what block is under them and that can be changed with pistons to recreate the overflow bug
  • @Parman72-rp9lp
    This man is on a full blown Anime character arc. Every arcade game by next week
  • @WhoIsJoeRoblox
    I love how matt uses those “for example” so we understand what he’s talking about
  • Recreating Pacman completely out of redstone is not nearly as impressive as somehow making the whole process so clearly defined and understandable that I could confidently explain how to do it despite the fact that I'm incapable of doing it myself. Excellent writing, scripting, problem solving, editing, etc. Just a stellar video.
  • @billydrink
    Personally for the walls, I'd use the good old fashioned Tetris code. Instead of storing if a tile has walls around it, you just store which tiles are walls. Then when pacman tries to move, you let him land on the wall, check if it is a wall, and if yes get him back to his previous location. This makes sense in code, though I'm not sure if it would be fast enough with redstone.
  • @Windeycastle
    Small correction at 19:40 (sorry, couldn't help myself) If a^2 > b^2, then it means that abs(a) > abs(b). Imagine for example a = -3, and b = 2. Then (-3)^2 = 9 > 2^2 = 4, but -3 < 2, so small problem there. This isn't an issue for the game though, as both a and b will be distances, and they can't be negative.
  • @mmm12456
    You could try pushing different blocks underneath the noteblocks with pistons as instruments get stored as differrent block states as well and get more available textures that way
  • @Marco-ti8sx
    You madlad, you did it. Can't wait to see the actual video
  • @autumnleaves3012
    if you ever wanted to create a more robust screen, I would recommend using a pack that textures based on the amount of a certain item in a shulker
  • @wChris_
    I feel like the ghost eyes pointing in the right direction is something really important in judging where a ghost is going. Maybe it would be possible to overlay the ghost base texture + an eye direction texture, which would only require 8 textures compared to 16 if you combine them.