Skip to content

Commit

Permalink
2022_12_17
Browse files Browse the repository at this point in the history
fixed nickname bug
fixed networking system bug
etc
  • Loading branch information
ABER1047 committed Dec 16, 2022
1 parent c6e372b commit 3c1f9d9
Show file tree
Hide file tree
Showing 19 changed files with 68 additions and 220 deletions.
2 changes: 1 addition & 1 deletion Arena_of_Woowakgood.yyp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 0 additions & 21 deletions objects/charging_attack/Step_0.gml
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,3 @@ if image_alpha <= 0
instance_destroy()
}


if cre_effect = 0
{
if place_meeting(x,y,charging_attack_attacked)
{
cre_effect = 1
sfx_for_multiplayer(guard,0,0.05)

var _my_p = get_my_player()
var random_dir = _my_p.image_xscale
if _my_p != -4 && instance_exists(_my_p)
{
repeat(2)
{
var _ef = instance_create_depth(_my_p.x-image_xscale*4,_my_p.y+irandom_range(-13,0),_my_p.depth-1,effect_spark)
_ef.hspeed = irandom_range(5,20)*random_dir
_ef.vspeed = irandom_range(-4,2)
}
}
}
}
5 changes: 0 additions & 5 deletions objects/code/Other_68.gml
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,6 @@ else if (type == network_type_data)
var _kw_ = buffer_read(buffer, buffer_string);
var _s_sword_ = buffer_read(buffer, buffer_string);
var _m_hp = buffer_read(buffer, buffer_string);
var _on_platform = buffer_read(buffer, buffer_string);
if global.nickname != _check_who_send
{
with(player)
Expand All @@ -712,10 +711,6 @@ else if (type == network_type_data)

n_sword_ = real(string(_s_sword_))/100;
returned_id = real(_real_id_);
if is_real(_on_platform)
{
on_platform = real(string(_on_platform));
}
}
}
}
Expand Down
17 changes: 0 additions & 17 deletions objects/effect/Step_0.gml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,3 @@ if image_alpha <= 0
instance_destroy();
};

if cre_effect = 0
{
if place_meeting(x,y,effect_attacked)
{
cre_effect = 1
sfx_for_multiplayer(guard,0,0.05)

var _my_p = get_my_player()
var random_dir = _my_p.image_xscale
repeat(2)
{
var _ef = instance_create_depth(_my_p.x-image_xscale*4,_my_p.y+irandom_range(-13,0),_my_p.depth-1,effect_spark)
_ef.hspeed = irandom_range(5,20)*random_dir
_ef.vspeed = irandom_range(-4,2)
}
}
}
18 changes: 9 additions & 9 deletions objects/effect/effect.yy

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 0 additions & 17 deletions objects/effect_attack1/Step_0.gml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,3 @@ instance_destroy()
}


if cre_effect = 0
{
if place_meeting(x,y,effect_attack1_attacked)
{
cre_effect = 1
sfx_for_multiplayer(guard,0,0.05)

var _my_p = get_my_player()
var random_dir = _my_p.image_xscale
repeat(2)
{
var _ef = instance_create_depth(_my_p.x-image_xscale*4,_my_p.y+irandom_range(-13,0),_my_p.depth-1,effect_spark)
_ef.hspeed = irandom_range(5,20)*random_dir
_ef.vspeed = irandom_range(-4,2)
}
}
}
18 changes: 9 additions & 9 deletions objects/effect_attack1/effect_attack1.yy

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 0 additions & 18 deletions objects/effect_attack2/Step_0.gml
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,3 @@ if image_alpha <= 0
{
instance_destroy()
}

if cre_effect = 0
{
if place_meeting(x,y,effect_attack2_attacked)
{
cre_effect = 1
sfx_for_multiplayer(guard,0,0.05)

var _my_p = get_my_player()
var random_dir = _my_p.image_xscale
repeat(2)
{
var _ef = instance_create_depth(_my_p.x-image_xscale*4,_my_p.y+irandom_range(-13,0),_my_p.depth-1,effect_spark)
_ef.hspeed = irandom_range(5,20)*random_dir
_ef.vspeed = irandom_range(-4,2)
}
}
}
18 changes: 9 additions & 9 deletions objects/effect_attack2/effect_attack2.yy

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 0 additions & 20 deletions objects/effect_attack3/Step_0.gml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,3 @@ instance_destroy()
}


if cre_effect = 0
{
if place_meeting(x,y,effect_attack3_attacked)
{
cre_effect = 1
sfx_for_multiplayer(guard,0,0.05)

var _my_p = get_my_player()
var random_dir = _my_p.image_xscale
if _my_p != -4 && instance_exists(_my_p)
{
repeat(2)
{
var _ef = instance_create_depth(_my_p.x-image_xscale*4,_my_p.y+irandom_range(-13,0),_my_p.depth-1,effect_spark)
_ef.hspeed = irandom_range(5,20)*random_dir
_ef.vspeed = irandom_range(-4,2)
}
}
}
}
18 changes: 9 additions & 9 deletions objects/effect_attack3/effect_attack3.yy

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 0 additions & 20 deletions objects/effect_attack4/Step_0.gml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,3 @@ instance_destroy()
}


if cre_effect = 0
{
if place_meeting(x,y,effect_attack3_attacked)
{
cre_effect = 1
sfx_for_multiplayer(guard,0,0.05)

var _my_p = get_my_player()
var random_dir = _my_p.image_xscale
if _my_p != -4 && instance_exists(_my_p)
{
repeat(2)
{
var _ef = instance_create_depth(_my_p.x-image_xscale*4,_my_p.y+irandom_range(-13,0),_my_p.depth-1,effect_spark)
_ef.hspeed = irandom_range(5,20)*random_dir
_ef.vspeed = irandom_range(-4,2)
}
}
}
}
20 changes: 0 additions & 20 deletions objects/effect_attack4_attacked/Step_0.gml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,3 @@ instance_destroy()
}


if cre_effect = 0
{
if place_meeting(x,y,effect_attack3_attacked)
{
cre_effect = 1
sfx_for_multiplayer(guard,0,0.05)

var _my_p = get_my_player()
var random_dir = _my_p.image_xscale
if _my_p != -4 && instance_exists(_my_p)
{
repeat(2)
{
var _ef = instance_create_depth(_my_p.x-image_xscale*4,_my_p.y+irandom_range(-13,0),_my_p.depth-1,effect_spark)
_ef.hspeed = irandom_range(5,20)*random_dir
_ef.vspeed = irandom_range(-4,2)
}
}
}
}
21 changes: 0 additions & 21 deletions objects/effect_attack4_non_attacked/Step_0.gml
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,3 @@ if image_alpha <= 0
instance_destroy()
}


if cre_effect = 0
{
if place_meeting(x,y,effect_attack3_attacked)
{
cre_effect = 1
sfx_for_multiplayer(guard,0,0.05)

var _my_p = get_my_player()
var random_dir = _my_p.image_xscale
if _my_p != -4 && instance_exists(_my_p)
{
repeat(2)
{
var _ef = instance_create_depth(_my_p.x-image_xscale*4,_my_p.y+irandom_range(-13,0),_my_p.depth-1,effect_spark)
_ef.hspeed = irandom_range(5,20)*random_dir
_ef.vspeed = irandom_range(-4,2)
}
}
}
}
Loading

0 comments on commit 3c1f9d9

Please sign in to comment.