-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
minor editor bug fixed new projectiles added on editor optimizing etc.
- Loading branch information
Showing
63 changed files
with
414 additions
and
148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/// @description Insert description here | ||
// You can write your code in this editor | ||
if (global.map_editor != 1) | ||
{ | ||
var tmp_ins = global.in_safe_zone; | ||
if (!instance_exists(tmp_ins) || (instance_number(hitbox_22) > 1 && tmp_ins.w_alpha <= 10)) | ||
{ | ||
global.hp = 0; | ||
show_message_log(instance_exists(tmp_ins) ? tmp_ins.w_alpha : -4); | ||
} | ||
} | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,23 @@ | ||
/// @description Insert description here | ||
// You can write your code in this editor | ||
if (play_animation == 0) | ||
{ | ||
draw_text_k_scale(x,y-96,"여기로\n달리세요!",64,-1,image_alpha*0.4,image_blend,0,0,normal_font,1,1,0) | ||
} | ||
|
||
|
||
|
||
draw_self(); | ||
var tmp = (image_xscale+scale)*256; | ||
draw_set_color(image_blend); | ||
draw_set_alpha(line_alpha); | ||
draw_rectangle_rotated_width(x,y,-tmp,-tmp,tmp,tmp,line_angle,line_width) | ||
if (w_alpha > 0) | ||
if (global.timeline_stop != 1) | ||
{ | ||
draw_set_alpha(w_alpha); | ||
draw_set_color(c_white); | ||
draw_rectangle_rotated_width(x,y,-tmp,-tmp,tmp,tmp,line_angle,line_width) | ||
if (play_animation == 0) | ||
{ | ||
draw_text_k_scale(x,y-96*global.converted_view_ratio,"여기로\n달리세요!",64,-1,image_alpha*0.4,image_blend,0,0,normal_font,global.font_ratio_resolution_xx*global.converted_view_ratio,global.converted_view_ratio,0) | ||
} | ||
var tmp = (image_xscale+scale)*256; | ||
draw_set_color(image_blend); | ||
draw_set_alpha(line_alpha); | ||
draw_rectangle_rotated_width(x,y,-tmp,-tmp,tmp,tmp,image_angle-45+line_angle,line_width) | ||
if (w_alpha > 0) | ||
{ | ||
draw_set_alpha(w_alpha); | ||
draw_set_color(c_white); | ||
draw_rectangle_rotated_width(x,y,-tmp,-tmp,tmp,tmp,image_angle-45+line_angle,line_width) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
/// @description Insert description here | ||
// You can write your code in this editor | ||
image_angle += 90; | ||
if (global.timeline_stop != 1) | ||
{ | ||
image_angle += 90; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,58 @@ | ||
/// @description Insert description here | ||
// You can write your code in this editor | ||
|
||
if (color_changing < 0) | ||
{ | ||
color_changing = 0; | ||
t_col_changing = 1; | ||
} | ||
else if (color_changing > 765) | ||
if (global.timeline_stop != 1) | ||
{ | ||
color_changing = 765; | ||
t_col_changing = -1; | ||
} | ||
color_changing += t_col_changing; | ||
image_blend = make_color_rgb(fix_num_inside(color_changing-510,0,255),fix_num_inside(color_changing-255,0,255),fix_num_inside(color_changing,0,255)); | ||
if (color_changing < 0) | ||
{ | ||
color_changing = 0; | ||
t_col_changing = 756/(des_timer*0.5); | ||
} | ||
else if (color_changing > 765) | ||
{ | ||
color_changing = 765; | ||
t_col_changing = -756/(des_timer*0.5); | ||
} | ||
color_changing += t_col_changing; | ||
image_blend = make_color_rgb(fix_num_inside(color_changing-510,0,255),fix_num_inside(color_changing-255,0,255),fix_num_inside(color_changing,0,255)); | ||
|
||
if (play_animation == 0) | ||
{ | ||
line_alpha += (0.6 - line_alpha)*0.3; | ||
scale -= (10/des_timer); | ||
line_angle -= (270/des_timer); | ||
if (scale <= 0) | ||
if (play_animation == 0) | ||
{ | ||
play_animation = 1; | ||
line_alpha = 1; | ||
|
||
if (!place_meeting(x,y,obj_player)) | ||
line_alpha += (0.6 - line_alpha)*0.3; | ||
scale -= (10/des_timer); | ||
line_angle -= (270/des_timer); | ||
if (scale <= 0) | ||
{ | ||
global.hp = 0; | ||
play_animation = 1; | ||
line_alpha = 1; | ||
with(hitbox_parents) | ||
{ | ||
if (other.object_index != hitbox_22) | ||
{ | ||
other.w_alpha = 1; | ||
} | ||
else | ||
{ | ||
other.w_alpha = 100; | ||
} | ||
} | ||
w_alpha = 100; | ||
if (global.in_safe_zone != id) | ||
{ | ||
alarm[1] = 1; | ||
} | ||
} | ||
|
||
with(hitbox_parents) | ||
{ | ||
w_alpha = 1; | ||
} | ||
w_alpha = 100; | ||
} | ||
} | ||
else | ||
{ | ||
image_alpha += (-0.1 - image_alpha)*0.3 | ||
w_alpha += (-0.1 - w_alpha)*0.1; | ||
line_alpha += (-0.1 - line_alpha)*0.1; | ||
scale += (1.05 - scale)*0.1; | ||
line_width += (0 - line_width)*0.1 | ||
|
||
if (w_alpha <= 0 && line_alpha <= 0) | ||
else | ||
{ | ||
instance_destroy(); | ||
image_alpha += (-0.1 - image_alpha)*0.3 | ||
w_alpha += (-0.1 - w_alpha)*0.1; | ||
line_alpha += (-0.1 - line_alpha)*0.1; | ||
scale += (1.05 - scale)*0.1; | ||
line_width += (0 - line_width)*0.1 | ||
|
||
if (w_alpha <= 0 && line_alpha <= 0) | ||
{ | ||
instance_destroy(); | ||
} | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/// @description Insert description here | ||
// You can write your code in this editor | ||
image_speed = 0; | ||
image_alpha = 0.5; | ||
event_user(11); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/// @description Insert description here | ||
// You can write your code in this editor | ||
|
||
|
||
|
||
draw_self(); | ||
if (global.timeline_stop == 1) | ||
{ | ||
var tmp_angle = image_angle; | ||
draw_set_color(c_white); | ||
draw_set_alpha(0.2); | ||
draw_line_width(x,y,x+lengthdir_x(256,tmp_angle),y+lengthdir_y(256,tmp_angle),1.5); | ||
|
||
draw_set_alpha(0.7); | ||
draw_line_width(x,y,x+lengthdir_x(160,tmp_angle-m_data_arg3/2),y+lengthdir_y(160,tmp_angle-m_data_arg3/2),3); | ||
draw_line_width(x,y,x+lengthdir_x(160,tmp_angle+m_data_arg3/2),y+lengthdir_y(160,tmp_angle+m_data_arg3/2),3); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/// @description Insert description here | ||
// You can write your code in this editor | ||
|
||
|
||
if (global.timeline_stop == 1) | ||
{ | ||
draw_sprite_ext(spr_editor_mode_hitbox,0,x,y,1+editor_selected*0.5,1+editor_selected*0.5,(editor_selected == 1) ? global.selected_animation : 0,c_white,0.5+editor_selected*0.5); | ||
|
||
if (global.editor_hitbox == 1 && editor_selected == 1) | ||
{ | ||
var xx = x-room_width*0.5; | ||
var yy = y-room_height*0.5; | ||
|
||
var fontsize2 = (0.45*(1+global.mobile_mode*0.3))*global.converted_view_ratio; | ||
draw_text_k_scale(x,y+64,"Size : "+string(image_xscale)+"\nx : "+string(floor(xx))+"\ny : "+string(floor(yy))+"\n각도 : "+string(floor(image_angle))+"\n산탄 범위 : "+string(floor(m_data_arg3))+"\n탄막 갯수 : "+string(floor(m_data_arg4)),64,-1,1,c_white,0,0,normal_font,fontsize2*global.font_ratio_resolution_xx,fontsize2,0) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/// @description Insert description here | ||
// You can write your code in this editor | ||
|
||
if (global.timeline_stop != 1 && m_data_arg4 != 0) | ||
{ | ||
//크기 / 앵글 / 속도 / 범위 / 탄막 갯수 | ||
var radius = m_data_arg3; | ||
for(var i = 0; i <= radius; i += radius/m_data_arg4) | ||
{ | ||
create_projectile(x,y,image_xscale,sign_nonzero(image_angle),lengthdir_y(m_data_arg2,image_angle+i-radius*0.5),lengthdir_x(m_data_arg2,image_angle+i-radius*0.5),0,0,sprite_index); | ||
if (radius == 0) | ||
{ | ||
break; | ||
} | ||
} | ||
instance_destroy(); | ||
} |
Oops, something went wrong.