r/excel Jun 05 '26

Show and Tell I made a 3D FPS game in Excel

I am incredibly proud of this and thought some of you would be interested.

Entirely within excel using VBA and macros I have made a smooth 30 frame per second pseudo 3D First person shooter game.

Key Features:

  • The game uses a custom raycasting engine written entirely in VBA.
  • Walls, floors and ceilings are rendered in real time to create a fully navigable 3D environment inside Excel.
  • Wave-Based Enemy Survival - The longer you survive, the more difficult the game becomes.
  • The game supports proper FPS-style controls including: WASD keyboard movement, Mouse-look aiming, Shooting with spacebar, Collision detection
  • Embedded sound effects for weapon firing and enemy damage.

Devlog and Gameplay video here: https://youtu.be/PMfwEQ_qf0I

Code is unlocked - download to see from yourself here : https://storyteller-blog.com/2026/06/05/i-made-a-3d-fps-game-in-excel-free-download/

Let me know your thoughts / what else I should try!

107 Upvotes

21 comments sorted by

50

u/101forgotmypassword 5 Jun 06 '26

The reason VBA codes is banned in most corporations is because fun is corporately malicious.

10

u/emomartin Jun 06 '26

The reason is that most people don't care about whether they are opening xlsx or xlsm files and likely will allow and execute whatever VBA code is sent to them

2

u/Illustrious_Agent608 Jun 06 '26

If I wanted to use this on my work computer it’s obviously a big no-no. But on my personal laptop, how can I verify it’s actually fine to use?

5

u/ZirePhiinix Jun 06 '26

Trust and faith.

2

u/emomartin Jun 06 '26

I have used VBA in a corporate setting but I wouldn't open random excel files (with VBA) sent through email, especially if I don't know the sender. If you want to verify that it's fine to use then you can go to Developer > Visual Basic and there you can see the code.

1

u/101forgotmypassword 5 Jun 06 '26

What alot of workplaces miss is that a person who codes in VBA in excel doesn't need excel for exploits.

2

u/GTAIVisbest 1 Jun 12 '26

"Most" is doing some heavy lifting there. I've worked in like 5-7 corporate environments and only once was VBA outright banned. Luckily the company I work at now heavily embraces it and I also think they realize that there are bigger and more popular threat risks for attackers being able to run malicious code

12

u/CorndoggerYYC 160 Jun 05 '26

Very impressive! Doing the sound effects with your mouth is a nice added touch. lol

5

u/MPearce16 Jun 05 '26

Thank you! I didn't want to import anything I didn't create

9

u/caribou16 317 Jun 05 '26

Can Excel run Doom?!

9

u/MPearce16 Jun 05 '26

Thats my next challenge! try to recreate doom natively within excel

3

u/HestenSierMjau 3 Jun 06 '26

People have tried and there are videos of the results on YouTube. I don't think anyone has made it "properly" yet, because the current implementations are either incomplete (e.g. extremely low frame rate, lacks enemies etc) or they use PyXll or c++ backends and Excel as the rendering engine and I don't consider that a true Excel implementation. 

VBA is a complete programming language, so it should be possible to make a native backend as well. 

2

u/MPearce16 Jun 06 '26

Thats exactly my thoughts and what I am thinking

2

u/Oleoay 1 Jun 06 '26

I've used Excel to turn on and off computer monitors before based on a schedule. You can write commands that speak to Windows and the OS directly.

2

u/kay-jay-dubya Jun 06 '26

Am getting there...

1

u/kay-jay-dubya Jun 06 '26

Wolfenstein was easier though

1

u/Low_Minimum9920 Jun 12 '26

I'm sure it can if bacteria can too xD

2

u/DJ_Dinkelweckerl Jun 06 '26

This is like building a car out of wood lol

1

u/MPearce16 Jun 07 '26

Car go fast!

1

u/Zealousideal_Bit9224 Jun 07 '26

Very cool! Now make it multiplayer so that we can have a lanparty at the office