Skip to content

Commit

Permalink
its here yay
Browse files Browse the repository at this point in the history
external source files babyyy
still need to change some others that arent, in which some saved code isnt set up to load yet
dont know if this will be too laggy
but less compiling now unless theres still something that is internal that needs to be changed
  • Loading branch information
donnaken15 committed Jun 18, 2020
1 parent ecd194a commit 0a663f0
Show file tree
Hide file tree
Showing 224 changed files with 5,746 additions and 0 deletions.
Binary file modified GAME.EXE
Binary file not shown.
Binary file modified GAME_DEBUG.exe
Binary file not shown.
Binary file modified game.gm81
Binary file not shown.
Binary file added gfx/commander/fate.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gfx/commander/run.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gfx/font/x1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gfx/font/x2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gfx/font/x3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gfx/font/x4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gfx/font/x5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gfx/form_icons.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gfx/gameover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gfx/glados.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gfx/rainbow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gfx/vortex.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified inst.ifp
Binary file not shown.
Binary file removed install.zip
Binary file not shown.
Binary file added sfx/Core/NetherTick1.ogg
Binary file not shown.
Binary file added sfx/Core/NetherTick2.ogg
Binary file not shown.
Empty file added src/beat/beat/base/create.gml
Empty file.
24 changes: 24 additions & 0 deletions src/beat/beat/base/destroy.gml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
if mode = 2 instance_create(x-80,y,beat_particle_great)
if hit = 1 && nodeathsound = 0
{
if mode > 0
{
switch mode {
case 1:
switch soundtype {
case 0: caster_play(choose(snd_beat_lvl1_d_hit1,snd_beat_lvl1_d_hit2,snd_beat_lvl1_d_hit3,snd_beat_lvl1_d_hit4),.5,1) break
case 1: caster_play(choose(snd_beat_lvl2_d_hit1,snd_beat_lvl2_d_hit2,snd_beat_lvl2_d_hit3,snd_beat_lvl2_d_hit4),.5,1) break
case 2: caster_play(choose(snd_beat_lvl3_d_hit1,snd_beat_lvl3_d_hit2,snd_beat_lvl3_d_hit3,snd_beat_lvl3_d_hit4),.5,1) break
}
break
case 2:
switch soundtype {
case 0: caster_play(choose(snd_beat_lvl1_d_hit1,snd_beat_lvl1_d_hit2,snd_beat_lvl1_d_hit3,snd_beat_lvl1_d_hit4),.5,1) break
case 1: caster_play(choose(snd_beat_lvl2_d2_hit1,snd_beat_lvl2_d2_hit2,snd_beat_lvl2_d2_hit3,snd_beat_lvl2_d2_hit4),.5,1) break
case 2: caster_play(choose(snd_beat_lvl3_d_hit1,snd_beat_lvl3_d_hit2,snd_beat_lvl3_d_hit3,snd_beat_lvl3_d_hit4),.5,1) break
}
break
}
}
}

