Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions Loungeware/Loungeware.yyp

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

1 change: 1 addition & 0 deletions Loungeware/objects/tabi_gogogatsby_obj_car/Alarm_1.gml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
microgame_end_early();
2 changes: 2 additions & 0 deletions Loungeware/objects/tabi_gogogatsby_obj_car/CleanUp_0.gml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
part_type_destroy(p_explode);
part_system_destroy(p_system);
19 changes: 18 additions & 1 deletion Loungeware/objects/tabi_gogogatsby_obj_car/Create_0.gml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,21 @@ lane_one = 160
lane_two = 230

sprite_change_time = 15;
draw_y_position = y;
draw_y_position = y;

stop = false;


//make particles
p_system = part_system_create_layer(layer_get_id("particles"), true);

p_explode = part_type_create();

part_type_sprite(p_explode, tabi_gogogatsby_spr_explosion, true, true, false);
part_type_size(p_explode, 1, 1, 0, 0);
part_type_speed(p_explode, 1, 2, -0.10, 0);
part_type_direction(p_explode, 0, 359, 0, 20);
part_type_life(p_explode, 30, 45);

made_particle = false;
play_sound_once = false;
16 changes: 15 additions & 1 deletion Loungeware/objects/tabi_gogogatsby_obj_car/Draw_0.gml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ var _rot = 0;

_anim_y = random_range(-2,2);

var turn_animation = 0;

//ease to the y location
if(draw_y_position != y){
draw_y_position = lerp(draw_y_position,y,0.5);
Expand All @@ -14,6 +16,18 @@ if(draw_y_position != y){
if(abs(draw_y_position - y) <= 0.01){
draw_y_position = y;
}

//point towards the spot you are turning
var _dir = -point_direction(0, draw_y_position, 0, y);

turn_animation = angle_difference(turn_animation, _dir);

//ease into it. become more like 0 the closer the car is to the position it should be
turn_animation = lerp(0, turn_animation, abs((draw_y_position/y)-1))*2.5;

show_debug_message(turn_animation);

image_angle = turn_animation;
}

//get values from the anmation curve
Expand All @@ -36,7 +50,7 @@ x+_anim_x,
draw_y_position+_anim_y,
image_xscale+_anim_x_scale,
image_yscale,
image_angle+_rot,
image_angle + _rot,
image_blend,
image_alpha
);
31 changes: 27 additions & 4 deletions Loungeware/objects/tabi_gogogatsby_obj_car/Step_0.gml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,30 @@ if KEY_DOWN_PRESSED
}

if place_meeting(x,y,tabi_gogogatsby_obj_character)
{
microgame_fail()
microgame_end_early()
}
{
if(stop == false){
sfx_play(tabi_gogogatsby_explosion);
}

stop = true;
microgame_fail();

if(alarm[1] == -1){
//end the game for realz
alarm[1] = 3;
}
}

//failed the microgame by crashing
if(stop){
//make explosion
if(made_particle == false){



part_particles_create(p_system, x+50, y+60, p_explode, 2);
made_particle = true;
}

x-=5;
}

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

This file was deleted.

4 changes: 2 additions & 2 deletions Loungeware/objects/tabi_gogogatsby_obj_character/Create_0.gml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
lane_number = irandom(2)
y = lane_number = 1 ? 215 : 280
character_speed = 5
depth = lane_number = 1 ? 100 : -100
character_speed = 5;
depth = lane_number = 1 ? 100 : -100
5 changes: 0 additions & 5 deletions Loungeware/objects/tabi_gogogatsby_obj_character/Step_0.gml
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
if alarm[0] = -1
alarm[0] = random_range(65,85)

if x < -150
instance_destroy(self)

x -= character_speed


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

4 changes: 4 additions & 0 deletions Loungeware/objects/tabi_gogogatsby_obj_controller/Alarm_0.gml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
newest_character = instance_create_depth(500, 280, 100, tabi_gogogatsby_obj_character);
newest_character.image_index = random_character_index;

random_character_index += 1;
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
random_character_index = irandom_range(0,4);//start sprite at a random location
2 changes: 2 additions & 0 deletions Loungeware/objects/tabi_gogogatsby_obj_controller/Step_0.gml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
if alarm[0] = -1
alarm[0] = random_range(65,85);

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

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

14 changes: 7 additions & 7 deletions Loungeware/scripts/tabi_metadata/tabi_metadata.gml
Original file line number Diff line number Diff line change
Expand Up @@ -16,27 +16,27 @@ microgame_register("tabi_gogogatsby", {
view_width: 480,
view_height: 320,
time_seconds: 6,
music_track: false,
music_track: tabi_gogogatsby_bgm_game373,
music_loops: false,
interpolation_on: true,
cartridge_col_primary: [50, 44, 63],
cartridge_col_secondary: [168, 84, 100],
cartridge_col_primary: [253, 244, 81],
cartridge_col_secondary: [231, 135, 21],
cartridge_label: tabi_gogogatsby_spr_label,
default_is_fail: false,
supports_difficulty_scaling: false,
credits: ["Tabicoh", "Gatsby"],
date_added:{
day : 25,
day : 28,
month : 3,
year : 2025,
},
is_enabled: true,
supports_html:false,
supports_html: true,
show_on_website: true,
description: [
"Drive down the freeway without hitting anyone you know",
"Drive down the freeway without hitting anyone.",
],
how_to_play: [
"Press left and right to dodge Gatsby's friends as he speeds down the highway!"
"Press up and down to dodge Gatsby's friends as he speeds down the highway!"
]
});

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

Binary file not shown.

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

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading