news (5 years ago) | affiliates | f.a.q | contact
mmfiles.com Upload Register free Custom work (154) forum
Search

Galaga Inspired Game or Scrolling Shooter Game Template

Galaga Inspired Game or Scrolling Shooter Game Template - click for preview
Buy and download License details

User ratings for Galaga Inspired Game or Scrolling Shooter Game Template.

5 sales, 6827 views
user arc600 Byarc600

Description

Flash version: 8, ActionScript 2.0.
The idea is that one can use the game as is, or use it as a template to make their own scrolling shooter type game. Instructions are included which explain how to swap out the following graphics with your graphics: main ship, enemy ships, projectiles.


In Depth Description:

Features

Infinite star background:
Stars are created at run time on three different layers and move at three different speeds. You will never see the same pattern of stars twice.

Power ups:
Rapid fire shots (stackable)
Bazooka
Speed Increase (stackable)

Earn extra lives
Second ship on screen (drops at level 6 and 11).
Hit Percent
Score
Win Screen
Choose Difficulty Settings

Different enemy behavior for different stages:
All enemies fly in at once stages1-4
Different enemy stage 5
Staggered fly in stage 6
Different enemy stage 10
Repeat of different enemy from stage 5 on stage 13

Difficulty changes based on stage:
As the game progresses the behavior of the enemy ships is automatically updated by the action script to be more aggressive.

Infinite Levels:
If the programmer chooses the number of levels can be infinite, default stages are created automatically and do not require input from the programmer.

Random Enemy Patterns:
The patterns of the enemy are different each game (at least for the stages where the bugs fly in and land in a random pattern) so each game is unique. The attack times are also based on random numbers so they will never be exactly the same.

Background Music is an option.


Coding and Customization

Here are some of the main features which are easily changed using the actionscript:

bugSource = "beeLoopFromLeft"; //enemy graphic
bugNumber = 10; //number of enemies to start
xStartLocation = 0; //enemy start location
xSpread=200; //beginning horizontal spread of enemies
yStartLocation = 45;
ySpread = 150;
aggressiveness = 1500; //this number affects how likely enemy to attack
bugAggressivnessIncreaseIncrement = 50; //increase in bug aggressiveness per stage
newStageBugIncrement = 2; //number of extra bugs per stage

endGameLevel = 15;
maxBullets = 4;
extraShips = 2;
extraLife1Score = 200000;
extraLife2Score = 400000;
extraLife3Score = 800000;
powerUpSpeed = true;
powerUpQuickShot = true;
powerUpBazooka = true;
twoShipsAllowed = true;
backgroundMusic = false;

playerShip = "ship";
bulletSpeed = -12;
bulletSource = "projectile"
shipLeftSpeed = 1.65;
shipRightSpeed = 1.65;


Script Table of Contents

Default Values: Line 25

Changeable main defaults
Static default values
Player Default Values
Visible
Sound

Reset button 161
Game function 254
Stage dependent 425
Attaching bugs 671
Bullet Animation 720
Background 848
Ship Movement 921
Power Ups 952

There are comments in the source file, and added notes in the help file included with this file which explain in more depth how to change things.

Keywords: galaga  game  template  scrolling  top  scroller 

Comments

You need to LOGIN to post a comment.
user zakspeed
zakspeed didn't purchased this file yet 6 years ago

Is there a way to add credits, XML maybe. I want to develop a game website where the visitors need to buy credits to play? Multi players?

user xzone9
xzone9 didn't purchased this file yet 7 years ago

Nice simulation of Galaga, lots of work put into it. Good job.

user arc600
arc600 the listing author 8 years ago

Hi Jorgerosa. Thanks for the nice comments. You can use the game and code however you want. You are welcome to use all, or part of it, for commercial games. If you make something neat though please send me a link.

user jorgerosa
jorgerosa didn't purchased this file yet 8 years ago

This is an awesome idea and i love this kind of classic games so much! Using it as template for other games is genial! Could we (for example) use it in other flash commercial games? (It has really interesting script routines, that could save me a lot of time on code). Thanks. Great stuff indeed! :)

Related listings
Alien AnimationAlien Animation
Tetris Flash GameTetris Flash Game
Sweety Creature Flash AnimationSweety Creature Flash ..
Photographer Scroller XML Flash Website TemplatePhotographer Scroller ..
Listing is in collections
Nicks (33)