Skip to content

Instantly share code, notes, and snippets.

@md-5
Created July 13, 2012 07:32
Show Gist options
  • Select an option

  • Save md-5/3103393 to your computer and use it in GitHub Desktop.

Select an option

Save md-5/3103393 to your computer and use it in GitHub Desktop.
while true do
-- press the up and right buttons for player 1
joypad.set(1, { up=1, right=1 })
-- press the down and left buttons for player 2
joypad.set(1, {down=1,left=1})
-- next frame (replace FCEU by snes9x or gens)
FCEU.frameadvance()
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment