[Project OutFox Conversion] "CHESS??!?!?!??" (oatmealine & DPS2004)
Original file by oatmealine & DPS2004: tell me when a lineout is posted...
OutFox download: https://drive.google.com/file/d/1D6bn...
Notes: You've heard of rhythm games, now get ready for... chess
Requested by Jousway (via patreon)
Go check out oatmealine and DPS2004!
/ @oatmealine
/ @dps-2004
These people definitely make files.
I haven't posted a port in a long while, and I can't properly follow up *finorza*, so ya know what? chess time.
If I had a nickel for how many times I've torn out an ENTIRE TEMPLATE, I'd have 2 nickels, which isn't a lot, but it's absurd that it happened twice.
Simfile changes:
There's an SSC now, since I call mods.lua directly instead of template/main.lua
Visual changes:
Even with math.randomseed, the board dropping won't ever match up because newer lua changed how random is calculated
When the chess AI is thinking, a "Thinking..." message now shows up (so it doesn't look like Nothing is happening).
Internal changes:
I purged mirin template from the file, whoops. It's all drawfuncs and update functions + an input handler now
The AFT option will not appear if you are playing in OutFox a4, because I didn't feel like making two separate layouts depending on if you have ActorScreenTexture or not
Did a bit of restructuring to avoid creating globals
Sound effects replaced with Def.Sound
Made use of the engine-provided clamp function
Scaled positions and zooms
y2 isn't real, but have a wrapper state
Attempted better scaling of chess pieces
I abused lua's coroutine system to try and avoid having a HUGE lag spike while the chess AI thinks of what to do
- It sorta worked? It's now a massive fps drop, but it's not frozen and it doesn't think for too long, I think!
- It's a very rudimentary """""scheduling system""""", maybe
There are two UpdateFunctions: 1 for the intro where it """tweens""" the mods. This switches over into the second, funnier update function that actually controls the game
Used a red diffuse instead of a glow for some reason on the bad move text. I don't remember why?
I made a separate chess state to draw the pieces, but without allowing input. help
Attempted making the game work nicely regardless of which player you have
Have problems getting this to work, or want me to convert something to SM5 or OutFox? Let me know!
If you want to support me, I have a Ko-Fi and Patreon!
https://ko-fi.com/mrthatkid4
/ mrthatkid4