Godot game engine is a free opensource game engine similar to Unity. It is a cross platform software that works flawlessly on Windows, Mac or Linux and can export to almost every platforms. However, this is a new born child in the game development community and it does have limited features. As a first attempt,
Note: This tutorial was targeted for a previous version of the Phaser library. The updated version can be found here. Phaser is a robust, famous multi-platform game development framework based on the fast PIXI library. It is getting much attention now-a-days. There are so much examples there in http://examples.phaser.io/, and thus learning Phaser is very
CreateJS libraries are very helpful in creating stunning html5 games and apps. This library has a SoundJS library which can be used to play sounds. It can decide which one to load according to the device capability. However, while coding games, we may need to play musics, play sound effects, stop, fade, crossfade etc. For
The Model class we create is the base class for all Models and it contains some common functions like getAll(), getOne(), getById(), search(), count() etc. These static methods will also be available for all other Models extending the base Model class. The model creates instances of itself for each result item for the query. i.e.,
In the previous parts of this tutorial series, we learned how to create a working example of an MVC framework, but without a Model. Now we will create a Database wrapper singleton class which can be used everywhere. Before we create a Database wrapper, let us create an install file which installs required database, tables
In the first part of this tutorial series, we looked into how to startup the framework. The output was displaying the controller and action of a called url. We also found which area is called – the admin or the site area. In this tutorial, we will look into creating the Controller and Template classes.
This is the first part of php mvc website design tutorial series. You already know what is MVC architecture and you might even know how to implement it. There is already a debate about the design of an mvc architecture. I am not going into that. The truth is whatever you think is easy, follow