Coder Social home page Coder Social logo

fcnpc-mmo's People

Contributors

woutprovost avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

fcnpc-mmo's Issues

License

Choose a fitting license for this repository.

Keep in mind the credits, maybe replace that code by including other libraries, or ask the authors for permission.

Add a special thanks section in the wiki.

No single timer

Don't use a single timer for everything. The amount of used resources should increase with the amount of used NPCs. This means only creating a timer when the NPC is created and destroying it when the NPC is destroyed and don't create everything in advance.

If possible just hook FCNPC_OnUpdate.

Only create textdraws when needed

Right now textdraws are created for every boss slot. That means also for empty slots. This is a waste and they should only be created when the npc is created and destroyed when the npc is destroyed.

Also, when a 'show only these textdraws' feature is added, only create the textdraws that are actually going to be shown. For example: don't create the castbar textdraws when the castbar will never be shown for a particular NPC.

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.