9 changes: 9 additions & 0 deletions src/beat/beat/base/draw.gml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
draw_set_alpha(1)
if !designer_mode { if mode != 0 {
draw_rectangle_color(x-(15/2),y-(15/2),x+(15/2),y+(15/2),
make_color_rgb(247,216,0),make_color_rgb(247,216,0),make_color_rgb(247,216,0),make_color_rgb(247,216,0),false) }
else { draw_rectangle_color(x-(15/2),y-(15/2),x+(15/2),y+(15/2),c_white,c_white,c_white,c_white,false) } }
else draw_rectangle_color(
(x-(15/2))/4.05+(parent.x+(parent.sizex/2)-324),(y-(15/2))/4.05+(parent.y-174),
(x+(15/2))/4.05+(parent.x+(parent.sizex/2)-324),(y+(15/2))/4.05+(parent.y-174),
make_color_rgb(247,216,0),make_color_rgb(247,216,0),make_color_rgb(247,216,0),make_color_rgb(247,216,0),false)
11 changes: 11 additions & 0 deletions src/beat/beat/base/step.gml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
if gameover<1{if (y >= 600 - (15/2) - (vspeed*.3) || y <= 120 + (15/2) + (vspeed*-.3))
&& (x >= 70 && x <= 1219) { if mode = 2 && vspeed != 0 instance_create(x,y,beat_particle_mega_bounce) vspeed *= -1 }
if ((x >= 69-16-(hspeed*-.8) && x <= 69+16+(hspeed*-.8)) && ((y >= paddle.y-39
&& y <= paddle.y+39 && hit = 0 && special != 1 && special != 2)
|| (y >= paddle.y-39-16 && y <= paddle.y+39+16 && hit = 0 && special = 1)
|| (y >= paddle.y-39+8 && y <= paddle.y+39-8 && hit = 0 && special = 2)
|| (y >= paddle.y-114-39 && y <= paddle.y-82+7 && special = 3 && hit = 0) || always_hit=1 ))
{ hspeed *= -1 if !designer_mode beat_hit() hit = 1 }
if (x < 0) { if !designer_mode beat_miss() instance_destroy() }
if (x > 1280+(15/2)) { instance_destroy() }}
else{speed=0hspeed=0vspeed=0}
8 changes: 8 additions & 0 deletions src/beat/beat/blue/draw.gml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
draw_set_alpha(1)
if !designer_mode { if mode != 0 {
draw_rectangle_color(x-(15/2),y-(15/2),x+(15/2),y+(15/2),
make_color_rgb(247,216,0),make_color_rgb(247,216,0),make_color_rgb(247,216,0),make_color_rgb(247,216,0),false) }
else { draw_rectangle_color(x-(15/2),y-(15/2),x+(15/2),y+(15/2),c_white,c_white,c_white,c_white,false) } }
else draw_rectangle_color((x-(15/2))/4.05+(parent.x+(parent.sizex/2)-324),(y-(15/2))/4.05+(parent.y-174),
(x+(15/2))/4.05+(parent.x+(parent.sizex/2)-324),(y+(15/2))/4.05+(parent.y-174),
make_color_rgb(247,216,0),make_color_rgb(247,216,0),make_color_rgb(247,216,0),make_color_rgb(247,216,0),false)
11 changes: 11 additions & 0 deletions src/beat/beat/blue/step.gml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
if gameover<1{if (y >= 600 - (15/2) - (vspeed*.3) || y <= 120 + (15/2) + (vspeed*-.3))
&& (x >= 70 && x <= 1219) { if mode = 2 && vspeed != 0 instance_create(x,y,beat_particle_mega_bounce) vspeed *= -1 }
if ((x >= 69-16-(hspeed*-.8) && x <= 69+16+(hspeed*-.8)) && ((y >= paddle.y-39
&& y <= paddle.y+39 && hit = 0 && special != 1 && special != 2)
|| (y >= paddle.y-39-16 && y <= paddle.y+39+16 && hit = 0 && special = 1)
|| (y >= paddle.y-39+8 && y <= paddle.y+39-8 && hit = 0 && special = 2)
|| (y >= paddle.y-114-39 && y <= paddle.y-82+7 && special = 3 && hit = 0) || always_hit=1 ))
{ hspeed *= -1 if !designer_mode beat_hit() hit = 1 }
if (x < 0) { if !designer_mode beat_miss() instance_destroy() }
if (x > 1280+(15/2)) { instance_destroy() }}
else{speed=0hspeed=0vspeed=0}
7 changes: 7 additions & 0 deletions src/beat/beat/custom/create.gml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
speed=1
direction=180
var hit;
hit = 0;
beat_hspeed = hspeed
color = make_color_rgb(255,255,255)

