Developing an Object System


Creating a robust object system for game development can be a challenging task, especially when working with a non-object-oriented language like LUA within the LÖVE framework. As a perfectionist, I strive to optimize every aspect of my game, which requires careful consideration and effort.

To tackle this challenge, I have devised a create object function that simplifies the process. Here's an overview of how I envision the object system to work:

  1. Organized Object Lists: I aim to maintain a main list for each type of object, such as attacks, coins, and other entities in the game. This approach ensures a structured and organized approach to managing game elements.
  2. Hierarchical Object Information: Within each object list, I intend to create individual lists that contain comprehensive information about each object. This hierarchical structure allows for efficient access and management of object-specific details.
  3. Optimization Focus: One of the primary goals of this object system is to achieve optimization. While this aspect poses significant challenges, I am committed to overcoming them. By optimizing the code and implementing efficient algorithms, I strive to ensure smooth and responsive gameplay.

While I won't share the code here to spare unfamiliar readers from potential boredom, rest assured that the implementation is underway and progressing well.

Overall, developing an object system may not appear overly complicated at first glance, but it requires meticulous planning and attention to detail. As I continue this endeavor, I welcome any suggestions or insights from the community. Please feel free to share your thoughts, as your input would be highly valuable to me.

Thank you for your support and involvement in this exciting journey!

Leave a comment

Log in with itch.io to leave a comment.