Skip to content

Commit

Permalink
Giving it Update
Browse files Browse the repository at this point in the history
Updated many things
  • Loading branch information
kaonkaon committed Dec 28, 2023
1 parent 71cf1d8 commit 24bb02a
Show file tree
Hide file tree
Showing 12 changed files with 114 additions and 33 deletions.
6 changes: 3 additions & 3 deletions Configs/Default.config.gmx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
<Config>
<Options>
<option_aborterrors>False</option_aborterrors>
Expand Down Expand Up @@ -677,5 +677,5 @@
<option_xbone_texture_page>1024</option_xbone_texture_page>
<option_xbone_title_id>1234ABCD</option_xbone_title_id>
</Options>
<ConfigConstants />
</Config>
<ConfigConstants/>
</Config>
21 changes: 19 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,33 @@
A game inspired by Geometry Dash Wave gamemode.
This game made in **2 days**.

![image of game main menu](mainmenu.jpg)

**Used:**
- GameMaker Studio 1.4.9999 by Yoyo Games
- [GayMaker 1.7.7 by LiEnby](https://github.com/LiEnby/GayMaker)
- [freesound.org](https://freesound.org/) for sound effects
- [freesound.org](https://freesound.org/) [pixabay.com](https://pixabay.com/ja/) for sound effects
- music credits are in game...

**Todo list:**

- [ ] fix Yandere ahh code
- [ ] add ability to submit score to internet
- [ ] add more enemies
- [ ] make it more playable
- [x] make it more playable (done, i think)
- [ ] remove Herobrine

---

## Changelog

**V1.1.0**

- Make game more playable (By decreasing its difficulty)
- Added SFX for select and game start
- Made some adjustment here and there

**V1.0.1**

- initial release
- where tf is 1.0.0?????
Binary file added mainmenu.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 9 additions & 13 deletions objects/obj_game.object.gmx
Original file line number Diff line number Diff line change
Expand Up @@ -141,26 +141,26 @@ alarm[1] = 10;
<string>///spawn

//spawn coins
if(irandom(10 * add) = 1 &amp;&amp; !paused) instance_create(960, irandom_range(90, 454), obj_coins);
if(irandom(15 * add) = 1 &amp;&amp; !paused) instance_create(960, irandom_range(90, 454), obj_coins);

//spawn heal
if(irandom(95 * add) = 1 &amp;&amp; !paused) instance_create(960, irandom_range(90, 454), obj_health);
if(irandom(110 * add) = 1 &amp;&amp; !paused) instance_create(960, irandom_range(90, 454), obj_health);

//spawn enemy: orb
if(irandom(15 * add) = 1 &amp;&amp; !paused) instance_create(960, irandom_range(90, 454), obj_enemy_obs);
if(irandom(24 * add) = 1 &amp;&amp; !paused) instance_create(960, irandom_range(90, 454), obj_enemy_obs);

//spawn star
if(irandom(2) = 1 &amp;&amp; !paused) instance_create(960, irandom_range(90, 454), obj_star);

//spawn mother ship
if(irandom(120 * add) = 1 &amp;&amp; !paused){
if(irandom(180 * add) = 1 &amp;&amp; !paused){
if !(instance_exists(obj_mothership)){
instance_create(1, irandom_range(90, 454), obj_mothership);
}
}

//spawn obstacle wall
if(irandom(80 * add) = 1 &amp;&amp; !paused &amp;&amp; instance_exists(obj_player)){
if(irandom(110 * add) = 1 &amp;&amp; !paused &amp;&amp; instance_exists(obj_player)){
if !(instance_exists(obj_wall)){
instance_create(958, irandom_range(90, 454), obj_wall);
}
Expand All @@ -175,14 +175,10 @@ if(paused) {
instance_deactivate_all(1);

//let user make selection
if(gamepad_button_check_pressed(0, gp_padd)) select += 1;
else if(gamepad_button_check_pressed(0, gp_padu)) select -= 1;

//clamp the select variables
//if(!exit_sure &amp;&amp; !opt_menu) select = clamp(select, 0, 2);
//else if(exit_sure &amp;&amp; !opt_menu) select = clamp(select, 0, 1);
//else if(!exit_sure &amp;&amp; opt_menu) select = clamp(select, 0, 2);
if(gamepad_button_check_pressed(0, gp_padd)) {select += 1;}
else if(gamepad_button_check_pressed(0, gp_padu)) {select -= 1;}

//clamp variable
if(!exit_sure || opt_menu) select = clamp(select, 0, 2);
else if(exit_sure) select = clamp(select, 0, 1);

Expand Down Expand Up @@ -262,7 +258,7 @@ if(!paused) draw_rectangle(0, 480, 960, 481, false);
draw_set_font(ft_text);
draw_set_valign(fa_middle);
if(instance_exists(obj_player)) {
if(global.show_fps)draw_text(32, 79 / 2, "HP: " + string(obj_player.hp) + " | Score: " + string(obj_player.coin) + "| FPS: " + string(fps));
if(global.show_fps)draw_text(32, 79 / 2, "HP: " + string(obj_player.hp) + " | Score: " + string(obj_player.coin) + " | FPS: " + string(fps));
else if(!global.show_fps)draw_text(32, 79 / 2, "HP: " + string(obj_player.hp) + " | Score: " + string(obj_player.coin));
}
if(!paused) draw_text(32, ((room_height - 481) / 2) + 481, "X: Ascend. L: Boost. Start: Pause. PS: Exit");
Expand Down
4 changes: 2 additions & 2 deletions objects/obj_gameover.object.gmx
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ if(final_score &gt; global.hscore){
<arguments>
<argument>
<kind>1</kind>
<string>if(gamepad_button_check_pressed(0, gp_padd)) select += 1;
if(gamepad_button_check_pressed(0, gp_padu)) select -= 1;
<string>if(gamepad_button_check_pressed(0, gp_padd)) {select += 1; audio_play_sound(snd_select, 10, false)}
if(gamepad_button_check_pressed(0, gp_padu)) {select -= 1; audio_play_sound(snd_select, 10, false)}

select = clamp(select, 0, 1);

Expand Down
18 changes: 13 additions & 5 deletions objects/obj_mainmenu.object.gmx
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,14 @@ if(y &lt;= 80) vspeed = 5;
else if(y &gt;= 460) vspeed = -5;
image_angle = (vspeed / 5) * -45;

if(start) hspeed += 1;
if(start) {
hspeed += 1;
if(audio_is_playing(bgm_menu)){
audio_stop_sound(bgm_menu);
}
}
if(obj_mainmenu.x &gt;= 960) {
if(audio_is_playing(bgm_menu)) audio_stop_sound(bgm_menu);
if(audio_is_playing(bgm_menu)) audio_sound_gain(bgm_menu, 0, 7000);
room_goto(rm_play);
}

Expand All @@ -140,8 +145,8 @@ else if(menu_layer = 3 || menu_layer = 4) select = clamp(select, 3, 3);
else if(menu_layer = 5) select = clamp(select, 2, 3);

//choose
if(gamepad_button_check_pressed(0, gp_padu) &amp;&amp; !start) select -= 1;
else if(gamepad_button_check_pressed(0, gp_padd) &amp;&amp; !start) select += 1;
if(gamepad_button_check_pressed(0, gp_padu) &amp;&amp; !start) {select -= 1; audio_play_sound(snd_select, 10, false)}
else if(gamepad_button_check_pressed(0, gp_padd) &amp;&amp; !start) {select += 1; audio_play_sound(snd_select, 10, false)}

//main_menu
if(gamepad_button_check_pressed(0, gp_face1) &amp;&amp; select = 0 &amp;&amp; menu_layer = 0) {menu_layer = 1; select = 0;} //dificulty
Expand All @@ -152,14 +157,17 @@ else if(gamepad_button_check_pressed(0, gp_face1) &amp;&amp; select = 3 &amp;&am
//dif
else if(gamepad_button_check_pressed(0, gp_face1) &amp;&amp; select = 0 &amp;&amp; menu_layer = 1) {
global.dif = 1;
audio_play_sound(snd_start, 10, false);
start = true;
}
else if(gamepad_button_check_pressed(0, gp_face1) &amp;&amp; select = 1 &amp;&amp; menu_layer = 1) {
global.dif = 2;
audio_play_sound(snd_start, 10, false);
start = true;
}
else if(gamepad_button_check_pressed(0, gp_face1) &amp;&amp; select = 2 &amp;&amp; menu_layer = 1) {
global.dif = 3;
audio_play_sound(snd_start, 10, false);
start = true;
}
else if(gamepad_button_check_pressed(0, gp_face1) &amp;&amp; select = 3 &amp;&amp; menu_layer = 1) {menu_layer = 0; select = 0;} //reduce
Expand Down Expand Up @@ -272,7 +280,7 @@ else if(menu_layer = 3){
}
else if(menu_layer = 4){
draw_set_font(ft_many_text);
draw_text(room_width / 2, 300, "Aqil Gama Rahmansyah [Kaon] @2023#Game Engine: GameMaker Studio 1.4#VPK Compiler: GayMaker 1.7.7##Sound effect: freesound.org#Main menu BGM: Prelude No. 3 ‘Encounter with the Unknown’ - Hata Akira#Game Bgm: Nocturnal Dance - SHUNTA#Shockwave - Xivine#World to be Suspended - Moppee Sound#Unholy Insurgency - DM Dokuro#Antartic Reinforcement - DM Dokuro##Nijika is REAL!!!");
draw_text(room_width / 2, 300, "Aqil Gama Rahmansyah [Kaon] @2023#Game Engine: GameMaker Studio 1.4#VPK Compiler: GayMaker 1.7.7##Sound effect: freesound.org &amp; pixabay.com#Main menu BGM: Prelude No. 3 ‘Encounter with the Unknown’ - Hata Akira#Game Bgm: Nocturnal Dance - SHUNTA#Shockwave - Xivine#World to be Suspended - Moppee Sound#Unholy Insurgency - DM Dokuro#Antartic Reinforcement - DM Dokuro##Nijika is REAL!!!");
draw_set_font(ft_text);
draw_text(room_width / 2, 450, "Back");
}
Expand Down
16 changes: 8 additions & 8 deletions rooms/rm_mainmenu.room.gmx
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@
<background visible="0" foreground="0" name="" x="0" y="0" htiled="-1" vtiled="-1" hspeed="0" vspeed="0" stretch="0"/>
</backgrounds>
<views>
<view visible="0" objName="" xview="0" yview="0" wview="1024" hview="768" xport="0" yport="0" wport="1024" hport="768" hborder="32" vborder="32" hspeed="-1" vspeed="-1"/>
<view visible="0" objName="" xview="0" yview="0" wview="1024" hview="768" xport="0" yport="0" wport="1024" hport="768" hborder="32" vborder="32" hspeed="-1" vspeed="-1"/>
<view visible="0" objName="" xview="0" yview="0" wview="1024" hview="768" xport="0" yport="0" wport="1024" hport="768" hborder="32" vborder="32" hspeed="-1" vspeed="-1"/>
<view visible="0" objName="" xview="0" yview="0" wview="1024" hview="768" xport="0" yport="0" wport="1024" hport="768" hborder="32" vborder="32" hspeed="-1" vspeed="-1"/>
<view visible="0" objName="" xview="0" yview="0" wview="1024" hview="768" xport="0" yport="0" wport="1024" hport="768" hborder="32" vborder="32" hspeed="-1" vspeed="-1"/>
<view visible="0" objName="" xview="0" yview="0" wview="1024" hview="768" xport="0" yport="0" wport="1024" hport="768" hborder="32" vborder="32" hspeed="-1" vspeed="-1"/>
<view visible="0" objName="" xview="0" yview="0" wview="1024" hview="768" xport="0" yport="0" wport="1024" hport="768" hborder="32" vborder="32" hspeed="-1" vspeed="-1"/>
<view visible="0" objName="" xview="0" yview="0" wview="1024" hview="768" xport="0" yport="0" wport="1024" hport="768" hborder="32" vborder="32" hspeed="-1" vspeed="-1"/>
<view visible="0" objName="&lt;undefined&gt;" xview="0" yview="0" wview="1024" hview="768" xport="0" yport="0" wport="1024" hport="768" hborder="32" vborder="32" hspeed="-1" vspeed="-1"/>
<view visible="0" objName="&lt;undefined&gt;" xview="0" yview="0" wview="1024" hview="768" xport="0" yport="0" wport="1024" hport="768" hborder="32" vborder="32" hspeed="-1" vspeed="-1"/>
<view visible="0" objName="&lt;undefined&gt;" xview="0" yview="0" wview="1024" hview="768" xport="0" yport="0" wport="1024" hport="768" hborder="32" vborder="32" hspeed="-1" vspeed="-1"/>
<view visible="0" objName="&lt;undefined&gt;" xview="0" yview="0" wview="1024" hview="768" xport="0" yport="0" wport="1024" hport="768" hborder="32" vborder="32" hspeed="-1" vspeed="-1"/>
<view visible="0" objName="&lt;undefined&gt;" xview="0" yview="0" wview="1024" hview="768" xport="0" yport="0" wport="1024" hport="768" hborder="32" vborder="32" hspeed="-1" vspeed="-1"/>
<view visible="0" objName="&lt;undefined&gt;" xview="0" yview="0" wview="1024" hview="768" xport="0" yport="0" wport="1024" hport="768" hborder="32" vborder="32" hspeed="-1" vspeed="-1"/>
<view visible="0" objName="&lt;undefined&gt;" xview="0" yview="0" wview="1024" hview="768" xport="0" yport="0" wport="1024" hport="768" hborder="32" vborder="32" hspeed="-1" vspeed="-1"/>
<view visible="0" objName="&lt;undefined&gt;" xview="0" yview="0" wview="1024" hview="768" xport="0" yport="0" wport="1024" hport="768" hborder="32" vborder="32" hspeed="-1" vspeed="-1"/>
</views>
<instances>
<instance objName="obj_mainmenu" x="0" y="0" name="inst_64707A1C" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
Expand Down
Binary file added sound/audio/snd_select.mp3
Binary file not shown.
Binary file added sound/audio/snd_start.mp3
Binary file not shown.
29 changes: 29 additions & 0 deletions sound/snd_select.sound.gmx
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
<sound>
<kind>3</kind>
<extension>.mp3</extension>
<origname>sound\audio\snd_select.mp3</origname>
<effects>0</effects>
<volume>
<volume>1</volume>
</volume>
<pan>0</pan>
<bitRates>
<bitRate>192</bitRate>
</bitRates>
<sampleRates>
<sampleRate>44100</sampleRate>
</sampleRates>
<types>
<type>0</type>
</types>
<bitDepths>
<bitDepth>16</bitDepth>
</bitDepths>
<preload>-1</preload>
<data>snd_select.mp3</data>
<compressed>1</compressed>
<streamed>1</streamed>
<uncompressOnLoad>0</uncompressOnLoad>
<audioGroup>0</audioGroup>
</sound>
29 changes: 29 additions & 0 deletions sound/snd_start.sound.gmx
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
<sound>
<kind>3</kind>
<extension>.mp3</extension>
<origname>sound\audio\snd_start.mp3</origname>
<effects>0</effects>
<volume>
<volume>1</volume>
</volume>
<pan>0</pan>
<bitRates>
<bitRate>192</bitRate>
</bitRates>
<sampleRates>
<sampleRate>44100</sampleRate>
</sampleRates>
<types>
<type>0</type>
</types>
<bitDepths>
<bitDepth>16</bitDepth>
</bitDepths>
<preload>-1</preload>
<data>snd_start.mp3</data>
<compressed>1</compressed>
<streamed>1</streamed>
<uncompressOnLoad>0</uncompressOnLoad>
<audioGroup>0</audioGroup>
</sound>
2 changes: 2 additions & 0 deletions ztwo.project.gmx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
<sound>sound\bgm_4</sound>
<sound>sound\bgm_5</sound>
<sound>sound\bgm_over</sound>
<sound>sound\snd_select</sound>
<sound>sound\snd_start</sound>
</sounds>
<sprites name="sprites">
<sprite>sprites\spr_player</sprite>
Expand Down

0 comments on commit 24bb02a

Please sign in to comment.