• We have added Language Translations for French, Italian and Spanish menus, you can change your language at the bottom of every page, bottom left in the footer.
  • Spanish (Español, Latin American) translations have been added for the Forums and Resource Manager (Downloads). You can change your Language Here!

Nudge Pause

JonPurpleHaze

Site Nudger
Staff member
Here's what I use for my 360 degree tilt mech for Flop-House Bagatelle. You need a timer called NudgeTimer with an interval set to 1200. and a variable DIMed for GameIsOver and you also need one for nudstr.
Put the following in your keydown sub.

Code:

If keycode >70 and keycode < 82 then
if GameIsOver=False and NudgeTimer.enabled=False then
if keycode = 71 then nudge 315, nudstr
if keycode = 72 then nudge 0, nudstr
if keycode = 73 then nudge 45, nudstr
if keycode = 75 then nudge 270, nudstr
if keycode = 77 then nudge 90, nudstr
if keycode = 79 then nudge 225, nudstr
if keycode = 80 then nudge 180, nudstr
if keycode = 81 then nudge 135, nudstr
nudgetimer.enabled=true
End If
End If

Then create this subroutine seperately:

Code:

Sub NudgeTimer_Timer()
nudgetimer.enabled=false
End Sub

And finally, in your table_init, add this:

Code:

nudstr=2 'Change value of 2 to however powerful you want the nudge mech to be

Now, with this system, you can't physically "tilt" the machine, but it will create a 1.2 second pause between your ability to nudge the table.

Updated Jun 22, 2005 Written by Kinsey
 
General chit-chat
Help Users
  • No one is chatting at the moment.
    Top