What is an Asset Manager? An Asset Manager in LibGDX is a class that is used to load and unload resources for your project. It will store a number of references an asset has and keep it loaded until it is no longer required. The Asset Manager API is viewable here. By using an Asset […]
9 Patch Tutorial – Using Nine Patch Images in Libgdx
What is a 9 patch A 9 patch is an image which has been divided into a 3×3 grid making 9 patches. These 9 parts can then be used to create a scalable image by repeating/stretching certain patches. This 3×3 grid create 4 corners, 4 walls and a center image. The corner images will not […]
Matter.js – The Basics for Developing Games
What is Matter.js Matter.js is a JavaScript physics engine based on the popular box2d physic engine wrote in c++. It allows the programmer to make objects that act more realistically. With the Matter.js engine, you can create games that have realistic falling objects, explosion effects, composite objects, react to certain events etc. A basic example […]
404 Error Pages – Making a custom 404 page
404 pages are a great way to inform your web users that you have broke your server or that they are too stupid to type in the correct URL. 404 pages in general should be used to signify that the URL used links to no document. Additionally on your 404 page you should have some […]
StormyVids – Creating a File Storage Site
StormyVids is a new website I created to allow me to upload any type of file to the web and allow me to download it from anywhere with internet access. I created the site because I was sick of using my old .htaccess password protected folder on my web server. Having to manually enter username […]
Apache – restarting the server when max clients is reached.
Apache is the most popular web server with over 50% of servers using it to serve their web sites. We currently use it to serve a web site we manage for a client. This website was having issues where an http get request was being generated every 6 seconds and causing the server to spawn […]
- Java
- ...
Allow Game Modding With LuaJ
Luaj is a lua interpreter based on the 5.2.x version of lua which allows you to execute lua from inside java, compile lua to lua bytecode and compile lua to java bytecode. It is used in many games to allows players to create and add mods to a game. A list of some games can […]
- Java
- ...
Updating Block Breaker – Power Ups
Block Breaker is a game I’m currently developing. It’s a simple game where you have to use a paddle to bounce a ball into bricks to destroy them. The game was working and had only 1 feature which was to hit a brick with a ball and collect the brick with the paddle. I wanted […]
Simplex Noise – Generating Random Terrain.
I had an idea for a game and wanted to see if I was able to make some random terrain for it. So I decided to look into making some random terrain using the Perlin noise as I knew minecraft uses this in it’s terrain generation. while looking into the Perlin noise I discovered a […]
Using Pixmaps in Libgdx
Pixmaps, as the name implies is a map of pixels, each pixel containing a level for red, green and blue and sometimes alpha. They can be used to store image data and can be generated on the fly in your application. Pixmaps reside in native heap memory and should be disposed when they are no […]