I Wanna Community

Fangames => Game Design => Topic started by: thebmxbandit11 on January 16, 2015, 04:27:23 AM

Title: A request to everyone making fangames, please use touch z + shoot saves
Post 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:
Code: [Select]
image_speed=0;
saveTimer = -1;

Step:
Code: [Select]
saveTimer -= 1;

End Step:
Code: [Select]
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:
Code: [Select]
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. 
Title: Re: A request to everyone making fangames, please use touch z + shoot saves
Post by: Wolsk on January 16, 2015, 07:22:16 AM
I endorse this.
Title: Re: A request to everyone making fangames, please use touch z + shoot saves
Post by: Sudnep on January 16, 2015, 12:52:39 PM
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.
Title: Re: A request to everyone making fangames, please use touch z + shoot saves
Post by: Aelya on January 16, 2015, 12:59:37 PM
nice
Title: Re: A request to everyone making fangames, please use touch z + shoot saves
Post by: infern0man1 on January 16, 2015, 03:56:32 PM
Yes.
Title: Re: A request to everyone making fangames, please use touch z + shoot saves
Post by: Kyir on January 16, 2015, 06:18:37 PM
Nah.
Title: Re: A request to everyone making fangames, please use touch z + shoot saves
Post by: lemonxreaper on January 18, 2015, 05:03:37 PM
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 ര.༵ര
Title: Re: A request to everyone making fangames, please use touch z + shoot saves
Post by: thebmxbandit11 on January 19, 2015, 03:49:42 AM
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.
Title: Re: A request to everyone making fangames, please use touch z + shoot saves
Post by: petsson12 on January 19, 2015, 04:17:08 AM
k3 macaron would be so much better with this  :wixZaldo: