Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Simple Soccer Football Kit

Discussion in 'Works In Progress - Archive' started by Dipso, May 5, 2016.

Thread Status:
Not open for further replies.
  1. Dipso

    Dipso

    Joined:
    Jun 29, 2012
    Posts:
    82

    Simple Soccer Football Kit
    is a Unity asset, soccer starter kit, that makes it easy for you to create soccer games. It is primarily aimed at simple, action soccer games.


    The soccer kit is available for sale
    https://www.gojoentertainment.com/store/

    Please check the manual for setup instructions and upgrade guidelines.

    Please let me know if you have any questions or feedback.
    You can also email me at: diorgo@gmail.com


    Requires Unity 5.2.1 or higher.


    DEMOS
    Demos are available here:
    https://www.gojoentertainment.com/store/index.php/demos/


    FEATURES

    Easy to modify/add:
    • Teams. The kit has 8 teams, and the number can be increased (or decreased).
    • Players. Numerous player properties are available to edit.
    • Playing fields.
    • Soccer balls. There are 3 balls available: white soccer ball, bowling ball, beach ball.
    • It is also easy to replace the existing art assets with your own.
    Also:
    • Works on desktop, web and mobile.
    • Support for 2 players (not on mobile).
    • Various input methods (e.g. keyboard, mouse, gamepad, accelerometer, touch), and easy to add new ones.
    • 2 types of tournaments: Log based (e.g. leagues) and single-elimination.
    • Includes the source code.

    FAQ
    https://www.gojoentertainment.com/store/index.php/faq/


    FEEDBACK AND QUESTIONS
    Please provide any feedback and questions.
    You can also email me directly at: diorgo@gmail.com








    Camera positioned with the goal posts at the top and bottom:


    .
     
    Last edited: Aug 3, 2016
  2. Dipso

    Dipso

    Joined:
    Jun 29, 2012
    Posts:
    82
    I've added an Android demo and a PC demo to the first post.
     
  3. kittik

    kittik

    Joined:
    Mar 6, 2015
    Posts:
    565
    It's a fun demo, I really like it.

    Played 5 games -
    0 - 0
    0 - 1 (I scored an own goal to see what'd happen)
    0 - 0
    0 - 0
    0 - 0

    How easy do you find scoring a goal? I tried going around the keeper and shooting into the corners with no avail, but I might just be rubbish.
    I think a sprint button/gauge would be a nice feature, but not crucial.

    Congrats.
     
  4. Dipso

    Dipso

    Joined:
    Jun 29, 2012
    Posts:
    82
    Thanks for trying the game and the feedback :)
    At the moment the goalkeeper saves most of the shots. I will tone down his skill a bit (via a property in the inspector).

    I'll add an optional sprint button, which devs will probably only enable on desktop/web builds, because screen may be cluttered on mobile if there are 3 buttons. (But there might be a different solution for mobile.)

    I'll also give the player a small, short lived, boost when he gets the ball. (Which will also be an optional property on the player's component in the inspector.)
     
    kittik likes this.
  5. toto2003

    toto2003

    Joined:
    Sep 22, 2010
    Posts:
    528
    look very good, looking forward this kit :) , i think it would be helpful if there some auto select player that are the closest to the ball so i don t have to press each time the select player. and just focus on grab in the ball.
     
  6. Dipso

    Dipso

    Joined:
    Jun 29, 2012
    Posts:
    82
    Thanks toto2003 :)
    I'll update the code to auto select the nearest player whenever an opponent gets the ball. Also when the ball stops moving.
    I thought I had done that, but looking at the code now, I realise that it only selected the nearest player under certain conditions :)
     
  7. Cartoon-Mania

    Cartoon-Mania

    Joined:
    Mar 23, 2015
    Posts:
    320
    Interesting

    You must choose one of two ways.

    realistic or fun

    I recommend FUN Style soccer
     
  8. twingames

    twingames

    Joined:
    Sep 17, 2015
    Posts:
    5
    Compliments, inform me when you release the asset...
     
  9. Dipso

    Dipso

    Joined:
    Jun 29, 2012
    Posts:
    82
  10. RavenOfCode

    RavenOfCode

    Joined:
    Apr 5, 2015
    Posts:
    869
    It looks cool, but all the browsers I tried kept saying I was using chrome... maybe try adding a webGL demo?
     
  11. Dipso

    Dipso

    Joined:
    Jun 29, 2012
    Posts:
    82
    Thanks @RavenOfCode :)
    I'll try to do a WebGL demo within the next 2 weeks. I don't have a 64-bit PC and will have to use a friend's.

    I've updated the web version.

    Updates include:
    - Auto select the nearest player when an opponent gets the ball.
    - Toned down the goalkeeper's skill.
    - New soccer ball, by Paul Lombard (https://pmlomb.wordpress.com/).
    - Team select menu goes to next screen when you click on a team.
     
    NeoUnity and RavenOfCode like this.
  12. Dipso

    Dipso

    Joined:
    Jun 29, 2012
    Posts:
    82
    Mixamo Free Animations

    For a limited time, Mixamo's animations are available for free.
    You can use them in your commercial games, but not in Unity assets sold on the Asset Store (because FBX files and animations are exposed in a Unity project).
    I'm currently using some of their animations in my soccer kit, but I will replace them before I release the kit.
    I suggest you get the animations before the free period ends. So that you can use them in your soccer games.

    Soccer animations:
    https://www.mixamo.com/store/#/search?query=soccer

    Explanation of their license agreement (read through all the posts):
    https://community.mixamo.com/hc/en-...censing-Royalties-Ownership-EULA-TOS-Open-Q-A

    .
     
    RavenOfCode likes this.
  13. Dipso

    Dipso

    Joined:
    Jun 29, 2012
    Posts:
    82
    I've updated the demos.

    Updates
    • Sprint button. Hold down to sprint. Sprint lasts a short while and recharges when not used. Can be turned off in the Options menu.
    • Help popup that explains controls.
    • You can perform an action just before getting the ball. Only works for the playing being passed to.
    • Improved selection of which player to change to, when pressing the change player button.

    What I'm busy with
    • Tournaments.
    • Tweaks, fixes & minor updates.

    .
     
    NeoUnity, kittik and RavenOfCode like this.
  14. Der_Kevin

    Der_Kevin

    Joined:
    Jan 2, 2013
    Posts:
    517
    awesome! where can i get it? :)
     
  15. Dipso

    Dipso

    Joined:
    Jun 29, 2012
    Posts:
    82
    Thanks @Der_Kevin :)
    It will be available on the Asset Store and on my website.
     
  16. Dipso

    Dipso

    Joined:
    Jun 29, 2012
    Posts:
    82
    I've updated the web demo.

    Updates
    • Mini-map: Can be turned off in the Pause menu.
    • Some AI can change direction while sliding.
    • AI can sidestep a sliding opponent. They can not be tackled while they are sidestepping.

    Updates not visible in demo
    • Updates to the tournament system.
    • Added 4 options to the field properties to allow the ball to go out the field. Each is a distance the ball is allowed to go out on 1 of the 4 sides of the field (top, bottom, left and right). Example: An indoor field might have walls just outside the field's play area, but you want the ball to be able to go out, bounce against the wall and back into play.

    What I'm busy with
    • Tournaments.
    • Tweaks, fixes & minor updates.

    .
     
    kittik, Der_Kevin and RavenOfCode like this.
  17. Cartoon-Mania

    Cartoon-Mania

    Joined:
    Mar 23, 2015
    Posts:
    320
    when dribbling movement of the ball is unnatural ..

    You know what I mean? Dribbling should be little more natural.
     
  18. Dipso

    Dipso

    Joined:
    Jun 29, 2012
    Posts:
    82
    Thanks for feedback :)
    I'll tweak the dribbling to make it more natural.

    .
     
  19. Dipso

    Dipso

    Joined:
    Jun 29, 2012
    Posts:
    82
    I've updated the web demo.

    Updates
    • 4 tournaments: 2 log based and 2 single-elimination.
    • 8 teams, but you can only select 2. The others appear in the tournament as opponents.

    Please Note: The demo's tournament matches are only 20 seconds long, to show how the tournament system works. If you play in a match that requires a winner and it ends in a draw, then a random winner will be selected (e.g. final match or an elimination match). (In the non-demo version, if the scores are tied then the match goes into sudden death, and the first team to score wins.)

    What I'm busy with
    • Audio, particles.
    • Tweaks, fixes & minor updates.

    .
     
    RavenOfCode and NeoUnity like this.
  20. Dipso

    Dipso

    Joined:
    Jun 29, 2012
    Posts:
    82
    I've updated the web demo.

    Updates
    • Music and sound effects. There's default music for the matches, but each field can override the default music. Each field can also have ambient sounds.
    • Particles.
    • Goal celebration and own goal animation.
    • Game difficulties: easy, medium, difficult. Select the difficulty on the Team Select screen.
    • Camera tweaks.
    • Tweaked shooting.


    What I'm busy with
    • Tweaks, fixes & minor updates.

    .
     
    NeoUnity, kittik and RavenOfCode like this.
  21. Dipso

    Dipso

    Joined:
    Jun 29, 2012
    Posts:
    82
    I've added a smaller field which has fewer players on the field. Each field can override the default number of players in the team. The small field is not available in the demo.









    .
     
    kittik, NeoUnity and RavenOfCode like this.
  22. Dipso

    Dipso

    Joined:
    Jun 29, 2012
    Posts:
    82
    Release Date and Cost

    I aim to release the kit for sale on my website within the next few days, but no later than 3 June.
    I will also submit it to the Asset Store a few days after it's released on my site. If the Asset Store approval goes well then it should be available on the Asset Store in about 3-4 weeks (17-24 June).

    I would like to sell it for $50 as a release sale special, and possibly increase the price in the future. But I will only increase the price in the future if developers are willing to pay more for such a soccer kit.

    .
     
    NeoUnity, RavenOfCode and Der_Kevin like this.
  23. Der_Kevin

    Der_Kevin

    Joined:
    Jan 2, 2013
    Posts:
    517
    happy release day :D
     
  24. Dipso

    Dipso

    Joined:
    Jun 29, 2012
    Posts:
    82
    I'm busy finishing the website then I'll release it, in a few hours :)
     
  25. Dipso

    Dipso

    Joined:
    Jun 29, 2012
    Posts:
    82
  26. NeoUnity

    NeoUnity

    Joined:
    Sep 4, 2013
    Posts:
    156
    I have purchased it with only Paypal.
    It works well with its manual.
    Thank you for this nice asset :)
    =======================
    Edit) The comments in the scripts are detailed like its manual
     
    Last edited: Jun 4, 2016
  27. BillMES

    BillMES

    Joined:
    Sep 24, 2015
    Posts:
    1
    Purchased it too. Great kit.

    What I really love about the kit is the fun factor. Diorgo really has done a great job on it.

    I do hope, in a future update, a penalty showdown can be implemented when there is a draw match.

    Cheers!
     
  28. Dipso

    Dipso

    Joined:
    Jun 29, 2012
    Posts:
    82
    @NeoUnity and @BillMES
    Thanks for buying the kit, and the compliments :)
    I hope you enjoy using it.

    @BillMES
    I would like to include a penalty showdown.
    Please send me ideas for the penalty showdown.

    .
     
  29. mantekkerz

    mantekkerz

    Joined:
    Dec 24, 2013
    Posts:
    111
    Would like to see how a WebGL demo performs. Also options for what happens when a game ends in a draw. Maybe options such as Golden Goal, Extra Time + Penalties. Looks like a decent base for a game so I may pick it up in the future.
     
  30. Dipso

    Dipso

    Joined:
    Jun 29, 2012
    Posts:
    82
    Thanks for the feedback @MattMurphy.
    I've only now managed to get hold of a 64-bit PC, in order to do a WebGL build.
    If everything goes well then I'll do a WebGL build and upload it within the next few days.

    When a game ends in a draw then it goes into sudden death, with the time running indefinitely. The team who scores first wins the match.

    I will add additional options:
    • Extra time without golden goal, which goes to penalties if still a draw after extra time.
    • Extra time with golden goal, which goes to penalties if still a draw after extra time.
    • Penalties with no extra time.

    .
     
    NeoUnity and mantekkerz like this.
  31. Mol20K

    Mol20K

    Joined:
    Jun 23, 2014
    Posts:
    21
    Used purchased the kit and it looks very good. The manual is very clear and i got it running on my iOS device within a few minutes. Looking forward for the penalties.
     
  32. Dipso

    Dipso

    Joined:
    Jun 29, 2012
    Posts:
    82
    Thanks for the support and feedback @Mol20K.

    .
     
  33. Dipso

    Dipso

    Joined:
    Jun 29, 2012
    Posts:
    82
    Top Down Camera
    I did a test with the a top down camera, to recreate a view similar to the old school soccer games (such as Microprose Soccer and Sensible Soccer).








    In the next released update I will include a top-down camera prefab.
    In the meantime, if you want to test it in the kit, you can change the properties of the following 2 objects:
    Match Camera prefab. Change the properties to look like this:


    camera start position game object in the field scenes. Change the rotation to look like this:


    .
     
    Last edited: Jun 6, 2016
    NeoUnity likes this.
  34. Dipso

    Dipso

    Joined:
    Jun 29, 2012
    Posts:
    82
    Progress update
    I did a WebGL build, but had to delete the audio to get it to work. When switching to WebGL in Unity 5.3 it fails to import some audio files. I'm trying to find out why. I'll upload the WebGL demo as soon as I find out why the importing is failing.

    I'm also busy with the icon and graphics for the Asset Store.

    In the meantime, here's a video of a test I did with the top-down view and a pixel shader, for a gameboy look.



    Used this shader for the test: https://www.assetstore.unity3d.com/en/#!/content/16314

    .
     
    BillMES and NeoUnity like this.
  35. Dipso

    Dipso

    Joined:
    Jun 29, 2012
    Posts:
    82
    NeoUnity likes this.
  36. twingames

    twingames

    Joined:
    Sep 17, 2015
    Posts:
    5
    Hi buyed this fantastic kit and release my game that i will update next week.

    Download Android: http://bit.ly/toonsoccerleague


    This kit is amazing, i'm interested also into the pixel version when you will update.

    My best regards
     
  37. Dipso

    Dipso

    Joined:
    Jun 29, 2012
    Posts:
    82
    Congrats on the release of your game :)
    I wish you all of the best with it.

    You can set up the pixel version with the kit you have. I'll send you an email to explain how to set it up.

    .
     
  38. Dipso

    Dipso

    Joined:
    Jun 29, 2012
    Posts:
    82
    I've uploaded the WebGL demo:
    http://www.gojoentertainment.com/simple_demo/webgl/index.html

    Some notes:
    It may take a while to load the first time (depends on connection speed).
    The performance varies on different machines.
    On a laptop, Windows 8, latest Firefox/Chrome, the frame rate is about 10 fps (with and without audio).
    On a PC, Windows XP, latest Firefox, the frame rate is about 30 fps, but audio does not work. I also tried building a test project containing a single scene and playing sound effects, but the sounds still do not work. Firefox gives an encoding error. It seems like Unity/Firefox WebGL audio does not work on Windows XP.


    In case anyone else has audio issues with their Unity WebGL projects:
    “Tricks” I had to do to get the audio to work, building on a Windows 8 machine (based on what other people tried who had audio issues):
    • Changed the modified date of the audio files. You can use a batch file, or open them with Audacity and re-export them.
    • Added silence to the end of one of the sound effects (about 100 ms). The sound caused the editor to freeze when it tried to import the sound. Possibly the editor (Unity 5.3.4 & 5.3.5) has a bug when trying to import short sound effects for WebGL. I'll include the modified sound in the next update, but you may still experience the bug when you use other sound effects.
    • Changed the audio files' default “open with” program to VLC. Not sure if this actually helped, but it did seem to allow the editor to import more audio than before for WebGL.

    .
     
    Last edited: Jun 11, 2016
  39. Dipso

    Dipso

    Joined:
    Jun 29, 2012
    Posts:
    82
    Progress update
    Just over a week ago my PC's motherboard gave in. The whole process of trying to fix it without any luck, then deciding to move all my work over to my mac, took a few days. I'll need to get a new PC/motherboard.
    I'm now back to working on the kit, specifically the icon and graphics for the Asset Store, and small tweaks and fixes.

    I've also been in discussion with some of the devs who bought the kit, and added a few suggestions they had, which include:
    • Option to pass the ball to the position of the mouse cursor.
    • Each player has a different marker beneath them, based on their position (e.g. defender, midfielder, forward).
    • Helper class to change the button images on all the menus.

    .
     
  40. Dipso

    Dipso

    Joined:
    Jun 29, 2012
    Posts:
    82
    Update
    The last few weeks I had to spend most of my time working on another project, leaving me very little time to update the soccer kit.
    Hopefully I'll have more time for updates within the next 2-3 weeks.

    .
     
    NeoUnity likes this.
  41. razor_rio

    razor_rio

    Joined:
    Aug 1, 2016
    Posts:
    1
    I have purchased this asset from the author's website.

    I have to say that it is an excellent asset that does amazing job and fits the game that i'm working on.

    The author also very quick to respond to questions and provides outstanding support.
     
  42. Dipso

    Dipso

    Joined:
    Jun 29, 2012
    Posts:
    82
    @razor_rio
    Thanks for buying the kit, and for the compliments :)

    .
     
  43. Dipso

    Dipso

    Joined:
    Jun 29, 2012
    Posts:
    82
    Version 1.0.1 is available

    Version 1.0.1 of the soccer kit is available:
    https://www.gojoentertainment.com/store/

    If you bought the kit from my website (before the release of the update) you should have received an email with a link to the update. If not, please email me and I'll send you a link.

    Release notes for v 1.0.1:

    Camera:
    • Can be positioned on any side of the field, changing the direction of the match. Example: Default goal posts are on the left and right side, but they can be set to be at the top and bottom. This is set via the “Play Direction” and “Follow Offset” properties on the camera.
    • Added additional match camera prefabs for the combinations of: side view, top down view, and the different sides of the field.

    Control markers per player position (optional). Example: The defender's control marker can look different to the midfielder's control marker. These are set on the Match Prefabs prefab.

    Added fake shadows (optional). This is mainly for performance reasons on mobile devices. The default shadows are each a simple quad with a texture. It can be set per team or per player, and also for the ball. Shadow prefabs are located in the folder: SimSoc\Prefabs\Shadows

    UI helper script to change all the button images on menus: Scripts\UI\Helpers\SsChangeButtonImages.cs

    Mouse input: Option to pass to mouse position.

    Fixed some of the audio to work with WebGL.

    Players:
    • Added property TackledAngle. Can be used to determine from which direction a player was tackled.
    • Changed private variables to protected.
    • Changed most methods to virtual.

    Teams:
    • Changed private variables to protected.
    • Changed most methods to virtual.

    Balls:
    • Changed private variables to protected.
    • Changed most methods to virtual.

    Camera positioned with the goal posts at the top and bottom:


    .
     
    Cartoon-Mania and NeoUnity like this.
  44. Dipso

    Dipso

    Joined:
    Jun 29, 2012
    Posts:
    82
    Android demos
    I’ve updated the Android demo.
    Also added an extra version which should work on Android 2.3.1 (“Gingerbread”) and higher.
    I was only able to test the 2.3.1 version on my device, which has Android 4.4 installed.
    If anyone has issues with installing on Android, please let me know.

    https://www.gojoentertainment.com/store/index.php/demos/

    .
     
  45. Cartoon-Mania

    Cartoon-Mania

    Joined:
    Mar 23, 2015
    Posts:
    320
    I am looking forward to the asset store version

    and I want to know your plan.. Can you tell me a road map?
     
  46. Dipso

    Dipso

    Joined:
    Jun 29, 2012
    Posts:
    82
    @Cartoon-Mania
    Thanks for your interest in the kit.

    Here's my plan and road map.
    31 Aug: Finish painting icon. Replace 2 music tracks*. Submit to Asset Store.
    30 Sep: Penalty shootouts.

    Features I would like to add, but have no specific dates yet:
    • Additional tournaments modes, such as World Cup, UEFA European Championship, etc.
    • Option for player to use the other foot via a mirrored animation (e.g. weaker foot with different accuracy for passing and shooting).
    • Fouls, offsides, etc. These will all be optional settings.
    • Multiplayer. This is a true wish list item I'll add if enough developers request it.
    • Other features requested by developers.

    *I would like to replace the 2 music tracks with my own. The current ones are public domain, but they are famous classical tracks which might get rejected by the Asset Store.

    .
     
    Cartoon-Mania and NeoUnity like this.
  47. Dipso

    Dipso

    Joined:
    Jun 29, 2012
    Posts:
    82
    Icon WIP











    .
     
  48. twingames

    twingames

    Joined:
    Sep 17, 2015
    Posts:
    5
    hello diorgo,
    when you think you will release new update of this game?
     
  49. Dipso

    Dipso

    Joined:
    Jun 29, 2012
    Posts:
    82
    Hi @twingames
    Apologies for the delay with updates.
    The past few weeks I had a series of work deadlines, which left little time to work on the soccer kit.
    I’ll release updates as soon as I’m able to.
    .
     
  50. Dipso

    Dipso

    Joined:
    Jun 29, 2012
    Posts:
    82
    NeoUnity likes this.
Thread Status:
Not open for further replies.