7 changes: 7 additions & 0 deletions src/beat/beat/custom/draw.gml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
draw_set_alpha(1)if !designer_mode if mode != 0 {
draw_rectangle_color(x-(15/2),y-(15/2),x+(15/2),y+(15/2),color,color,color,color,false) }
else draw_rectangle_color(x-(15/2),y-(15/2),x+(15/2),y+(15/2),color,color,color,color,false)
else { draw_rectangle_color((x-(15/2))/4.05+(parent.x+(parent.sizex/2)-324),(y-(15/2))/4.05+(parent.y-174),
(x+(15/2))/4.05+(parent.x+(parent.sizex/2)-324),(y+(15/2))/4.05+(parent.y-174),c_white,c_white,c_white,c_white,false) }
execute_string(drawcode_)

11 changes: 11 additions & 0 deletions src/beat/beat/custom/step.gml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
if gameover<1{if (y >= 600 - (15/2) - (vspeed*.3) || y <= 120 + (15/2) + (vspeed*-.3))
&& (x >= 70 && x <= 1219) { if mode = 2 && vspeed != 0 instance_create(x,y,beat_particle_mega_bounce) vspeed *= -1 }
if ((x >= 69-16-(hspeed*-.8) && x <= 69+16+(hspeed*-.8)) && ((y >= paddle.y-39
&& y <= paddle.y+39 && hit = 0 && special != 1 && special != 2)
|| (y >= paddle.y-39-16 && y <= paddle.y+39+16 && hit = 0 && special = 1)
|| (y >= paddle.y-39+8 && y <= paddle.y+39-8 && hit = 0 && special = 2)
|| (y >= paddle.y-114-39 && y <= paddle.y-82+7 && special = 3 && hit = 0) || always_hit=1 ))
{ hspeed *= -1 if !designer_mode beat_hit() hit = 1 }
if (x < 0) { if !designer_mode beat_miss() instance_destroy() }
if (x > 1280+(15/2)) { instance_destroy() }}else{speed=0hspeed=0vspeed=0}
execute_string(stepcode_)
6 changes: 6 additions & 0 deletions src/beat/beat/cyan/draw.gml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
draw_set_alpha(1)if !designer_mode if mode != 0 {
draw_rectangle_color(x-(15/2),y-(15/2),x+(15/2),y+(15/2),c_bittrip_cyan,c_bittrip_cyan,c_bittrip_cyan,c_bittrip_cyan,false) }
else { draw_rectangle_color(x-(15/2),y-(15/2),x+(15/2),y+(15/2),c_white,c_white,c_white,c_white,false) }
else draw_rectangle_color((x-(15/2))/4.05+(parent.x+(parent.sizex/2)-324),(y-(15/2))/4.05+(parent.y-174),
(x+(15/2))/4.05+(parent.x+(parent.sizex/2)-324),(y+(15/2))/4.05+(parent.y-174),
c_bittrip_cyan,c_bittrip_cyan,c_bittrip_cyan,c_bittrip_cyan,false)
12 changes: 12 additions & 0 deletions src/beat/beat/cyan/step.gml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
if gameover<1{if (y >= 600 - (15/2) - (vspeed*.3) || y <= 120 + (15/2) + (vspeed*-.3))
&& (x >= 70 && x <= 1219) { if mode = 2 && vspeed != 0 instance_create(x,y,beat_particle_mega_bounce) if firstbouncecomplete = 0 { originalspeed = vspeed firstbouncecomplete = 1 } vspeed = originalspeed*-1 }
if ((x >= 69-16-(hspeed*-.8) && x <= 69+16+(hspeed*-.8)) && ((y >= paddle.y-39
&& y <= paddle.y+39 && hit = 0 && special != 1 && special != 2)
|| (y >= paddle.y-39-16 && y <= paddle.y+39+16 && hit = 0 && special = 1)
|| (y >= paddle.y-39+8 && y <= paddle.y+39-8 && hit = 0 && special = 2)
|| (y >= paddle.y-114-39 && y <= paddle.y-82+7 && special = 3 && hit = 0) || always_hit=1))
{ hspeed *= -1 if !designer_mode beat_hit() hit = 1 }
if (x < 0) { if !designer_mode beat_miss() instance_destroy() }
if (x > 1280+(15/2)) { instance_destroy() }
/*if bounce > 0 && bouncespeed > 0 */vspeed += bounce / bouncespeed
/*else if bounce < 0 && bouncespeed < 0 vspeed -= */}else{speed=0hspeed=0vspeed=0}
21 changes: 21 additions & 0 deletions src/beat/beat/follow/draw.gml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
draw_set_alpha(1)
if !designer_mode { if mode != 0 { if flip = 1
draw_rectangle_color(x-(15/2),((y * -1) + room_height)-(15/2),x+(15/2),((y * -1) + room_height)+(15/2),
make_color_rgb(184,249,255),make_color_rgb(184,249,255),make_color_rgb(184,249,255),make_color_rgb(184,249,255),false)
else draw_rectangle_color(x-(15/2),y-(15/2),x+(15/2),y+(15/2),
make_color_rgb(184,249,255),make_color_rgb(184,249,255),make_color_rgb(184,249,255),make_color_rgb(184,249,255),false)}
else { if flip = 0 draw_rectangle_color(x-(15/2),y-(15/2),x+(15/2),y+(15/2),c_white,c_white,c_white,c_white,false)
else draw_rectangle_color(x-(15/2),((y * -1) + 720)-(15/2),x+(15/2),((y * -1) + 720)+(15/2),
c_white,c_white,c_white,c_white,false) } }
else { if mode != 0 { if flip = 1
draw_rectangle_color((x-(15/2))/4.05+(parent.x+(parent.sizex/2)-324),(((y*-1)+room_height)-(15/2))/4.05+(parent.y-174),
(x+(15/2))/4.05+(parent.x+(parent.sizex/2)-324),(((y*-1)+room_height)+(15/2))/4.05+(parent.y-174),
make_color_rgb(184,249,255),make_color_rgb(184,249,255),make_color_rgb(184,249,255),make_color_rgb(184,249,255),false)
else draw_rectangle_color((x-(15/2))/4.05+(parent.x+(parent.sizex/2)-324),(y-(15/2))/4.05+(parent.y-174),
(x+(15/2))/4.05+(parent.x+(parent.sizex/2)-324),(y+(15/2))/4.05+(parent.y-174),
make_color_rgb(184,249,255),make_color_rgb(184,249,255),make_color_rgb(184,249,255),make_color_rgb(184,249,255),false)}
else { if flip = 0 draw_rectangle_color((x-(15/2))/4.05+(parent.x+(parent.sizex/2)-324),(y-(15/2))/4.05+(parent.y-174),
(x+(15/2))/4.05+(parent.x+(parent.sizex/2)-324),(y+(15/2))/4.05+(parent.y-174),c_white,c_white,c_white,c_white,false)
else draw_rectangle_color((x-(15/2))/4.05+(parent.x+(parent.sizex/2)-324),((y*-1)-(15/2))/4.05+(parent.y-174),
(x+(15/2))/4.05+(parent.x+(parent.sizex/2)-324),((y*-1)+(15/2))/4.05+(parent.y-174),
c_white,c_white,c_white,c_white,false) } }
17 changes: 17 additions & 0 deletions src/beat/beat/follow/step.gml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
if gameover<1{if (y >= 600 - (15/2) - (vspeed*.3) || y <= 120 + (15/2) + (vspeed*-.3))
&& (x >= 70 && x <= 1219) { if mode = 2 && vspeed != 0 instance_create(x,y,beat_particle_mega_bounce) vspeed *= -1 }
if ((x >= 69-16-(hspeed*-.8) && x <= 69+16+(hspeed*-.8)) && flip = 0 && ((y >= paddle.y-39
&& y <= paddle.y+39 && hit = 0 && special != 1 && special != 2)
|| (y >= paddle.y-39-16 && y <= paddle.y+39+16 && hit = 0 && special = 1)
|| (y >= paddle.y-39+8 && y <= paddle.y+39-8 && hit = 0 && special = 2)
|| (y >= paddle.y-114-39 && y <= paddle.y-82+7 && special = 3 && hit = 0) || always_hit=1 ))
|| ((x >= 69-16-(hspeed*-.8) && x <= 69+16+(hspeed*-.8)) && flip = 1 && ((((y *-1 + 720) >= paddle.y-39
&& (y *-1 + room_height) <= paddle.y+39 && hit = 0 && special != 1 && special != 2)
|| ((y *-1 + room_height) >= paddle.y-39-16 && (y *-1 + room_height) <= paddle.y+39+16 && hit = 0 && special = 1)
|| ((y *-1 + room_height) >= paddle.y-39+8 && (y *-1 + room_height) <= paddle.y+39-8 && hit = 0 && special = 2)
|| ((y *-1 + room_height) >= paddle.y-114-39 && (y *-1 + room_height) <= paddle.y-82+7 && special = 3 && hit = 0) || always_hit=1 )))
{ hspeed *= -1 if !designer_mode beat_hit() hit = 1 }
if (x < 0) { beat_miss() instance_destroy() }
if (x > 1280+(15/2)) { instance_destroy() }}
else{speed=0hspeed=0vspeed=0}
if hit != 1 y += (paddle.y - y) / follow
9 changes: 9 additions & 0 deletions src/beat/beat/green/draw.gml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
draw_set_alpha(image_index<(bpm/flashrate))
if !designer_mode { if mode != 0 {
draw_rectangle_color(x-(15/2),y-(15/2),x+(15/2),y+(15/2),
c_lime,c_lime,c_lime,c_lime,false) }
else { draw_rectangle_color(x-(15/2),y-(15/2),x+(15/2),y+(15/2),c_white,c_white,c_white,c_white,false) } }
else draw_rectangle_color(
(x-(15/2))/4.05+(parent.x+(parent.sizex/2)-324),(y-(15/2))/4.05+(parent.y-174),
(x+(15/2))/4.05+(parent.x+(parent.sizex/2)-324),(y+(15/2))/4.05+(parent.y-174),
make_color_rgb(247,216,0),make_color_rgb(247,216,0),make_color_rgb(247,216,0),make_color_rgb(247,216,0),false)
13 changes: 13 additions & 0 deletions src/beat/beat/green/step.gml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
if gameover<1{if (y >= 600 - (15/2) - (vspeed*.3) || y <= 120 + (15/2) + (vspeed*-.3))
&& (x >= 70 && x <= 1219) { if mode = 2 && vspeed != 0 instance_create(x,y,beat_particle_mega_bounce) vspeed *= -1 }
if ((x >= 69-16-(hspeed*-.8) && x <= 69+16+(hspeed*-.8)) && ((y >= paddle.y-39
&& y <= paddle.y+39 && hit = 0 && special != 1 && special != 2)
|| (y >= paddle.y-39-16 && y <= paddle.y+39+16 && hit = 0 && special = 1)
|| (y >= paddle.y-39+8 && y <= paddle.y+39-8 && hit = 0 && special = 2)
|| (y >= paddle.y-114-39 && y <= paddle.y-82+7 && special = 3 && hit = 0) || always_hit=1 ))
{ hspeed *= -1 if !designer_mode beat_hit() hit = 1 }
if (x < 0) { if !designer_mode beat_miss() instance_destroy() }
if (x > 1280+(15/2)) { instance_destroy() }}
else{speed=0hspeed=0vspeed=0}
image_index+=1
if image_index>(bpm/flashrate)*2 image_index=0
7 changes: 7 additions & 0 deletions src/beat/beat/orange/draw.gml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
draw_set_alpha(1)draw_set_alpha(1)if !designer_mode if mode != 0 {
draw_rectangle_color(x-(15/2),y-(15/2),x+(15/2),y+(15/2),make_color_rgb(252,165,0),make_color_rgb(252,165,0),make_color_rgb(252,165,0),make_color_rgb(252,165,0),false) }
else { draw_rectangle_color(x-(15/2),y-(15/2),x+(15/2),y+(15/2),c_white,c_white,c_white,c_white,false) }
else draw_rectangle_color(
(x-(15/2))/4.05+(parent.x+(parent.sizex/2)-324),(y-(15/2))/4.05+(parent.y-174),
(x+(15/2))/4.05+(parent.x+(parent.sizex/2)-324),(y+(15/2))/4.05+(parent.y-174),
make_color_rgb(252,165,0),make_color_rgb(252,165,0),make_color_rgb(252,165,0),make_color_rgb(252,165,0),false)
23 changes: 23 additions & 0 deletions src/beat/beat/orange/step.gml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
if gameover<1{if (y >= 600 - (15/2) - (vspeed*.3) || y <= 120 + (15/2) + (vspeed*-.3))
&& (x >= 70 && x <= 1219) { if mode = 2 && vspeed != 0 instance_create(x,y,beat_particle_mega_bounce) vspeed *= -1 }
if ((x >= 69-16-(hspeed*-.8) && x <= 69+16+(hspeed*-.8)) && ((y >= paddle.y-39
&& y <= paddle.y+39 && hit = 0 && special != 1 && special != 2)
|| (y >= paddle.y-39-16 && y <= paddle.y+39+16 && hit = 0 && special = 1)
|| (y >= paddle.y-39+8 && y <= paddle.y+39-8 && hit = 0 && special = 2)
|| (y >= paddle.y-114-39 && y <= paddle.y-82+7 && special = 3 && hit = 0) || (always_hit=1 && hit = 0) ))
{ x = paddle.x+(69*designer_mode)+15 hspeed = origspeed if !designer_mode beat_hit() hit = hits vspeed = 0 }
if ((x >= 69-16-(hspeed*-.8) && x <= 69+16+(hspeed*-.8)) && ((y >= paddle.y-39
&& y <= paddle.y+39 && hit > 1 && special != 1 && special != 2)
|| (y >= paddle.y-39-16 && y <= paddle.y+39+16 && hit > 1 && special = 1)
|| (y >= paddle.y-39+8 && y <= paddle.y+39-8 && hit > 1 && special = 2)
|| (y >= paddle.y-114-39 && y <= paddle.y-82+7 && special = 3 && hit > 1) || (always_hit=1 && hit > 1) ))
{ hspeed = origspeed if !designer_mode beat_hit() hit -= 1 if keepvsp = 0 vspeed = 0 }
if (hit > 1) { hspeed -= bouncex / 10 vspeed -= bouncey / 10 }
/*if (hit = 3) { hspeed -= bouncex2 / 10 vspeed -= bouncey2 / 10 }
if (hit = 4) { hspeed -= bouncex3 / 10 vspeed -= bouncey3 / 10 }
if (hit = 5) { hspeed -= bouncex4 / 10 vspeed -= bouncey4 / 10 }
if (hit = 6) { hspeed -= bouncex5 / 10 vspeed -= bouncey5 / 10 }
if (hit = 7) { hspeed -= bouncex6 / 10 vspeed -= bouncey6 / 10 }
if (hit = hits) hit = 1*/
if (x < 0) { if !designer_mode beat_miss() instance_destroy() }
if (x > 1280+(15/2)) { instance_destroy() }}else{speed=0hspeed=0vspeed=0}
12 changes: 12 additions & 0 deletions src/beat/beat/powerup/a0.gml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
if special = powerup + 1
{
if special = 2
{
caster_play(snd_challenge,1,1)
instance_create(room_width/2,room_height/2,beat_challenge_finish)
score += chalbeatshit * 10000
}
special = 0
}
paddle_visible=1
instance_destroy()
3 changes: 3 additions & 0 deletions src/beat/beat/powerup/a1.gml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
paddle_visible = toggle(paddle_visible)
alarm[1]=1

