summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-08-11fixed wall avoidance at top and bottomFlorian Jung
OAR math, OAR.
2015-08-11Fixed locking onto moving cells as foodSpitfireX
I totally forgot to account for moving food, derp.
2015-08-11Changed input locking controlsSpitfireX
instead of two separate toggles S now cycles through the different lock combinations.
2015-08-11Fixed render order and added bot input lockingSpitfireX
- the render order is now strictly food < cells(small -> big) -> viruses(small -> big) - added the option to lock the bot input (b key)
2015-08-11Some minor changesSpitfireX
- increased the detection radius for possible threats - removed some unnecessary conditions which lead to some buggy behavior - changed the default resolution (again... maybe it's better)
2015-08-11Fixed the jerky target selectionSpitfireX
The cell now locks onto a target and tries to reach it. This target can either be a source of food or a random point (in case no food is around). The locked target only gets reset when the cell has to flee.
2015-08-11Merge branch 'master' of github.com:Windfisch/agario-frickelFlorian Jung
2015-08-11draw forbidden directions (debug output)Florian Jung
2015-08-11draw_arc() now takes radians, not degFlorian Jung
2015-08-11avoid walls when fleeingFlorian Jung
2015-08-11Fixed draw_circle for global coordinatesSpitfireX
2015-08-11Merge branch 'master' of github.com:Windfisch/agario-frickelFlorian Jung
2015-08-11Added draw_arc to gui.pySpitfireX
2015-08-11avoid viruses when fleeing and when to fatFlorian Jung
2015-08-11Nope.SpitfireX
Nope.
2015-08-11Merge branch 'master' of https://github.com/Windfisch/agario-frickelSpitfireX
2015-08-11Some more gui.py improvementsSpitfireX
2015-08-11Merge branch 'master' of github.com:Windfisch/agario-frickelFlorian Jung
2015-08-11update agarnet to new protocol versionFlorian Jung
2015-08-11stuffFlorian Jung
2015-08-11smarter runawayFlorian Jung
2015-08-11Added more debug drawing optionsSpitfireX
2015-08-10Added basic statisticsSpitfireX
- added a new stats module - added mass and position tracking to the current cell logic
2015-08-10Made default window size better line up with the actual vision rangeSpitfireX
2015-08-10Added some clearer console outputSpitfireX
2015-08-10Viruses are friends, not food!SpitfireX
Cell logic now ignores viruses as sources of food!
2015-08-10Extended cell logicSpitfireX
-if not fleeing the cell now seeks the nearest source of food - if not fleeing and no food is around the cell randomly spazzes around (needs to be improved lol)
2015-08-10Made input locked by default and some cleanupsSpitfireX
- "lock movement" has now become "lock input" and input is locked by default - tried cleaning up global variables in gui.py (partially successful)
2015-08-10Enhanced virus renderingSpitfireX
viruses now have an outline
2015-08-10first bot stuffFlorian Jung
2015-08-10fix bug with screen resizingFlorian Jung
2015-08-10rename stuffFlorian Jung
2015-08-10replaceCamelCase_by_underscoresFlorian Jung
2015-08-10readmeFlorian Jung
2015-08-10split into files. refactor ALL teh thingz!!1Florian Jung
2015-08-10Some cleanup regarding cell renderingSpitfireX
2015-08-09draw_world_border() functionFlorian Jung
2015-08-09fix warningsFlorian Jung
2015-08-09Removed some crapSpitfireX
2015-08-09Updated mouse handling to be event-drivenSpitfireX
- handling of mouse motion and mouse buttons through the built in event system together with the other event code - the FPS counter now uses the built in pygame.time.Clock class instead of my own implementation, which is not as granular.
2015-08-08Font fallback now with 66% fewer try/except!SpitfireX
2015-08-08fixed font rendering fallback. TODO: make this niceFlorian Jung
2015-08-08Updated readme and added original agar.io controls.SpitfireX
2015-08-08Added FPS counterSpitfireX
added an FPS counter to the window title and fixed window event handling (window now closes properly!). Windfisch pls: schau mal ob du die prints da unten noch brauchst, hab die mal auskommentiert.
2015-08-08Fixed buggy event handlingSpitfireX
Events were polled at two different places which broke the window resizing.
2015-08-08Font rendering now truly backwards compatible!SpitfireX
turns out python needs much broader error handling than expected.... and I committed buggy code.
2015-08-08Made font rendering backwards compatibleSpitfireX
pygame.freetype is not available in some versions of pygame. the font rendering is now version independent and only uses the freetype module if it is available. the fallback mode uses the default pygame.font module instead.
2015-08-08Small fixes/cleanups and rudimentary keyboard inputSpitfireX
- cleaned up global variables - added logging function and fixed some issues with Windows - added fancy window title with stats - added some keyboard controls
2015-08-08Merge branch 'master' of muhkuh:~/agario-frickelFlorian Jung
2015-08-08added weight rendering and updated pygame.font to pygame.freetypeTimm Weber