Skip to content

Commit

Permalink
The Uncle Appears
Browse files Browse the repository at this point in the history
- Uncle Swordsman fully playable
- That sweet, sweet Cool n Chill Secret music
- In the middle of reworking backgrounds thanks to the mirror mode effect
  • Loading branch information
SuperFreaksDev committed Jul 19, 2023
1 parent 48e2f07 commit 609a2c4
Show file tree
Hide file tree
Showing 95 changed files with 1,196 additions and 96 deletions.
48 changes: 31 additions & 17 deletions Super Freaks 1 Ultimate Edition.resource_order

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions Super Freaks 1 Ultimate Edition.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/obj_background_fruit/Draw_0.gml

This file was deleted.

6 changes: 6 additions & 0 deletions objects/obj_background_fruit/Other_15.gml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/// @description Draw Background
var _view_x1 = view_x1_get();
var _view_y1 = view_y1_get();

draw_sprite_tiled(spr_background_fruit_sky, alternate, (_view_x1 / 1.25) - _view_x1, (_view_y1 / 1.25) - _view_y1);
draw_sprite_tiled(spr_background_fruit_juiceboxes, alternate, (_view_x1 / 1.5) - _view_x1, (_view_y1 / 1.5) - _view_y1);
2 changes: 1 addition & 1 deletion objects/obj_background_fruit/obj_background_fruit.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
@@ -1,12 +1,9 @@
/// @description
/// @description Draw Background

var _view_x1 = view_x1_get();
var _view_y1 = view_y1_get();
var _scroll_delta = lerp(scroll_previous, scroll, frame_delta_level_get());
var _sky_color_top, _sky_color_bottom;

event_inherited();

if (alternate)
{
_sky_color_top = make_color_rgb(255, 191, 236);
Expand All @@ -17,24 +14,11 @@ else
_sky_color_top = make_color_rgb(255, 173, 0);
_sky_color_bottom = c_orange;
}
draw_rectangle_color(view_x1_get(), view_y1_get(), view_x2_get(), view_y2_get(), _sky_color_top, _sky_color_top, _sky_color_bottom, _sky_color_bottom, false);
draw_rectangle_color(0, 0, surface_get_width(surface), surface_get_height(surface), _sky_color_top, _sky_color_top, _sky_color_bottom, _sky_color_bottom, false);
draw_set_color(c_white);

surface_set_target(surface);
//draw
draw_sprite_parallax_x(spr_background_hippie_clouds,, _view_x1, view_height_get() - 64, 2, -_scroll_delta);
draw_sprite_parallax_x(spr_background_hippie_flowers,, _view_x1, view_height_get(), 1.75, 0);
draw_sprite_parallax_x(spr_background_hippie_clouds,, _view_x1, view_height_get() - 32, 1.5, -_scroll_delta * 3);
draw_sprite_parallax_x(spr_background_hippie_clouds,, _view_x1, view_height_get(), 1, -_scroll_delta * 5);
shader_reset();
surface_reset_target();

if (background_blur_get())
{
shader_set(shader_blur);
shader_set_uniform_f(shader_get_uniform(shader_blur, "texture_size"), surface_get_width(surface), surface_get_height(surface));
draw_surface(surface, _view_x1, _view_y1);
shader_reset();
}
else
draw_surface(surface, _view_x1, _view_y1);
draw_sprite_parallax_x(spr_background_hippie_clouds,, _view_x1, view_height_get(), 1, -_scroll_delta * 5);
2 changes: 1 addition & 1 deletion objects/obj_background_hippie/obj_background_hippie.yy

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

27 changes: 0 additions & 27 deletions objects/obj_background_sky/Draw_0.gml

This file was deleted.

13 changes: 13 additions & 0 deletions objects/obj_background_sky/Other_15.gml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/// @description Draw Background

var _view_x1 = view_x1_get();
var _view_height = view_height_get();
var _scroll_delta = lerp(scroll_previous, scroll, frame_delta_level_get());

draw_set_color(make_colour_rgb(0, 152, 255));
draw_rectangle(0, 0, surface_get_width(surface), surface_get_height(surface), false);
draw_set_color(c_white);

draw_sprite_parallax_x(spr_background_sky_clouds,, _view_x1, _view_height - 64, 2, -_scroll_delta);
draw_sprite_parallax_x(spr_background_sky_clouds,, _view_x1, _view_height - 32, 1.5, -_scroll_delta * 3);
draw_sprite_parallax_x(spr_background_sky_clouds,, _view_x1, _view_height, 1, -_scroll_delta * 5);
2 changes: 1 addition & 1 deletion objects/obj_background_sky/obj_background_sky.yy

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

2 changes: 1 addition & 1 deletion objects/obj_manager/Draw_72.gml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ if (!surface_exists(global.surface_HUD))
global.surface_HUD = surface_create(screen_width_get(), screen_height_get());
else
surface_resize(global.surface_HUD, screen_width_get(), screen_height_get());

surface_set_target(global.surface_HUD);
draw_clear_alpha(c_black, 0);
surface_reset_target();
2 changes: 1 addition & 1 deletion rooms/rm_secretice_1/RoomCreationCode.gml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
room_header(game_states.gameplay, msc_ice, room_directions.right);
room_header(game_states.gameplay, msc_ice_secret, room_directions.right);
tile_data_array_level_ice();
with (global.view)
{
Expand Down
2 changes: 1 addition & 1 deletion rooms/rm_secretice_1/rm_secretice_1.yy

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

2 changes: 1 addition & 1 deletion rooms/rm_secretice_2/RoomCreationCode.gml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
room_header(game_states.gameplay, msc_ice, room_directions.right);
room_header(game_states.gameplay, msc_ice_secret, room_directions.right);
tile_data_array_level_ice();
2 changes: 1 addition & 1 deletion rooms/rm_secretice_2/rm_secretice_2.yy

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

2 changes: 1 addition & 1 deletion rooms/rm_secretice_3/RoomCreationCode.gml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
room_header(game_states.gameplay, msc_ice, room_directions.up);
room_header(game_states.gameplay, msc_ice_secret, room_directions.up);
tile_data_array_level_ice();
with (global.view)
{
Expand Down
Loading

0 comments on commit 609a2c4

Please sign in to comment.