Skip to content

Commit

Permalink
Merge pull request #255 from Dinossaurinho8/main
Browse files Browse the repository at this point in the history
πŸŽπŸ‡πŸˆπŸŠπŸ‹
  • Loading branch information
spacebake authored Aug 16, 2024
2 parents cb0607c + cb11196 commit 4ac3b45
Show file tree
Hide file tree
Showing 117 changed files with 3,250 additions and 1 deletion.
53 changes: 53 additions & 0 deletions Loungeware/Loungeware.yyp

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions Loungeware/objects/rafael_main_init_difficulty_obj/Step_0.gml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
if DIFFICULTY = 1
{
room_goto(rafael_fruitventure_rm_easy);
}
if DIFFICULTY = 2
{
room_goto(rafael_fruitventure_rm_medium);
}
if DIFFICULTY = 3
{
room_goto(rafael_fruitventure_rm_hard);
}
if DIFFICULTY = 4
{
room_goto(rafael_fruitventure_rm_harder);
}
if DIFFICULTY = 5
{
room_goto(rafael_fruitventure_rm_hardest);
}

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

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
global.fruits_rafaels_fruit_mayhem += 1;
instance_destroy();
36 changes: 36 additions & 0 deletions Loungeware/objects/rafael_obj_apple/rafael_obj_apple.yy

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

34 changes: 34 additions & 0 deletions Loungeware/objects/rafael_obj_floor/rafael_obj_floor.yy

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

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
global.fruits_rafaels_fruit_mayhem += 1;
instance_destroy();
36 changes: 36 additions & 0 deletions Loungeware/objects/rafael_obj_lemon/rafael_obj_lemon.yy

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

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
global.fruits_rafaels_fruit_mayhem += 1;
instance_destroy();
36 changes: 36 additions & 0 deletions Loungeware/objects/rafael_obj_orange/rafael_obj_orange.yy

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

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
global.fruits_rafaels_fruit_mayhem += 1;
instance_destroy();
36 changes: 36 additions & 0 deletions Loungeware/objects/rafael_obj_pear/rafael_obj_pear.yy

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

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
instance_destroy();
instance_create_layer(x,y,layer,rafael_obj_rafael_failure);
5 changes: 5 additions & 0 deletions Loungeware/objects/rafael_obj_rafael/Create_0.gml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
hsp = 0;
vsp = 0;
grv = 0.3;
walksp = 4;
global.fruits_rafaels_fruit_mayhem = 0;
97 changes: 97 additions & 0 deletions Loungeware/objects/rafael_obj_rafael/Step_0.gml
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
var keyleft = KEY_LEFT;
var keyright = KEY_RIGHT;
var keyjump = KEY_PRIMARY;

var move = keyright - keyleft;

hsp = move * walksp;

vsp = vsp + grv;

if (place_meeting(x,y+2,rafael_obj_floor)) and (keyjump)
{
vsp = -8;
}

if place_meeting(x+hsp,y,rafael_obj_floor)
{
while (!place_meeting(x+sign(hsp),y,rafael_obj_floor))
{
x = x + sign (hsp);
}
hsp = 0;
}
x = x + hsp;

if place_meeting(x,y+vsp,rafael_obj_floor)
{
while (!place_meeting(x,y+sign(vsp),rafael_obj_floor))
{
y = y + sign(vsp);
}
vsp = 0;
}
y = y + vsp;

if (!place_meeting(x,y+2,rafael_obj_floor))
{
sprite_index = rafael_spr_rafael_jump_up_right;
image_speed = 0;
if (sign(vsp) > 0) image_index = 1; else image_index = 0;

}
else
{
image_speed = 1;
if (hsp == 0)
{
sprite_index = rafael_spr_rafael_right;
}
else
{
sprite_index = rafael_spr_rafael_run_right;
}
}

if (hsp != 0) image_xscale = sign(hsp);

if DIFFICULTY = 1
{
if global.fruits_rafaels_fruit_mayhem = 2
{
instance_destroy();
instance_create_layer(x,y,layer,rafael_obj_rafael_victory);
}
}
if DIFFICULTY = 2
{
if global.fruits_rafaels_fruit_mayhem = 3
{
instance_destroy();
instance_create_layer(x,y,layer,rafael_obj_rafael_victory);
}
}
if DIFFICULTY = 3
{
if global.fruits_rafaels_fruit_mayhem = 4
{
instance_destroy();
instance_create_layer(x,y,layer,rafael_obj_rafael_victory);
}
}
if DIFFICULTY = 4
{
if global.fruits_rafaels_fruit_mayhem = 5
{
instance_destroy();
instance_create_layer(x,y,layer,rafael_obj_rafael_victory);
}
}
if DIFFICULTY = 5
{
if global.fruits_rafaels_fruit_mayhem = 6
{
instance_destroy();
instance_create_layer(x,y,layer,rafael_obj_rafael_victory);
}
}
Loading

0 comments on commit 4ac3b45

Please sign in to comment.