Skip to content

Commit

Permalink
Man Tied To Boulder Room1
Browse files Browse the repository at this point in the history
  • Loading branch information
lostastro committed Dec 19, 2020
0 parents commit f2c0728
Show file tree
Hide file tree
Showing 32 changed files with 921 additions and 0 deletions.
62 changes: 62 additions & 0 deletions GMSPhysicsToy.yyp

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

37 changes: 37 additions & 0 deletions objects/o_Boulder/o_Boulder.yy

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

39 changes: 39 additions & 0 deletions objects/o_ChainEnd/o_ChainEnd.yy

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

1 change: 1 addition & 0 deletions objects/o_ChainLink/Collision_o_ChainLink.gml.dnd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<Layouts><Layout layout_name="DnDWorkspace" layout_guid="ab18e0ba-5aeb-4bbe-98d8-c6c94c95ec57" toolbox_size="25%" toolbox_anchor="Last" story_size="187.5px"><Workspace zoom="1" pan="[-12.5, -600]" /></Layout></Layouts>
39 changes: 39 additions & 0 deletions objects/o_ChainLink/o_ChainLink.yy

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

39 changes: 39 additions & 0 deletions objects/o_ChainStart/o_ChainStart.yy

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

9 changes: 9 additions & 0 deletions objects/o_Person/Create_0.gml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/// @description Insert description here
// You can write your code in this editor
turn_accel = 5;
max_turn_spd = 30;
accel = 0.01;
decel = 0.01;
player_number = 1;
AB_held=0;
depth=10;
22 changes: 22 additions & 0 deletions objects/o_Person/Step_0.gml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// turn clockwise
if ( keyboard_check(vk_right) )
phy_angular_velocity = min(phy_angular_velocity + turn_accel, max_turn_spd);

// turn counterclockwise
if ( keyboard_check(vk_left) )
phy_angular_velocity = max(phy_angular_velocity - turn_accel, -max_turn_spd);

// forward
if ( keyboard_check(vk_up) ) {
if ( phy_speed < 30 ) {
phy_speed_x += lengthdir_x(accel, -phy_rotation);
phy_speed_y += lengthdir_y(accel, -phy_rotation);
}
}
// backward
if ( keyboard_check(vk_down) ) {
if ( phy_speed > -30 ) {
phy_speed_x -= lengthdir_x(decel, -phy_rotation);
phy_speed_y -= lengthdir_y(decel, -phy_rotation);
}
}
45 changes: 45 additions & 0 deletions objects/o_Person/o_Person.yy

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

25 changes: 25 additions & 0 deletions options/linux/options_linux.yy

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

32 changes: 32 additions & 0 deletions options/mac/options_mac.yy

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

16 changes: 16 additions & 0 deletions options/main/options_main.yy

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

Loading

0 comments on commit f2c0728

Please sign in to comment.