7 changes: 7 additions & 0 deletions src/beat/beat/powerup/create.gml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
speed=1
direction=180
var hit;
hit = 0;
beat_hspeed = hspeed
ispowerup = 1
powerup = round(powerup)
5 changes: 5 additions & 0 deletions src/beat/beat/powerup/draw.gml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
draw_set_alpha(1)
if !designer_mode draw_rectangle_color(x-(15/2),y-(15/2),x+(15/2),y+(15/2),c_white,c_white,c_white,c_white,false)
else draw_rectangle_color((x-(15/2))/4.05+(parent.x+(parent.sizex/2)-324),(y-(15/2))/4.05+(parent.y-174),
(x+(15/2))/4.05+(parent.x+(parent.sizex/2)-324),(y+(15/2))/4.05+(parent.y-174),
c_white,c_white,c_white,c_white,false)
23 changes: 23 additions & 0 deletions src/beat/beat/powerup/step.gml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
if gameover<1{if (y >= 600 - (15/2) - (vspeed*.3) || y <= 120 + (15/2) + (vspeed*-.3))
&& (x >= 70 && x <= 1219) { if mode = 2 && vspeed != 0 instance_create(x,y,beat_particle_mega_bounce) vspeed *= -1 }
if ((x >= 69-16-(hspeed*-.8) && x <= 69+16+(hspeed*-.8)) && ((y >= paddle.y-39
&& y <= paddle.y+39 && hit = 0 && special != 1 && special != 2)
|| (y >= paddle.y-39-16 && y <= paddle.y+39+16 && hit = 0 && special = 1)
|| (y >= paddle.y-39+8 && y <= paddle.y+39-8 && hit = 0 && special = 2)
|| (y >= paddle.y-114-39 && y <= paddle.y-82+7 && special = 3 && hit = 0) || always_hit=1 ))
{ caster_play(snd_powerup,1,1) hit = 1 if !designer_mode beat_hit() alarm[1]=poweruptime*.75
if mode>0 instance_create(x,y,beat_particle_mega_hit) special = powerup + 1
alarm[0] = poweruptime visible = false hspeed = 0
if powerup = 1 { chaltxt=object_add()
object_event_add(chaltxt,ev_create,0,
'alpha_=1')
object_event_add(chaltxt,ev_step,0,
'alpha_-=0.01if alpha_<=0{instance_destroy()}')
object_event_add(chaltxt,ev_draw,0,
"draw_set_font(global.fontx1[2])draw_set_halign(fa_center)draw_set_valign(fa_center)
draw_text_transformed_color(x,y,'CHALLENGE',24,24,0,c_bittrip_pink,
c_bittrip_pink,c_bittrip_pink,c_bittrip_pink,alpha_)")
instance_create(room_width/2,room_height/3,chaltxt)
chalbeatshit=0}}
if (x < 0) { if !designer_mode beat_miss() instance_destroy() }
if (x > 1280+(15/2)) { instance_destroy() }}else{speed=0hspeed=0vspeed=0}
1 change: 1 addition & 0 deletions src/beat/beat/still/a0.gml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
speed=originalspeed*-1
6 changes: 6 additions & 0 deletions src/beat/beat/still/draw.gml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
draw_set_alpha(1)if !designer_mode if mode != 0 {
draw_rectangle_color(x-(15/2),y-(15/2),x+(15/2),y+(15/2),make_color_rgb(250,250,90),make_color_rgb(250,250,90),make_color_rgb(250,250,90),make_color_rgb(250,250,90),false) }
else { draw_rectangle_color(x-(15/2),y-(15/2),x+(15/2),y+(15/2),c_white,c_white,c_white,c_white,false) }
else draw_rectangle_color((x-(15/2))/4.05+(parent.x+(parent.sizex/2)-324),(y-(15/2))/4.05+(parent.y-174),
(x+(15/2))/4.05+(parent.x+(parent.sizex/2)-324),(y+(15/2))/4.05+(parent.y-174),
make_color_rgb(250,250,90),make_color_rgb(250,250,90),make_color_rgb(250,250,90),make_color_rgb(250,250,90),false)
10 changes: 10 additions & 0 deletions src/beat/beat/still/step.gml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
if gameover<1{if (y >= 600 - (15/2) - (vspeed*.3) || y <= 120 + (15/2) + (vspeed*-.3))
&& (x >= 70 && x <= 1219) { if mode = 2 && vspeed != 0 instance_create(x,y,beat_particle_mega_bounce) vspeed *= -1 }
if ((x >= 69-16-(hspeed*-.8) && x <= 69+16+(hspeed*-.8)) && ((y >= paddle.y-39
&& y <= paddle.y+39 && hit = 0 && special != 1 && special != 2)
|| (y >= paddle.y-39-16 && y <= paddle.y+39+16 && hit = 0 && special = 1)
|| (y >= paddle.y-39+8 && y <= paddle.y+39-8 && hit = 0 && special = 2)
|| (y >= paddle.y-114-39 && y <= paddle.y-82+7 && special = 3 && hit = 0) || always_hit=1 ))
{ vspeed = 0 x = paddle.x+(69*designer_mode)+16 hspeed = 0 alarm[0] = staytime if !designer_mode beat_hit() hit = 1 }
if (x < 0) { if !designer_mode beat_miss() instance_destroy() }
if (x > 1280+(15/2)) { instance_destroy() }}else{speed=0hspeed=0vspeed=0originalspeed=0}
2 changes: 2 additions & 0 deletions src/beat/beat/violet/a0.gml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
velocity *= -1
alarm[0]=fliptime
6 changes: 6 additions & 0 deletions src/beat/beat/violet/create.gml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
speed=1
direction=180
var hit, flip;
hit = 0;
flip = 0;
beat_hspeed = hspeed
6 changes: 6 additions & 0 deletions src/beat/beat/violet/draw.gml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
draw_set_alpha(1)if !designer_mode if mode != 0 {
draw_rectangle_color(x-(15/2),y-(15/2),x+(15/2),y+(15/2),make_color_rgb(255,127,0),make_color_rgb(255,127,0),make_color_rgb(255,127,0),make_color_rgb(255,127,0),false) }
else { draw_rectangle_color(x-(15/2),y-(15/2),x+(15/2),y+(15/2),c_white,c_white,c_white,c_white,false) }
else draw_rectangle_color((x-(15/2))/4.05+(parent.x+(parent.sizex/2)-324),(y-(15/2))/4.05+(parent.y-174),
(x+(15/2))/4.05+(parent.x+(parent.sizex/2)-324),(y+(15/2))/4.05+(parent.y-174),
make_color_rgb(255,127,0),make_color_rgb(255,127,0),make_color_rgb(255,127,0),make_color_rgb(255,127,0),false)
11 changes: 11 additions & 0 deletions src/beat/beat/violet/step.gml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
if gameover<1{if (y >= 600 - (15/2) - (vspeed*.3) || y <= 120 + (15/2) + (vspeed*-.3))
&& (x >= 70 && x <= 1219) { if mode = 2 && vspeed != 0 instance_create(x,y,beat_particle_mega_bounce) vspeed *= -1 }
if ((x >= 69-16-(hspeed*-.8) && x <= 69+16+(hspeed*-.8)) && ((y >= paddle.y-39
&& y <= paddle.y+39 && hit = 0 && special != 1 && special != 2)
|| (y >= paddle.y-39-16 && y <= paddle.y+39+16 && hit = 0 && special = 1)
|| (y >= paddle.y-39+8 && y <= paddle.y+39-8 && hit = 0 && special = 2)
|| (y >= paddle.y-114-39 && y <= paddle.y-82+7 && special = 3 && hit = 0) || always_hit=1 ))
{ hspeed *= -1 if !designer_mode beat_hit() hit = 1 }
if (x < 0) { if !designer_mode beat_miss() instance_destroy() }
if (x > 1280+(15/2)) { instance_destroy() }
vspeed += velocity/10}else{speed=0hspeed=0vspeed=0}
Loading

0 comments on commit 0a663f0

Please sign in to comment.