Shooting Tutorial

Shooting Tutorial

ni CoolioJulio
I-report ang bug
I-flag ang Laro
โญ Pinakamataas
Kingdom Rush Frontiers
โญ Pinakamataas
Escape Game - Computer Office Escape
โญ Pinakamataas
Bloons TD 5
โญ Pinakamataas
Incremancer
โญ Pinakamataas
Kingdom Rush
โญ Pinakamataas
Learn to Fly 3
โญ Pinakamataas
Fleeing the Complex
โญ Pinakamataas
SAS: Zombie Assault 4
โญ Pinakamataas
Bit Heroes
โญ Pinakamataas
Epic Battle Fantasy 5
โญ Pinakamataas
Epic Battle Fantasy 4
โญ Pinakamataas
Swords and Souls
๐Ÿ”ฅ Trending
NGU IDLE
โญ Pinakamataas
Mutilate-a-Doll 2
โญ Pinakamataas
The Enchanted Cave 2
โญ Pinakamataas
UnpuzzleX
โญ Pinakamataas
Bloons Monkey City
โญ Pinakamataas
Retro Bowl
โญ Pinakamataas
Learn to Fly 2
โญ Pinakamataas
The King's League: Odyssey
Loading ad...

Shooting Tutorial

Rating:
2.2
Pinalabas: May 14, 2009
Huling update: May 14, 2009
Developer: CoolioJulio

Mga tag para sa Shooting Tutorial

Deskripsyon

Learn how to create a simple game to shoot.
You should complete my first tutorial to learn ship movement!
Just search Profile: CoolioJulio and its one of my games!

Paano Maglaro

Arrow keys to move and space to shoot!

Mga Update mula sa Developer

May 14, 2009 7:44am

Here is the code so you can copy and paste it!

var i = 0;
var score = 0;
var lives = 3;

this.onEnterFrame = function()
{

if (Key.isDown(Key.RIGHT))
{
if (Ship.hitTest(550, Ship.y, true))
{
Ship.x -= 7;
}
Ship.x += 7;
}
else if (Key.isDown(Key.LEFT))
{
if (Ship.hitTest(0, Ship.y, true))
{
Ship.x += 7;
}
Ship.x -= 7;
}
else if (Key.isDown(Key.UP))
{
if (Ship.hitTest(Ship.
x โ€“ 40, 0, true))
{
Ship.
y += 7;
}
Ship.
y -= 7;
}
else if (Key.isDown(Key.DOWN))
{
if (Ship.hitTest(Ship.
x โ€“ 40, 300, true))
{
Ship.
y -= 7;
}
Ship.
y = 7;
}
if (Key.isDown(Key.SPACE))
{
i
+;

_root.attachMovie(โ€œBulletโ€, โ€œBulletโ€ + i, _root.getNextHighestDepth());
root[โ€œBulletโ€ + i]._x = Ship.x + 3;
root[โ€œBulletโ€ + i]._y = Ship.y;

}

}

Mga Komento

0/1000
sirolf2009 avatar

sirolf2009

Jul. 04, 2009

0
0

i had a lot of errors, ive make them all good but its still not working

PaladFKStatium avatar

PaladFKStatium

Jul. 02, 2009

0
0

The shooting programming does not work at all. The code is completely wrong, it is incomplete - the fact that you put up the tutorial and following your own code that you can't shoot is kind of a fail. Also, it is not a problem with your computer. It is the source of incomplete code, completely assigned wrong, to begin with. Don't blame your computer for not being able to program properly

Heylon avatar

Heylon

Jun. 30, 2009

0
0

SINTAX ERROR-dude even my self created code works better. this code is so dead not even i can fix it. i fixed most of it.

wootithink avatar

wootithink

May. 27, 2009

0
0

Ehhhhhh

CoolioJulio avatar

CoolioJulio

May. 18, 2009

0
0

The code works. I tried it out on a different file!

Desktop Tower Defense Map Editor
Tutorial: How to make a basix Maze Game without any experience
How To Solve A Rubik's Cube!!
โญ Pinakamataas
Flash Games Tut2
โญ Pinakamataas
Flash Tutorial For Beginners
for god sake don't click!
how to make a basic adventure game using flash
basic flash tutorial
Tutorial: How to make a Basix Pong Game
I wanna be a popstar