Anyone know of a way to set up so that If the player shakes their iPhone for a gratuitously long period of time (like, 10 minutes) the game triggers a change attribute behavior?
The idea is to have it be a cheat code that unlocks all levels. But I want to make people work for it if they're going to cheat... and while discussing it among friends, we concluded that the best thing to do is have the player shake the iPhone up and down for 10 minutes!
mangaroo said: that is pretty brutal! how were you planning on spreading the cheat code?
I wasn't really, perhaps a blog post or tweet, or post it on some game cheats websites. But really it's just a joke that I want to implement into the game for no other purpose that my own satisfaction of a job well done.
i get where you are coming from but i would go a different way then pain on your customers, perhaps a nicely timed tapping etc so you can show friends who bought it
if they are going to cheat its because they are stuck right or bored. if they are bored they wont want to shake their iphone for 10 minutes first.
i would implement a way to skip a level if you are using levels and dont have a way already
I would also make sure that the cheat did not save and was just temporary so a momentary decision to cheat doesnt ruin the save file = goes well with not having to shake for 10 minutes each time just my two cents would like to know the solution myself as im planning on using "shake" later on...sorry i cant be of more help
or that code can be even more privileged info to go with the shake..
gyroscopeI am here.Member, Sous Chef, PROPosts: 6,598
!0 mins is sure a long time shaking a phone... and I should know, I've tried it! (Not really) :-) A minute would be long enough; try a bit of R&D, shaking your phone for just 60 seconds; it will seem like it's a much longer time, believe me!
Yea I mean, 10 minutes is probably WAAAAYYYY too long. But that's really besides the point. regardless of the amount of time I decide to set it at when done, it's a matter of the ability to set if shake for (x) time then change attribute.
And it's not that I'm trying to be a pain to costumers but it's a cheat code... you're not supposed to use it! It's cheating! Cheating is what turns puppies' dreams into nightmares.
Maybe every second, check to see if it's shaking. If it is, add +1 to an attribute. When it reaches 60 or 600, depending on the amount of time, unlock the levels.
Comments
The idea is to have it be a cheat code that unlocks all levels. But I want to make people work for it if they're going to cheat... and while discussing it among friends, we concluded that the best thing to do is have the player shake the iPhone up and down for 10 minutes!
if they are going to cheat its because they are stuck right or bored. if they are bored they wont want to shake their iphone for 10 minutes first.
i would implement a way to skip a level if you are using levels and dont have a way already
I would also make sure that the cheat did not save and was just temporary so a momentary decision to cheat doesnt ruin the save file = goes well with not having to shake for 10 minutes each time
or that code can be even more privileged info to go with the shake..
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
And it's not that I'm trying to be a pain to costumers but it's a cheat code... you're not supposed to use it! It's cheating! Cheating is what turns puppies' dreams into nightmares.
-Maria from Mischief Makers
ACTOR 1 (only for testing)
Diplay text
Game.timer
ACTOR 2
Create rule
IF Device.accelerator is greater then 10
Timer rule
every 1 sec
Change attribute
Game.timer TO game.timer-1
Create rule
IF Device.accelerator is less then 10
Change attribute
game.timer TO 600
Create Rule
IF game.timer = 0
Unlock lvl attribute