Post subject: FCEUX lua script help
Baka94
He/Him
Joined: 2/17/2014
Posts: 39
Location: Finland
Does anyone know where I can find FCEUX lua script tutorial? All I can find is sample scripts and videos using the scripts. I'm trying to make a hitbox script for Getsu Fuuma Den if anyone happens to ask.
MainLoop: NOP LDX #$01 STX main_loop_done VBlankWait: LDX main_loop_done BNE VBlankWait JMP MainLoop
Site Admin, Skilled player (1236)
Joined: 4/17/2010
Posts: 11264
Location: RU
I don't think there's any tutorial on that. You just open someone's script and try to understand how it's done. Then you do your own. But there's a guide about lua language itself: http://www.lua.org/manual/5.1/
Warning: When making decisions, I try to collect as much data as possible before actually deciding. I try to abstract away and see the principles behind real world events and people's opinions. I try to generalize them and turn into something clear and reusable. I hate depending on unpredictable and having to make lottery guesses. Any problem can be solved by systems thinking and acting.
WST
She/Her
Active player (442)
Joined: 10/6/2011
Posts: 1690
Location: RU · ID · AM
Here is a tutorial for Gens, it still may be useful, just replace “gens” with “emu”. http://ystc.ru/gens-lua.html
S3&A [Amy amy%] improvement (with Evil_3D & kaan55) — currently in SPZ2 my TAS channel · If I ever come into your dream, I’ll be riding an eggship :)
Site Admin, Skilled player (1236)
Joined: 4/17/2010
Posts: 11264
Location: RU
Warning: When making decisions, I try to collect as much data as possible before actually deciding. I try to abstract away and see the principles behind real world events and people's opinions. I try to generalize them and turn into something clear and reusable. I hate depending on unpredictable and having to make lottery guesses. Any problem can be solved by systems thinking and acting.