This blog post is brought to you by Karen Cheng a Program Manager on the Excel team.
Nsm Missile
In today’s post, we’ll show you how the classic arcade game Missile Command was created in an Excel spreadsheet. We also explain how it’s made in this video. In this game, missiles drop from the sky, attacking the city. You must click on the missiles to destroy them.
To play, you’ll need –
2016-4-4 Trying to identify vintage Mac missile game? Thread starter okieman. The guy from the Aliens movie goes, 'Game over, man! Because I've been trying to figure it out myself. Okieman macrumors newbie. Original poster. Jun 24, 2011 8 0. Feb 2, 2012 #4 Turns out there are two answers. 'Missle Command' is an Atari game that is.
· To download the game (here)
· To install Excel 2010, hot off the press last week. You can get a free trial here. The games use features that are new to Excel 2010, so they won’t work in older versions.
When you open the file to play, don’t forget to enable the macros.
The Graphics Engine
The “graphics engine” is made entirely with conditional formatting. Each cell, which represents a pixel, has a number in between 1-10 to represent a shade of grey.
You can’t actually see the numbers because the cells have been shrunken down, but enlarge the cells a bit and you’ll see the numbers behind the “pixels”:
The numbers behind the graphics engine
The entire game runs from a macro that is triggered by clicking on Start. The macro constantly recalculates what numbers to populate the grid with.
Calculating Missile Paths
Each missile runs through this series of calculations:
1. The starting point for the missile is chosen to be somewhere at random at the top of the screen
2. Each missile will at random choose one of the remaining standing buildings to target. It chooses one cell in the general perimeter of the building
3. Based on the starting and ending cell, the slope of the path the missile is calculated, such that it travels at the correct X to Y (column to row) ratio
4. The macro then repopulates the cells in the path over and over again in a loop to “draw” the missile path
5. If the missile hits the building, the game notes which building has been destroyed. The cells around the building are redrawn to the “destroyed building” state and the missile is removed.
Destroying the Missiles
Missiles are destroyed by clicking and creating a shield, which looks like an explosion effect. If the shield and missile collide, the missile is destroyed.
1. To detect the gamer’s click, the macro detects when the cell selection changes. If the new cell selection is within the playable game area, the shield is drawn.
2. To draw the shield, the macro quickly draws and redraws six frames in sequence
The shield explosion effect, frame by frame.
3. If any part of the shield and missile occupy the same cell, the missile’s path is aborted and the missile is destroyed. If any part of the shield occupies a cell occupied by a standing building, that building is destroyed.
General Gameplay
When a missile is destroyed, another one is instantly created. The number of missiles on the screen at any given time corresponds to the level. So at level 5, there will be 5 missiles on the screen at once.
The progress bar indicating how far the gamer is along a level is value in a cell formatted by a data bar.
The level progress indicator
Formatted by data bars
Mac Missile Command Game Over Download
One more thing – you can peek behind the code (and hack away to your heart’s desire) by pressing Alt-F8 and clicking edit.
The code behind the scenes
Thanks for tuning into this episode of How It’s Made. In the next edition, we’ll show you how the classic arcade game Tower Defense is made in Excel.
Mac Missile Command Game Over Screen
After getting your base in order(check other walkthroughs if not sure how) and your defenses up(especially in the South West corner)start sending out extra predator tanks to take out the Nod war factories in the enemy base to the North East. This is best accomplished by a chain of attacks one after the other with predator tanks in groups of at least four or five. Remember not to leave the base defenses to thin or the base could get overrun. Attacking the west entrance to the nod base seems to work best. Send your tanks directly into the base, take out the laser turret generators and then focus all your fire on the war factories. When the war factories are destroyed they will not be rebuilt leaving you with a whole lot of buildings to take over with engineers.
Once the base in the North East is taken the rest of the mission is pretty easy. Continue to defend against the infantry and helicopter attacks while establishing your captured base to full strength. Don't worry about the convoy thats trapped for now, it will be fine where it is until your ready to safely escort it back to your own base.
Use Nod firepower to take out the base in the Southwest corner and clear the city of any fortified Nod infantry in the buildings. Once this is done escort the MCV back to the GDI base, take out the remaining Nod base in the South and your done.
Comments are closed.