the problem is the function get_ball_tile(), it returns sometimes bad data. I'll rewrite this function.
With -exx compiler switch enabled I'm discovering many errors in my code (the most part are related to bad control of array's bounds). I'm currently working to fix these problems. I think that bad array bounds may cause also teleporting of players that some have noticed.
Thank you again for you tips. Comments are always welcome.
Hi everyone, from the link below is available the last version of JASC (0.23): http://www.pittographic.com/wp-content/ ... SC_023.tar
New features added:
· Aftertouch (beta)
· Main menu a little more user-friendly
· a little speed up on the gameplay
…more info in the readme.txt file
I am glad that you continue to work on the project.
I think that arcade games like yours better controlled using the joystick. In FreeBasic function GetJoystick
And I'm still waiting for the moment when you make functionality: career management. :)
Main new feature:
· Joystick input - The Joystick, if connected may be recognized by the program and selected as input control. It works better with analogue Joysticks.
Hi everyone,
thank you for your interest.
Pittographic.com is down but you may download the last release from this link below: https://www.dropbox.com/s/qk8omyheovg9d ... _023_5.tar
My intention is continue on developing this project. Stay tuned.
Hi everyone,
Jasc Soccer is available from GitHub: https://github.com/Pitto/Jasc-Soccer
Version 0.24 - main new features:
· ball can hit net post
· enhanced debug
· custom font
@Pitto,
Downloaded your first version and although I don't know much about soccer the AI involved in soccer to produce a group behavior was of interest. I wasn't sure if your program is all AI or has a player input. Human soccer is complex but a simplified version can be found with Robot soccer. The main difference between a robotic soccer game and a simulated soccer computer game is the requirement of the robots to ascertain the position of themselves relative to other players, the ball and the goal using their sensory input. However the AI might have much in common.
@BasicCoder2
Thanks for your post. Jasc has a basilar form of AI, based upon tactic and pre-computed player's behaviour.
The tactic involves the way a player move himself when he is without ball, the behaviour has effect on the action that a player performs when has the ball. There's a behaviour's pre-computed table (_data/bhv.dat) based on the tile (from 0 to 34) where the player is over. For example, if the is in the X tile, has a choice of action to perform based upon a percentage (for example 15% pass to other player; 20% shoot on goal; 15% go ahead... and so on). At this moment –for debugging- some actions are disabled.
If the player shoots on goal another function returns the best angle of shoot based upon player's position, goalkeeper's position, and net's position.
In next software releases I wish implement a A* Algorithm to substitute the pre-computed table of behaviour, at the moment every player is blind, every choice when has the ball is statistically pre-computed.
I have to do little steps, I'm a beginner. Thank You for Your Feedback
P.S.
Robots that I saw in the video sometimes would deserve a yellow card. :)
Pitto wrote:I have to do little steps, I'm a beginner.
Well having just taken an interest in the subject I am even a smaller beginner :)
Thank you for the overall description of some of the ways you have used as allow the players to make decisions.
Hi everyone!
Jasc is still under development. 0.25 - new feature added: Team editor (beta), Skin color, Custom shirt kit https://github.com/Pitto/Jasc-Soccer
It is possible to edit & save player names, skin (3 kinds) & characteristics.