CoffeeScript to JavaScript compilation in Sublime Text 2/3
Ever wanted to write code in CoffeeScript? It surely is great but you wonder why is this not automated or smaller. Actually there are two options: include CoffeeScript so it will compile to JavaScript...
View ArticleWPF/Silverlight Design Data without XAML
Here’s a class for our sample data. That’s where the data should go into. [crayon-5733e940b04de197182541/] In App.xml define your namespace: [crayon-5733e940b04e3894677877/] and then:...
View ArticleAdobe AIR trick: Faster file loading on development machine
I had pretty weak company computer in my recent job and also pretty old rubbish Windows installation. Because of that, duration of loading our Adobe AIR game was about 14 seconds. Colleagues had better...
View ArticleUnity – is this point within a box?
I am currently using Unity for two weeks and I have started to implement logic and graphical tweaks into mechanics. It happened that I needed a little math to correct some calculation failures based on...
View ArticleTime update issues with Keyframe-based animation
Some time ago I joined to some project developed since 3 months before by a 3-4 person team. After next 4 months I made a refactor request to modify whole engine and game to make game frame update...
View ArticleQuick implementation of Network for existing Game
There are 2 common choices of architecture for game network implementation: client-server peer-to-peer What I did was some kind of hybrid of those two. I used Remote Procedure Calls (RPCs). In this...
View ArticleMemory leaks in Adobe AIR Mobile / AS3 project
As many Adobe Flash / AIR / AS3 projects we have been using Event Dispatcher. This concept seemed to be too uncontrollable and lacking of many wanted information. Doubts about garbage collector made us...
View ArticleIterative version of Ramer-Douglas-Peucker line-simplification algorithm
In one of our games we needed to beautify user mouse or touch input. Actually it isn’t simple task since there can be found many criteria due to point reduce. I have tried several solutions like...
View ArticleEmbedding resource file in Cordova app
My latest Cordova application neeeded to read app files such as XML or CSV. During research due to embedding them as resource files I have found that there isn’t needed any platform-specified...
View ArticleWorking on workflow for Unity and git
Unity3D seems to be a great software for rapid prototype development. It certainly is but when properly used. You’re alone with your prototype? It’s OK but I was the other case. When it comes to...
View ArticleCaching Partial View with View Composer in Laravel
Laravel 4 has got pretty nice Cache mechanism. Unfortunately, it’s nicety brings not too much functionality. It lacks a way to cache whole pages or partials.I have found nice plugin called Flatten...
View ArticleC++ inline Assembler hack back in 2008
Digging deep in my work from past years I stumbled upon interesting Assembler workaround I made then for C++. I was looking for a solution that could make possible to wrap a class method into Function...
View Articlegulp.js is my build system
When I’ve seen Grunt (a build system) I have imagined that it would be awesome to have such setup making my code easy to maintain and optimized production version at the same time. When I tried to...
View ArticleJava: enforce a single instance of an app
The Console is an app which typical usecase fits within running a single instance. That’s by design. However, we sometimes forget to check whether some the app is waiting for us in the background and...
View ArticleWhat are those features in Xtend lang!?
During development of The Console I have almost smashed my face a few times by gesture flying straight from internal centre of disbeliefs. As nature of a programmer calls I need to express myself about...
View ArticleLoad Boostrap 4 alpha into Vue.js project
Once upon a time one usually desires to add Bootstrap into one’s project. Adding support for Bootstrap might seem a little hard without understanding Webpack or even despite the understanding. I...
View ArticleFancy reactive web solutions on counter example
Some people are fascinated about spreadsheets. This lovely type of software was offered in Apple II computer back in 1979. Every cell could contain either data (text, numbers) or formula. What’s so...
View Article