I've made a simple macro game in Word 2007. You basically walk a tiny red 'c' around a square map using the arrow keys. ALT+A resets/starts the game. ALT+Q returns to the title screen.
It has been a long time since I've touched BASIC (5+ years), and I wrote this all within the last 20 minutes.
Since Word 2007 (and presumably all versions of Word which support macros) can be nearly fully scripted through VBA (Visual Basic for Applications) macros, I am suprised to not have found much information about Word macro games. My example shows moving a simple character around the screen based on key events. However, using a timer object, you could create some form of real-time-ie-ness, and using the drawing objects you could create graphical images rather than ASCII images.
Given some time and dedication I am sure you could build a fairly decent 2D game framework (and possibly even an interactive ray-caster) using VBA.
Tell me what you think!
(Sorry non-Word 2007 and non-Windows users).
Word 2007 users: Simple Macro Game
- AndrewAPrice
- Member
- Posts: 2299
- Joined: Mon Jun 05, 2006 11:00 pm
- Location: USA (and Australia)
Word 2007 users: Simple Macro Game
- Attachments
-
- Simple Word RPG.zip
- (19.62 KiB) Downloaded 44 times
My OS is Perception.
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
People probably play pinball insteadI am suprised to not have found much information about Word macro games.
Either you are a geek or you aren't. I already imagine myself playing pacman and eating all the text I previously wrote...Given some time and dedication I am sure you could build a fairly decent 2D game framework (and possibly even an interactive ray-caster) using VBA.
I'll shut up now.
Hmm, I imagine something like a webbaces Pacman game where you choose a random webpage and your goal of course is to eat all the characters as fast as possible while avoiding all the evil smileys trying to kill youCombuster wrote:Either you are a geek or you aren't. I already imagine myself playing pacman and eating all the text I previously wrote...
- AndrewAPrice
- Member
- Posts: 2299
- Joined: Mon Jun 05, 2006 11:00 pm
- Location: USA (and Australia)
Is this a real game? I couldn't find any trace of it on google.Zacariaz wrote:Hmm, I imagine something like a webbaces Pacman game where you choose a random webpage and your goal of course is to eat all the characters as fast as possible while avoiding all the evil smileys trying to kill you
My OS is Perception.