News:

ASSUMING DIRECT CONTROL.

Main Menu

Control+V

Started by Kilroy, April 17, 2009, 02:57:13 PM

Previous topic - Next topic

0 Members and 5 Guests are viewing this topic.

Doodle

YEAH

Doodle

Information about object: obj_hammer_joe

Sprite: spr_hammer_joe1
Solid: false
Visible: true
Depth: 0
Persistent: false
Parent: obj_enemy_parent
Mask: spr_sniper_joe_mask

Create Event:
execute code:

shoot = 0
direct = 1
energy = 9
vulnerable = 0

alarm[0] = 80
alarm[1] = 55

Alarm Event for alarm 0:
execute code:

if direct = 1
{
ID = instance_create(x+14,y,obj_hammer_joe_weapon)
with (ID) hspeed = 4;
}

if direct = -1
{
ID = instance_create(x-14,y,obj_hammer_joe_weapon)
with (ID) hspeed = -4;
}
shoot = 1
alarm[4] = 20

Alarm Event for alarm 1:
execute code:

vulnerable = 1

Alarm Event for alarm 4:
execute code:

shoot = 0
vulnerable = 0

alarm[0] = 80
alarm[1] = 55

Step Event:
execute code:

if shoot = 0
{
if instance_exists(obj_megaman)
{
if obj_megaman.x <= x
{
direct = -1
}
else
{
direct = 1
}
}
else if instance_exists(obj_camera)
{
if obj_camera.x <= x
{
direct = -1
}
else
{
direct = 1
}
}
}

if energy = 0
{
sound_play(snd_smalldestroy)
instance_destroy()
}

End Step Event:
execute code:

image_xscale = direct

if shoot = 0
{
if vulnerable = 0
{
sprite_index = spr_hammer_joe1
image_speed = .50
}
else
{
sprite_index = spr_hammer_joe2
image_speed = .50
}
}
else
{
sprite_index = spr_hammer_joe_thrown
image_speed = 0
}

Collision Event with object obj_mbuster:
execute code:

if vulnerable = 1
{
sound_play(snd_damage)
energy += -1
with(other)instance_destroy()
}
else
{
sound_play(snd_deflect)
other.x = x+(direct*25)
other.hspeed = other.hspeed*-1
other.vspeed = -4
}
YEAH

Kilroy

1984 WAS SUPPOSED TO BE AN INSTRUCTION NOT MANUAL
"yes you are anusface, but i am better than!!" - taw, steam forums
 FOR NSF MASCOT


Turok

http://www.vistax64.com/vista-performance-maintenance/227585-page-fault-nonpaged-area.html

oh yeah, Trackmania randomly stopped working, I've been trying to fix it

I kinda wish it was something more exciting

[spoiler]
Quote
QuoteSo is it Capcom JPN or US screwing the PC release over? Both?
QuoteNUKE THEM FROM ORBIT, IT'S THE ONLY WAY TO BE SURE

PC GAMERS



If you don't give us what we want, we'll nuke you from orbit.
[/spoiler]

Macawmoses


SkyMyl


Turok

Quote from: mackormoses on January 30, 2010, 04:14:45 PM
*member ip*

whoops
so that's who was remotely accessing my porn collection

[spoiler]
Quote
QuoteSo is it Capcom JPN or US screwing the PC release over? Both?
QuoteNUKE THEM FROM ORBIT, IT'S THE ONLY WAY TO BE SURE

PC GAMERS



If you don't give us what we want, we'll nuke you from orbit.
[/spoiler]

Silverhawk79

Guitar Hero: Hendrix

Light

Holy crap all my sigs were always poop. Best leave this space alone.

Doodle

YEAH

SkyMyl


Java

abrina - The Businessmom

Kilroy

1984 WAS SUPPOSED TO BE AN INSTRUCTION NOT MANUAL
"yes you are anusface, but i am better than!!" - taw, steam forums
 FOR NSF MASCOT

L10

Mushihimesama Futari
0o!f