Auto-Fights
A downloadable game
Build. Design. Fight.
You are part of a robot manufacturing company and you need to make the most solid fighting machines possible.
Design some and fight some other peeps idk. The sky's the limit.
GitHub page coming soon with all of the scripts.
but right now robots accept .txt files with commands separated by ';'
Here are all the commands used in the game, every command is followed by "/seconds" to indicate how many seconds you would like to perform the move for. Seconds must be a number, but it can also be a decimal.
---------------------------------------------------------------------------------------------------
BASIC ACTIONS: walkforward/seconds walkback/seconds jump/seconds jumpforward/seconds jumpback/seconds crouch/seconds
STANDING ATTACKS: jab/seconds; overhead/seconds; kick/seconds; highkick/seconds;
CROUCHING ATTACKS; crouchjab/seconds crouchaa/seconds crouchsweep/seconds crouchslide/seconds
JUMPING ATTACKS: airjab/seconds jumpjab/seconds airoverhead/seconds jumpoverhead/seconds airkick/seconds jumpkick/seconds airdropkick/seconds jumpdropkick/seconds
SPEICAL MOVES: fireball/seconds dragonpunch/seconds spinkick/seconds
BLOCKING/GUARD: block/seconds crouchblock/seconds
GRAB/THROW: grab/seconds
CONDITIONALS: if c, ___; ifelse c, __, ___; Fill in the blanks with the commands above.
c is the condition.
CONDITIONALS:
if (statements seperated by commas) , (action)
ifelse (statements seperated by commas) , (action1 if true), (action2 if false)
Statements for if:
ohit
owalkf
owalkb
ocrouching
oairborne
oatk
distgtX
distltX
distlcX <-- dist lest than left corner
distrcX <-- dist less than right corner
oblock
healthleftX
ohealthleftX
SAMPLE A.I. CODE:
ifelse ohit, jumpoverhead/1, fireball/1; ifelse distgt5, walkforward/2, block/1; ifelse oblock,crouchjab/1, spinkick/1;
Heres the repo to the game if anyone has additional questions about commands:
https://github.com/CBColleg3/AutoFights/blob/main/Assets/CommandListActions.cs
Status | In development |
Author | SpaceGames3 |
Genre | Fighting |
Tags | artificial-intelligence, ascii, Internet, Retro, Robots |
Download
Click download now to get access to the following files:
Leave a comment
Log in with itch.io to leave a comment.