Apache POI: Usage of formulas and excel functions
In order to manipulate formulas in Apache POI, we use the method setCellFormula(«formula») of HSSFCell class. Similar to Microsoft Excel, we can use mathematics formulas (A1+B2+C3, B5*A2, …) and Excel’s functions (SUM, COUNT, MAX, …). When we use excel functions, Seguir leyendo Apache POI: Usage of formulas and excel functions
How to smooth textures when they are resized in LibGDX (filters I)
When working with LibGDX, we normally use a «vitual» screen (whether through using Viewports or with transformation matrices) with a defined dimensions, and all textures / images will have a size according to that virtual dimensions. If the viewport size Seguir leyendo How to smooth textures when they are resized in LibGDX (filters I)
Apache POI: How to define styles for excel files
In the previous entry about apache POI, we saw how to create excel files with Java and Apache POI. This time, we’ll see how to customize the style of these excel files. How to create a style for a cell Seguir leyendo Apache POI: How to define styles for excel files
Frame by frame animations in LibGDX
Intoduction When we need to animate our game objects, one of the methods we have is the frame by frame animations. It’s the classic animation method, and consists on drawing a serie of images that, when they are showed in Seguir leyendo Frame by frame animations in LibGDX
How to generate MS Excel files from Java with Apache POI
Commonly it’s necessary to manage Microsoft Excel files from Java applications. It can be usefull, for example, to export / import data, report generation, etc. Apache POI is a library from Apache fundation, which has become a de facto standard Seguir leyendo How to generate MS Excel files from Java with Apache POI
Cross references in C++ classes
What are cross references? It’s named cross references the situation in which a class A needs to reference to class B, and class B also needs to make reference to class A. For instance, suppose we have an application responsible Seguir leyendo Cross references in C++ classes
How to add event listeners to a button in Cocos2d-x 3.x and C++
Recently I have started a port to iOS of my game Dark Snake, originally made for Android. I want to take this opportunity to learn something about C++, so I have decided to use the game engine Cocos2d-x. Probably, which Seguir leyendo How to add event listeners to a button in Cocos2d-x 3.x and C++
How to make a splash screen in LibGDX
An important aspect at video game development is the splash screen. What is the splash screen? It is an screen which is shown to the user just when he opens the application. It is usually used to show some information to user Seguir leyendo How to make a splash screen in LibGDX
Dark Snake – Android (en)
After a few months of work, recently I have published my second game for Android: Dark Snake. It is a game of type snake, in which I have tried to give a modern aesthetics with sinister touches. I put some Seguir leyendo Dark Snake – Android (en)