ALEMIL

Welcome to a blog about application and game development

Field of View in tile based games

Field of View in tile based games 2018-03-04 14:26:20
Est. read time: 4 minutes, 58 seconds

Field of View algorithm can be used to create multiple game features. It can determine which tiles should be visible to the player, or which tiles should be lit starting from some light source. You could even use the same calculations when animating explosions.

Comments  


7 things to know, when PHP is too slow

7 things to know, when PHP is too slow 2018-02-26 23:33:31
Est. read time: 5 minutes, 3 seconds

PHP is not known to be a demon of speed and it can sometimes happen that programmers do not account for how successful a web application can quickly become.

Comments  


Entity Component System

Entity Component System 2018-02-17 15:13:25
Est. read time: 16 minutes, 9 seconds

ECS (Entity Component System) is a great architectural pattern that is perfect for building medium to big games, that offers some advantages over traditional OOP (Object Oriented Programming). In short, when using ECS, every game object consists of Entity - unique ID, multiple Components that hold data, and Systems that operate on and manipulate components. This separation allows for much easier implementation of independent features than big objects built with inheritance.

Comments