Game Development

LibGDX: Scene2d – Actors Part 1

Scene2d is a higher level framework for creating games. It’s not mandatory to use it but sometimes it is very useful because code is more friendly and simpler. It is indicated for menu, buttons, checkboxes etc. but it’s useful for board games, character’s equipment and more. Scene2d is composed of 3 classes regarding Scene2d :…

Read More

Design Patterns: Dependency Injection

What Dependency Injection is. Let’s imagine an object that does a specific function. Now let’s imagine a second object that takes the first object as an argument. This object cannot function or can function partially without the first one. When this happens, it’s called Dependency Injenction. Dependency Injection is a design pattern and we want…

Read More

Design Patterns : Object Pooling

Object Pooling is a design pattern that belongs to creational design patterns. Creational design patterns are the ones that deal with object creation mechanism. This gives the program more flexibility in deciding which objects need to be created for a given use case. Design pattern object pooling gives us the ability to load  some instances…

Read More