Giter Site home page Giter Site logo

More compact source code about finalfate HOT 18 OPEN

mengelcode avatar mengelcode commented on May 21, 2024
More compact source code

from finalfate.

Comments (18)

MengelCode avatar MengelCode commented on May 21, 2024

Refactoring in progress for enemy type "Meteor":

  • Class Meteor created.
  • Level 1 occurences have been adapted.

from finalfate.

MengelCode avatar MengelCode commented on May 21, 2024

Refactoring done for enemy type "Meteor":

  • Level 2 occurrences have been adapted.

from finalfate.

MengelCode avatar MengelCode commented on May 21, 2024

Refactoring done for enemy type "Stupid Enemy":

  • Level 1 occurrences have been adapted.
  • Not used in Level 2.

from finalfate.

MengelCode avatar MengelCode commented on May 21, 2024

Refactoring for enemy type "Blinky":

  • Level 1 occurrences have been adapted.
  • Level 2 occurrences have been adapted.

from finalfate.

MengelCode avatar MengelCode commented on May 21, 2024

General notice: Only the "trivial" occurrences (entries in the spawn list of the level) have been updated so far. No updates as part of objects (aircrafts, projectiles) happened so far.

from finalfate.

MengelCode avatar MengelCode commented on May 21, 2024

Refactoring for enemy type "Blinky Tracer":

  • Atomic level 1 occurrences have been adapted.
  • Atomic level 2 occurrences have been adapted,

from finalfate.

MengelCode avatar MengelCode commented on May 21, 2024

I think I am done for now. Refactoring can still later be continued for stuff like projectiles.

from finalfate.

MengelCode avatar MengelCode commented on May 21, 2024

Blocked by #19

from finalfate.

MengelCode avatar MengelCode commented on May 21, 2024

Task can be continued now.

from finalfate.

MengelCode avatar MengelCode commented on May 21, 2024

I will start to modularize the code into single units of small JavaScript files soon.

from finalfate.

MengelCode avatar MengelCode commented on May 21, 2024

I should not really change much of the other code before I have put everything into its own files.

from finalfate.

MengelCode avatar MengelCode commented on May 21, 2024

I will playtest the refactored code soon. Should no bug become visible hindering it to be merged to master, then at least a big refactoring part can be considered done and small bugs and such can then be fixed based on code with less merge conflict potential.

from finalfate.

MengelCode avatar MengelCode commented on May 21, 2024

Looks good to me. I will suspend refactoring with the current intermediate result and merge this into master and roll this out on the website.

from finalfate.

MengelCode avatar MengelCode commented on May 21, 2024

Technical debt I need to take care of after implementing and merging issue #29 :

  • Refactor and simply the rendering of notification boxes.
  • Do the same to the process of input device (re-)registration.

from finalfate.

MengelCode avatar MengelCode commented on May 21, 2024

Technical debt I will soon start to clean up:
The complex boss objects and their functions still need to be moved into their own files.

from finalfate.

MengelCode avatar MengelCode commented on May 21, 2024

Technical debt I need to care about later:
Level backgrounds should not be objects of the type Enemy - they should either be of Decoration or should even get an own
subclass.

from finalfate.

MengelCode avatar MengelCode commented on May 21, 2024

Small code redundancy decrease is pushed now.

from finalfate.

MengelCode avatar MengelCode commented on May 21, 2024

All level bosses are now split into their own source code files.

from finalfate.

Related Issues (20)

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.