Small update: UI polish and code cleaning.
Little update: Added random skin/hair colors, and possibility to change teams' shirt color...
What's new: Less bugs, more sfx!
I consider it done unless you prove me wrong! (I still have a few tokens left ;D)
C&C are welcome as usual...
- 0.8.1 quick fix to 0.8 ball teleportation bug
- Some sfx thanks to Pizza
- Better controls (ball stickyness, tackle effectiveness, ...)
- Game integrated in the menu
- Game timer, side changing, etc...
Still working on AI, sfx and debug...
A soccer game inspired by kick-off and sensible soccer. (A friend told me it's actually football, but nevermind...)
The controlled player has a grey cursor around him.
When the ball is close enough to the player so that he can shoot the cursor turns yellow.
When the ball is even closer the cursor turns orange and the player is in control of the ball : its movement impact the direction of the ball (he's dribbling.) But beware, the ball will never stick to the player!
When the cursor is orange or yellow, the player can pass to a nearby teammate with a short a_button press.
A longer press will trigger a shoot when released (the longer the press, the stronger the kick)
When not in range of the ball (grey cursor) a a_button press will trigger a tackle.
Moving the player during corner or goal kick allows to control the kick direction and power.
AI is stupid, I'll try to improve it in further versions.
There's no fouls, penaltys, yellow/red cards. As tackling isn't super effective (and I'm short on tokens:D) I don't think they're worth implementing.
I hope you'll enjoy it and C&C are welcome!
You know, you can easily get some tokens at the cost of readability by replacing all no parameters, (), function calls with "". Because () costs two token and strings are always one token. So for example
Obviously it works only for functions with no parameters and only in function calls and not in function definition (so you can't do something like function do_something"" end). Hopefully this tip will let you shave enough tokens to implement this. If not - or if you're already shaving tokens this way, ability to set teams' shirt colors to whatever color you want is a cool idea too!
Actually! It turns out Pico-8 does have 4 player support built into it now, so you could totally make a mode where there's two controllable characters on each team, if you have any tokens left for that kind of shenanigan at all...
It just requires gamepads, apparently. I didn't realize.
Another discovery via the Lucky Draw. I had a lot of fun with this. It's cool how when you start a game the players all return to their starting positions. The 'stupid' AI was more than a match for my complete lack of talent. :)
There was some odd times where I was given a corner instead of a goal kick, but other than that, really cool, smooth game.
[Please log in to post a comment]