Welcome, Guest! Login | Register
Carball - My '1 week challenge' game
Info
Report
24 Posts

Good day, everyone!
I have spent my last week focusing on making this game to join a local game design competition. This is what it comes.

Carball
A game where you play soccer using your car. The game was pretty similar to the ones Grimbarian has made, as far as I remember.

Screenshot




Features
- Complex (still stupid) AI behavior with multiple decision
- Spectator Mode, to enjoy seeing how the AI play each other

Mode
- Slippery Tires: This mode will set every car's grip to 1, making it slippy and harder to control. AI will be likely to struggle too.
- Grippy Tires: This mode will set every car's grip to its default value (6.5 and 10), making it grippy and easier to control. AI is more competent in this mode.

AI Behavior
- They will try to pass the ball as long as they see their teammates in front. That includes if their teammate is in front of their own goal.
- Teammates will set their position into near opponent's ring to be ready to be passed, or will try to protect the carrier (the one who has the ball) by smashing themselves into the opponents.
- Teammates will run to protect their ring or chase the opponent (who has the ball) if the opposite team has the ball.

Download
Default : https://goo.gl/A35Ymr
The Light version: https://goo.gl/Kmcreo

Issues
- The game randomly crashed. Advice needed!
- In the main menu, the cursor is gone when you run the game on fullscreen. Advice needed!

Update 1 (Nov 10, 2018):
- Added force to roll a car, in case it was upside down. I didn't use RESET function because it would be cheating to suddenly respawn in front of the ring while the opponents were trying to make a goal.
- Changed text at the end of the game.
- Now the car wheel max angle is 80, to make it easier for the AI.

Update 2 (Nov 11, 2018)
-) Removed Multiple Camera angles on Spectate Mode. Now you can look around by mouse.
-) Added 1-second delay to AI before they shoot to prevent passing the ball back after being passed on.
-) Reassigned Hotkey.

Update 3 (Nov 12, 2018):
-) Fixed restart not working correctly.
-) Fixed AI didn't shoot the ball (they actually did, but the ball got stuck again).
-) Fixed AI path that makes them turn around instead making a goal.

Update 4 (Nov 14, 2018):
-) AI now performs well at stealing the ball.
-) Added camera function to follow Car Orientation.
-) Added EventTimer to disable EventOnContact to prevent resetting the AI behavior whenever the ball touches on the same car.
-) Removed a feature where the ball would detach after being smashed. This feature causes an unstable performance and now my game rarely crashes on my laptop. Sorry.
-) Changed joint type from fixed to ball.
-) Ball no longer glitches through the car.
-) Fixed some joint on blue team placed wrong.
-) Fixed exit to main menu button not functioning in the light version.
-) Fixed the issue on Red Team that the ball orientation didn't follow the carrier's direction when it shoots, causing the ball to move in the wrong direction.
-) Fixed the issue on Blue Team that some cars are unable to shoot.
Created on: 1 month ago
Edited on: 3 weeks ago
Info
Report
137 Posts

Holy hell this is a really fun game! You did a really good job with this one!
I also tried to create a car football game a few months ago, but that was made in Unity, adn was multiplayer, but its abadoned at this point, sadly. Maybe one day Ill continue it. But this one, its even better, the AI is really good!

You can create a sprite, change its texture, and there is a tick box in the properties, something like "Use as mouse cursor". If you enable that, the texture will be used as your cursor.

Some other bugs I noticed:
- After you win, the [R] Restart button wont do anything
- Sometimes when picking up the ball, it glitches a bit into you

Other than these issues, its a really good game! I like it a lot :P
Created on: 1 month ago
Edited on: 1 month ago
Info
Report
213 Posts

First off, great job for managing to make this game in 1 week. I am not particularly interested in soccer, but I am always open to try games that the community makes.

Before I go any further, I just want to say that all of the following criticism is not meant to offend you in any way, but to rather help you in future projects. I know how it feels to be criticised by people that don't know a single thing about the development process and only pretend to know how to criticise. In the end, I am a developer myself and I don't easily manage to make a game in 1 week (it usually takes longer for me). So yeah, whilst writing this, I have in mind that this is a 1 week game.

1. Mouse cursor
First problem is that you probably didn't test your game after compilation (or at least not in fullscreen). Because there's a dead obvious issue when you launch the game in fullscreen - there's no mouse cursor. This not anything complicated to fix and is just a matter of always testing your game after compilation.

2. Car reset
Would've been nice if you can reset the car if it's upside down. In such a fast paced game, the player has to be able to maximize their activeness. Not sure if you made it so AI will try to help you, but relying on someone else to help you whilst you have nothing else to do is probably not a good idea. For this short period of time, you could've just reset the car to its initial position on key press.

3. Controls
Makes more sense for the ball shoot to be triggered with Space, instead of LCtrl. The brake trigger is kind of redundant in this game type.

That's all I will say for a 1 week game. Again, I absolutely consider the fact that it's in short period of time. I won't criticise on polish simply because there's usually no time for that.

You have a good AI though. I noticed they do actually try to aim at the opponent's door. And also, I really liked how they defended their own when the ball was in me (I hope this is not just a coincidence).

Anyways, great job with this game
Created on: 1 month ago
Info
Report
8 Posts

Well done on doing it in a week, Grim and I spent months on ours and never got a properly finished product (mostly as I didn't have the skills to make an effective AI at the time). Fix the issues in the comments above and get it out there for everyone to see.
BTW - still here, just quiet
Created on: 1 month ago
Info
Report
246 Posts

@kompaktive  your fixfor the the full screen mouse cursor is just to add a mouse sprite to your project and be sure to check the box "[ ]work as a fullscreen mouse pointer" and forget about it, 3drad will only show that mouse sprite when in full screen as the mouse pointer, no need to script mouse movement either.
Created on: 1 month ago
Info
Report
24 Posts

Thank you all very much. Those advice and critiques really helped me a lot. Anyway, I would like to know:
-) Did the game crash often?
-) Is it laggy?
-) How was the loading speed?
Created on: 1 month ago
Info
Report
24 Posts

just updated the game. For the unknown reason, the EventOnInput default hotkey always overwrites ConfigureControl's one. ConfigureControl doesn't work on multiple projects. But it does work flawlessly if I play directly (without the main menu). Does anyone know what causes this?
Created on: 4 weeks ago
Info
Report
137 Posts

- No, the game did not crash once, but that was surely because of my PC, not the game being unstable.
- Its not laggy, its very smooth, once again because of my PC.
- Once again, its was like 5-10 seconds because of my PC.
Created on: 4 weeks ago
Info
Report
246 Posts

@kompaktive I think you missed a point.. the eventon* objects didnt "overwrite" the configure controls, they work together, they are not designed to have separate key input lists.

The configure controls define what keys the project and event on input can select from.

In script you can define what ever key input you want to use in your script, but script cant change the configure controls input or event on input defined key.
Created on: 4 weeks ago
Info
Report
137 Posts

I tried out the new version, its pretty cool but somehow its more unstable now. I also found a bug, that after you shoot the ball, you still have the ball speed penalty, while everyone else just runs away. Maybe make the effect last for a much shorter time or remove it, and it will be perfecto!
Created on: 4 weeks ago
Sponsored