Basic Pixel Related Object Selection

Posted on 04.05.2015 20:52:44 in Browsergames, github, Goodies, JavaScript, Webcoding 0 Comments

UPDATE

This plugin is out of date. The new demo can be found here: DEMO

In my last tutorial I talked about how the isometric map could be enhanced, for example by using canvas as a tool to determinate the real position of an object and not the whole image including transparency. In this small article I would like to introduce this technique. I got inspired by Dextrose AG and their fabulous upcoming AVES Engine. I’m sure their approach is much more efficient and functional. But mine should give you a good point to start.

More →

Basic XSS and session security

Posted on 04.05.2015 20:41:53 in General, Goodies, PHP, Webcoding 0 Comments

Many of the websites on the internet are still totally easy to attack using Cross-Side-Scripting (XSS) and of using the sessions of other users. This is a very bad thing, especially sinse both are very easy to prevent, at least you can make it much harder for them with just a few lines of code. It’s still far away from perfect, but with this you provide a solid base security.

More →