24 lines
257 B
Text
24 lines
257 B
Text
if dir = 1
|
|
{
|
|
powerbar += 3
|
|
}
|
|
|
|
if dir = -1
|
|
{
|
|
powerbar += -3
|
|
}
|
|
|
|
if powerbar >= 96
|
|
{
|
|
dir = (dir * -1)
|
|
}
|
|
|
|
if powerbar <= 0
|
|
{
|
|
dir = (dir * -1)
|
|
}
|
|
|
|
x = (obj_blobleshoot_powerbar.x + (powerbar * image_xscale))
|
|
|
|
global.blobleshootlaunchspeed = (powerbar * .85)
|
|
|