Author Topic: A request to everyone making fangames, please use touch z + shoot saves  (Read 3349 times)

thebmxbandit11

  • Wannabe
  • Posts: 46
  • OS:
  • Windows 8.1/Server 2013 Windows 8.1/Server 2013
  • Browser:
  • Chrome 39.0.2171.99 Chrome 39.0.2171.99
    • View Profile
  • Playstyle: Keyboard
The best save is one that you can stand on and press "Z" to save or shoot like this:


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. 

Wolsk

  • The Kid
  • Posts: 332
  • Wolsky McKitty :3
  • OS:
  • Windows 8.1/Server 2013 Windows 8.1/Server 2013
  • Browser:
  • Chrome 39.0.2171.95 Chrome 39.0.2171.95
    • View Profile
  • Playstyle: Keyboard
Re: A request to everyone making fangames, please use touch z + shoot saves
« Reply #1 on: January 16, 2015, 07:22:16 AM »
I endorse this.
meow :3

Why are you complaining about being a meme? this is a positive thing

Sudnep

  • Global Moderator
  • Spike Dodger
  • Posts: 124
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 35.0 Firefox 35.0
    • View Profile
  • Playstyle: Keyboard
Re: A request to everyone making fangames, please use touch z + shoot saves
« Reply #2 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.

Aelya

  • Cherry Eater
  • Posts: 55
  • love~ <3
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 39.0.2171.95 Chrome 39.0.2171.95
    • View Profile
    • stream
  • Playstyle: Keyboard
Re: A request to everyone making fangames, please use touch z + shoot saves
« Reply #3 on: January 16, 2015, 12:59:37 PM »
nice

infern0man1

  • ~(=^・ω・^)ψ
  • Global Moderator
  • Oatmeal Killer
  • Posts: 1.021
  • Dear sir stroke madam, fire exclamation point
  • OS:
  • Linux Linux
  • Browser:
  • Safari 4.0 Safari 4.0
    • View Profile
    • Twitter
  • Playstyle: Keyboard
Re: A request to everyone making fangames, please use touch z + shoot saves
« Reply #4 on: January 16, 2015, 03:56:32 PM »
Yes.

Kyir

  • The Kid
  • Posts: 293
  • Normal Guy
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 39.0.2171.95 Chrome 39.0.2171.95
    • View Profile
  • Playstyle: Keyboard
Re: A request to everyone making fangames, please use touch z + shoot saves
« Reply #5 on: January 16, 2015, 06:18:37 PM »
Nah.

lemonxreaper

  • Administrator
  • Spike Dodger
  • Posts: 222
  • Do you even needle?
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 35.0 Firefox 35.0
    • View Profile
Re: A request to everyone making fangames, please use touch z + shoot saves
« Reply #6 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 ര.༵ര
Just pretend I have a cool picture like Zero.
Completed Fangames: https://dl.dropboxusercontent.com/u/4678222/Complete%20Fangames.txt

thebmxbandit11

  • Wannabe
  • Posts: 46
  • OS:
  • Windows 8.1/Server 2013 Windows 8.1/Server 2013
  • Browser:
  • Chrome 39.0.2171.99 Chrome 39.0.2171.99
    • View Profile
  • Playstyle: Keyboard
Re: A request to everyone making fangames, please use touch z + shoot saves
« Reply #7 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.

petsson12

  • Spike Dodger
  • Posts: 121
  • I'm addicted to cats
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 39.0.2171.99 Chrome 39.0.2171.99
    • View Profile
    • my livestream yo
  • Playstyle: Keyboard
Re: A request to everyone making fangames, please use touch z + shoot saves
« Reply #8 on: January 19, 2015, 04:17:08 AM »
k3 macaron would be so much better with this  :wixZaldo:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa