forked from Gang-Garrison-2/Gang-Garrison-2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Conflicts: Source/gg2/Objects/Menus/HaxxyController.xml Source/gg2/Objects/Networking/GameServer.events/Destroy.xml Source/gg2/Scripts/game_init.gml
- Loading branch information
Showing
1,224 changed files
with
439 additions
and
440 deletions.
There are no files selected for viewing
Binary file not shown.
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
56 changes: 56 additions & 0 deletions
56
Source/gg2/Objects/InGameElements/Gibbage/XmasHat.events/Collision with Obstacle.xml
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,56 @@ | |||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |||
<event category="COLLISION" with="Obstacle"> | |||
<actions> | |||
<action id="603" library="1"> | |||
<!--action name: Code--> | |||
<kind>CODE</kind> | |||
<allowRelative>false</allowRelative> | |||
<question>false</question> | |||
<canApplyTo>true</canApplyTo> | |||
<actionType>CODE</actionType> | |||
<functionName/> | |||
<relative>false</relative> | |||
<not>false</not> | |||
<appliesTo>.self</appliesTo> | |||
<arguments> | |||
<argument kind="STRING">{ | |||
hspeed*=hfric; | |||
rotspeed*=rotfric; | |||
|
|||
if((speed>4) and (vspeed>2) and (snd)){ | |||
repeat(9) | |||
if(abs(speed/bloodchance)>random(3)) { | |||
var blood; | |||
blood = instance_create(x,y-1,BloodDrop); | |||
blood.ogib=self; | |||
blood.odir=point_direction(x,y,x+hspeed,y+vspeed); | |||
with(blood) { | |||
motion_add(odir, ogib.speed*-0.8); | |||
hspeed+=random(8)-3.5; | |||
vspeed-=random(6)-2; | |||
} | |||
} | |||
|
|||
} | |||
|
|||
move_contact_solid(point_direction(x,y,x+hspeed,y+vspeed), speed); | |||
if(not place_free(x,y+sign(vspeed))) { | |||
vspeed*=-0.4; | |||
if(not place_free(x+hspeed,y)){ | |||
move_contact_solid(point_direction(x,y,x+hspeed,y+vspeed), speed); | |||
hspeed*=-0.4; | |||
} | |||
} | |||
if(not place_free(x+sign(hspeed),y)){ | |||
hspeed*=-0.4; | |||
if(not place_free(x,y+vspeed)) { | |||
move_contact_solid(point_direction(x,y,x+hspeed,y+vspeed), speed); | |||
vspeed*=-0.4; | |||
} | |||
} | |||
} | |||
</argument> | |||
</arguments> | |||
</action> | |||
</actions> | |||
</event> |
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
6 changes: 3 additions & 3 deletions
6
Source/gg2/Objects/Menus/HaxxyController.xml → ...bjects/InGameElements/Gibbage/XmasHat.xml
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,10 +1,10 @@ | |||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | <?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<object id="806"> | <object id="806"> | ||
<sprite>HaxxyS</sprite> | <sprite>XmashatS</sprite> | ||
<solid>false</solid> | <solid>false</solid> | ||
<visible>true</visible> | <visible>true</visible> | ||
<depth>-1</depth> | <depth>0</depth> | ||
<persistent>false</persistent> | <persistent>false</persistent> | ||
<parent/> | <parent>Gib</parent> | ||
<mask/> | <mask/> | ||
</object> | </object> |
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
21 changes: 0 additions & 21 deletions
21
Source/gg2/Objects/Menus/HaxxyController.events/Mouse enter.xml
This file was deleted.
Oops, something went wrong.
21 changes: 0 additions & 21 deletions
21
Source/gg2/Objects/Menus/HaxxyController.events/Mouse leave.xml
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
Source/gg2/Objects/Menus/HaxxyController.events/Mouse left button pressed.xml
This file was deleted.
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
Oops, something went wrong.