Coder Social home page Coder Social logo

amoba's People

Contributors

chaosprint avatar clauvin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

amoba's Issues

Ranged creeps

(Making this issue, as asked by @chaosprint)

Ranged creeps

Creeps (or minions in League of Legends) are usually enemies with allegiance to one of the teams, that spawn regularly and move through one of the available lanes towards the enemy base.

Creeps have different types: melee, ranged, siege, etc. This issue is to list the steps that I intend to do to add ranged creeps to the game as a mod.

  • Ranged creeps (barely functional at this point) can be spawned through a function call (this has been covered here: #1);
  • Add three lanes through path points, improve the creep spawn function so it can be used to set the creep's lane and team, and add regular spawning of creeps (https://github.com/Clauvin/amoba/tree/ranged-creeps-part-2);
  • Add movement to creeps so they will be able to move through the map by path-finding (https://github.com/Clauvin/amoba/tree/ranged-creeps-part-2);
  • Give seeker projectile attack (similar to LoL) to ranged creeps, and a basic AI that recognizes enemies, heroes and bases from the opposite team to attack them on range (heroes are lower target priority than creeps, creeps are lower target priority than team bases, but creeps focus on their current target until it leaves their range);
  • Give health to creeps and heroes, and death and despawn to creeps (also at this point projectiles should be doing damage to heroes, even if they don't die to it);
  • Do a pass at the code to see if some code can be refactored into util or parent mods, to be used by more than one mod at once (per example, the ranged creep function could be refactored for creep spawning functions, making easier to add more creep types)

Melee creeps

Once #2 is finished, adding melee creeps shouldn't be hard:

  • Pick a model and animations to represent melee creeps;
  • Use previous spawn function to spawn melee creeps.
  • Do a pass on creep code to better organize attribute info about creeps (damage, Max HP, speed, attack speed, armor, etc) in an easily accessible, readable and editable (not editable in the middle of a game, unless an appropriate - and visible by all players - option is toggled) way by the server;

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.