Version 7.3 Released #4
zestra
started this conversation in
Show and tell
Replies: 0 comments
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
-
4. Universal Health Bars
If you remember, v7.0 was fully updated with Object Oriented Code, which allowed it to have much more flexibilty and abilities. So, we will now address one of MacroFarm's new features which was enabled as a consequence: Universal Health Bars. When programming v7.3, our developers made a parent class called Organism, and one of the functions it contained displayed a health bar over the organism's image. Thus, every subclass of Organism would have this feature. This enabled the subclasses Player, NAnimal, and BAnimal to all have this feature in just one paragraph of code. Were our developers to implement this feature without Object Oriented Programming, the feature would probably have to take up 4 to 5 paragraphs of code. See how much easier things are to manage with Object Oriented Programming established in?! Well, you should, anyhow, and now every organism has a health bar over their head, which allows for more complex events to happen, such as animal reproduction, animal poverty, animal disease, etc.
This discussion was created from the release Version 7.3 Released.
Beta Was this translation helpful? Give feedback.
All reactions