Skip to content

Commit 9924734

Browse files
committed
missile variance increase, star silhouette added, powerup drift
1 parent 908177e commit 9924734

File tree

23 files changed

+142
-20
lines changed

23 files changed

+142
-20
lines changed

objects/obj_ass/Alarm_0.gml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ angles=[30,150,270]
77

88
for (var i = 0; i < 3; i += 1){
99
//Rockets need a offset from centre so they dont go brrr
10-
lx=x+ 10*sin(degtorad(angles[i]));
11-
ly=y+10*cos(degtorad(angles[i]));
10+
lx=x+ 10*sin(degtorad(angles[i%3]));
11+
ly=y+10*cos(degtorad(angles[i%3]) );
1212
var rocket=instance_create_layer(lx,ly,"Instances",obj_rocket);
1313
rocket.direction=image_angle+angles[i];
1414
rocket.image_angle=image_angle+angles[i];

objects/obj_ass/Create_0.gml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ rot_speed=0.2;
77
spawn_time = 7;
88
alarm[0] = (room_speed * spawn_time);
99

10+
1011
//with(obj_player){
1112
// marker_inst=instance_create_layer(x,y,"Instances",obj_marker);
1213
// marker_inst.portInd=view;

objects/obj_ass/Step_0.gml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,3 @@ if(hp<=0){
88
}
99

1010
rot_speed += 0.05;
11-

objects/obj_ass_spawner/Alarm_0.gml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ curr_ass=instance_number(obj_ass);
55

66
if(curr_ass<max_ass){
77
with(obj_star){
8-
rx = random_range(x-2500,x-2500);
9-
ry = random_range(y-2500,y+2500);
8+
rx = random_range(x-4000,x+4000);
9+
ry = random_range(y-4000,y+4000);
1010
if (!in_view(rx, ry, 500)){
1111
//var instAss=
1212
instance_create_layer(

objects/obj_ass_spawner/Create_0.gml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
max_ass= 3;
66
curr_ass=0;
77

8-
score_requirement = 1000;
8+
score_requirement = 700;
99

1010
spawn_freq = 1; // time in seconds
1111

objects/obj_boom/Create_0.gml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
/// @description Insert description here
22
// You can write your code in this editor
3-
image_blend = c_silver;
3+
image_blend = c_silver;
4+
image_xscale = image_xscale * 2 ;
5+
image_yscale = image_yscale * 2 ;

objects/obj_part_controller/Other_4.gml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ part_type_sprite(global.part_star_emit, spr_star, false, false, false) // import
4141

4242
// boost Particles
4343
//part_type_shape(global.part_boost_trail, pt_shape_ring);
44-
part_type_size(global.part_boost_trail, 0.5,0.5,0, 0);
45-
//part_type_color3(global.part_boost_trail, c_white, c_blue, c_aqua);
44+
part_type_size(global.part_boost_trail, 1.5,1.5,0, 0);
45+
part_type_color3(global.part_boost_trail, c_white, c_blue, c_aqua);
4646
part_type_alpha2(global.part_boost_trail, 0.4, 0.0);
4747
part_type_speed(global.part_boost_trail, 0.2, 0.5, 0, 0);
4848
part_type_blend(global.part_boost_trail, true);
49-
part_type_life(global.part_boost_trail, 5, 5);
49+
part_type_life(global.part_boost_trail, 2, 2);
5050
part_type_orientation(global.part_boost_trail, 0, 0, 0, 0, 0)
5151
part_type_sprite(global.part_boost_trail, spr_player_1_dark, false, false, false) // important
5252

objects/obj_part_test/obj_part_test.yy

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

objects/obj_player/Draw_0.gml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ if(active_powerup==POWERUPS.shield){
1010

1111
if(last_hit != invincible_time){
1212
if (sprite_index != spr_player_1_dark_hit)
13-
draw_sprite_ext(spr_player_1_dark_hit, -1, x, y, 1, 1, image_angle, c_silver, 1);
13+
draw_sprite_ext(spr_player_1_dark_hit, -1, x, y, 1, 1, image_angle, c_white, 1);
1414
else
15-
draw_sprite_ext(spr_player_1_dark, -1, x, y, 1, 1, image_angle, c_silver, 1);
15+
draw_sprite_ext(spr_player_1_dark, -1, x, y, 1, 1, image_angle, c_white, 1);
1616
}
1717

1818

objects/obj_player/Step_0.gml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ part_emitter_region(global.P_System, emmiter_trail,
3535
x , x , y , y , ps_shape_rectangle,
3636
ps_distr_linear);
3737

38+
part_type_sprite(global.part_boost_trail, spr_player_1_dark, 0, 0, 0);
3839
part_emitter_burst(global .P_System, emmiter_trail, global.part_fire_trail1, 1);
3940

4041

0 commit comments

Comments
 (0)