I Wanna Community
Fangames => Game Design => Topic started by: 3-headed monkey on October 18, 2015, 06:54:32 PM
-
Sorry if this has been asked before, but would it be possible for some clever person to write a script to press 'R' automatically? Or has it already been done? Thanks
-
Do you mean that you just want the player to respawn automatically upon death?
-
yea that's it, just to help stave off carpal tunnel for a while :)
-
If you're going to do that, add a delay of ~1 second before respawning.
-
One of my games had this feature and weirdly enough those who noticed it, didn't like it.
Either way all you need to do is take the code from the R button press in the world object of whatever engine you're using and put it in an alarm in the Game Over object set to, let's say, a second like Den suggested.
-
Thanks for the replies, while I would definitely welcome the feature in new games, I was hoping someone might have written a program that can run in the background and work on any existing games, at least the Game Maker ones anyway.
-
I don't believe something like that exists; your best bet may be to rebind R to another key.
-
I think it would be cool to make this feature optional in fangames.
-
Thanks for the replies, while I would definitely welcome the feature in new games, I was hoping someone might have written a program that can run in the background and work on any existing games, at least the Game Maker ones anyway.
Well you asked in the Game Design forum, so we gave you game design tips :P
It's certainly possible to do, you'd just have to write a program that watches the death count in the save file (or in the program memory if you're feeling adventurous), and sends an R keypress when it changes. Both definitely possible.
-
I prefer manual R pressing. Sometimes it helps to look at where you died / the blood splatter and I want to play at my own pace.
-
Interesting. When you're looking at the blood spatter, do you start to get voices in your head and start foaming at the mouth? Just wondering.
Yea I guess remapping the keyboard is he best option at the moment, what's the best program to do this in your opinion? Cheers
-
I'd suggest using AutoHotKey; it's fairly easy to use.
-
thanks man, will give it a try.
-
so now i have Caps lock for R and \ for Z, works great, happy days.