I Wanna Community
Fangames => Game Design => Topic started by: thebmxbandit11 on January 16, 2015, 04:27:23 AM
-
The best save is one that you can stand on and press "Z" to save or shoot like this:
(https://i.imgur.com/lPjz1SK.gif)
I don't think there is any reason every game shouldn't use this along with bullet blockers. It has all the good parts of both "s-saves" and shoot saves and when you want the player to only be able to save really close then just put bullet blockers around this and it turns into a "s-save", but "s" is replaced by the shoot key.
Here's the code for one:
Create:
image_speed=0;
saveTimer = -1;
Step:
saveTimer -= 1;
End Step:
if place_meeting(x,y,bullet){
//sound_play(saveSound); //optional
if(saveTimer < 0 && instance_exists(player) == true){
saveTimer = 30;
image_index = 1;
image_speed = 0.017;
saveGame();
}}
//if you don't have global controls then switch the second part to to keyboard_check(ord("Z"))
if place_meeting(x,y,player) and keyboard_check_pressed(global.button4){
// sound_play(saveSound); //optional
if(saveTimer < 0 && instance_exists(player) == true){
saveTimer = 30;
image_index = 1;
image_speed = 0.017;
saveGame();
}}
Animation End:
image_speed=0;
image_index=0;
Then for bullet blockers just make a 32x32 px object and set in the bullet object an on collide event that just destroys the bullet.
-
I endorse this.
-
This was nearly the first thing I did. Sitting in a 32 gap with a save and unable to shoot it was probably the most annoying thing I could think of.
-
nice
-
Yes.
-
Nah.
-
Not sure if you got the idea from me or not, But its already something in my engine for quite a while.
but nobody seems to trust my suggestions for this kind of thing cuz needle maker or something ര.༵ര
-
Not sure if you got the idea from me or not, But its already something in my engine for quite a while.
but nobody seems to trust my suggestions for this kind of thing cuz needle maker or something ര.༵ര
I got the idea from you.
But still hardly anyone does this, so I decided to make a post dedicated to this.
-
k3 macaron would be so much better with this :wixZaldo: