Code Monkey home page Code Monkey logo

gameplayfootball's Introduction

Gameplay Football

Football game, discontinued

*update: vi3itor has forked this project: https://github.com/vi3itor/GameplayFootball; "The goal of this repository is to update the existing code, based on Google Brain's changes (see google_brain branch) and other forks, and make it compiling and running on as many platforms as possible. PRs are always welcome."

In short, this game has pretty good potential gameplay-wise, but has architectural problems regarding the code. I would advise you not to continue development, but rather use the source as inspiration for your own game. There's some pretty useful excerpts of code in there that may help you develop your sportsball game! Another thing, this game uses my own multithreaded game engine (Blunted2), and no matter how cool that may sound, using a badly tested and undocumented engine just slows down development. Besides, a football game doesn't need to be that multithreaded, it just needlessly complicates things.

  • I don't offer support for this, so enjoy it but leave me alone ;)
  • Project dir .tar.gz including images, models and such is located at http://properlydecent.com/data/gameplayfootball/
  • This game uses my game engine Blunted2, which you can find here https://github.com/BazkieBumpercar/Blunted2
  • Compiling can be a beeyatch, regarding includes/libs and such. I'm always having trouble with that too (as you can see from my messy Makefiles), so you're on your own here, just fiddle around until it works :P EDIT, thanks to Farrer, there's now a set of CMAKE files to help you with compilation!
  • You can download the public beta binary from my website @ http://properlydecent.com

I may add some in-depth explanations about various interesting pieces of code in this project later on, in this very readme. Enjoy!

Donate

Consider a donation to my Bitcoin address 1JHnTe2QQj8RL281fXFiyvK9igj2VhPh2t

Thank you :)

gameplayfootball's People

Contributors

farrer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gameplayfootball's Issues

Draw text over a texture

Not really an issue, but there is a way (or an idea) to draw a text (using fonts) over a rendered texture? I'd like to draw player name and shirt number on the back of the shirt.
(Already search all over the web, so if you had same problem in the past could be very useful to share the solution, otherwise it will take some time to solve it)

how rule-based AI works

Hi BazkieBumpercar, your work is introduced in Google Research Football. Google trains a lot of AI to challenge your rule-based AI, but can not defeat your hardest AI. How do you design your rule-based AI, is there some papers or blobs?
Thanks~

designatedPossessionPlayer v.s. ballRetainer

Hi BazkieBumpercar,
In the match.cpp, there are two variates: "designatedPossessionPlayer" and "ballRetainer", it seems they are all mean the player who controll the ball. Is there some diffenence between them?
Thanks a lot~

Questions about the project.

Hello everybody ! I have some doubts I know that I may not be able to answer because the project is already open source and already making all work available, I wanted to know which tool you used to be compiling and developing? and about 3D modeling characters which program do i use to be implementing in the game? I want to modify the controls as well as the kick delay and I wanted to know all the information I can.
I appreciate the attention and full support
Christopher
TINUX

About player direction

Hello!
Could you plz tell me that the graph below is correct for play direction calculation?

Selection_001
........
info.player_direction =
(movement / GetGameConfig().physics_steps_per_frame).coords;
........
if not,plz tell me the corrent answer!Thank you very much indeed!!!

width depth mistake?

In src/onthepitch/teamAIcontroller.cpp
line 356 - 359
···
float backXBound = centerX - adaptedDepth * pitchHalfW * -team->GetSide();
float frontXBound = centerX + adaptedDepth * pitchHalfW * -team->GetSide();
float lowYBound = centerY - adaptedWidth * pitchHalfH;
float highYBound = centerY + adaptedWidth * pitchHalfH;
···
Is "adaptedDepth" should corresponding to "pitchHalfH" and "adaptedWidth" corresponding to "pitchHalfW"?

Small typ0 and CMake build

First, thanks for releasing the source code, it is a great step (I hope that should help new football projects in the future).

I known you don't want to work on it, but a quick fix: at elizacontroller.cpp, line 24, there's an extra '{'.

Also, I've created a CMake configuration (both for it and for the Blunted2) for build, if you want, I can make a pull request with that (although I didn't test on anything besides linux, as I don't have a windows machine).

That's it, I do not plan to work on the code, it's just to make the compilation easier for anyone that want to try it directly by code compilation (the precompiled binary, for example, won't work for me as it depends on pulse-audio which I do not use on my Linux, thus the need to recompile to being able to run it).

Anyway, again, thanks a lot for it!

Move to another engine

Hello! I was wondering if you would have any ideas-advice-guide of how I can pass the game for example to GODOT or unity or unreal

I can't find any header files

Hi I can't find any header files from archive. For example, (shared_ptr.hpp , condition. hpp ) I think these files are part of Blunted2 engine. Can you help me:)

How Pass Command works?

In this football game, when you want to pass the ball to your team mate, you can generate a 'pass' command. For example, when a player A pass the ball to his team mate B, how B know this? so B can stay where he is or go to right place to take this pass?
Thanks~

fastapprox.h and function curve

Hi BazkieBumpercar,
There is a function called "curve" shows many times in the code, but I can not find its definition. It seems come from fastapprox.h, but no this file included.
Could you give the definition of this function "curve"?
Thank you~

Making my own adaption based on this code

Hey @BazkieBumpercar

Ik zou graag deze coole open source game willen omtoveren tot een steam game met het community systeem van de game CounterStrike: Global Offensive. Om het hele idee van FIFA "Pay to win" te elimineren. Is het okay als ik deze code neem en daarop voortborduur?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.