Developer diary

Crazy minecart : more 3d (blender)

Continuing on testing 3d low-poly for Crazy Minecart, here is a blender rendered scene from behind


I think I will continue working on this update, as it will allow me to test stuff for the new engine I want to work one:

  • Real time shadow mapping (models are simple, so I hope I will be able to render scene at stable 60fps with shadow mapping)
  • Low poly lighting (shouldn’t be too hard)
  • Maybe try to reproduce this grainy look blender does, it looks really nice imo (click the image for 1080p version, it is more visible there)
  • And it will also help me test exporting multiple models at once with blender (through scripting) to automate this process.

Read more


Crazy Minecart : 3d ?

As I was playing with low poly 3d lately I thought about trying to get crazy minecart in 3d.

Currently Crazy Minecart is in 2d:



What it could look like in 3d, blender renders:



And a rear view (I’ve moved the cart away from water)


I can’t make “organic” models (human), only artificial ones (or simple natural ones), so I doubt I will create a character to put in the cart, maybe I’ll be able to find a free one, or I’ll just leave the cart empty.

But I can make trees and such, some tutorials are very good, it will add details on the border (or make the water obstacle more visible for example).

So yea, maybe I will work on creating a new crazy minecart version, what bothers me the most is updating all the surrounding frameworks for that (ads, google play services, game center,…).

Read more


More space ships

Continuing on working on some low poly space ships, I’ve added and cleaned a lot of stuffs


Here’s a top view, maybe the view will be a little more downward (as Alien Blitz) to see upper/down wings more easily :


And here’s the workspace, with templates for parts size :


Read more


Alien Blitz: new update (mobile), stamina (PC)

New update (mobile)

While digging on the possible errors that could have triggered the last update rejected on app store I noticed some errors were not correctly trapped, and that I had no way to check if errors happened on the iOs version.

So I’ve made some changes:

  • Automatic anonymous error reports are back, whenever an error occurs the stack trace is sent to my website (anonymous, the report just contains a few system parameters and the stack trace). It means I need the network permission back for the full release on Android.
  • I’ve corrected the process that catch errors, and it should work again if option file is corrupted (if it gets corrupted option file is reset and a message is displayed to warn user)
  • I’ve added more exception catching in missing places (basically exception catching was working fine when playing a level, but not always on startup and in menus)
  • The splash screen should disappear quicker on iOs (was 2.5 seconds on my iPod, it is now 2 seconds spent only in LibGdx stuff I can’t change)

I’ve also included some changes on balance, shotgun has been nerfed at high level, and double shotgun has been boosted. So player should upgrade to double shotgun at high level.

I will send this update soon on the mobile platforms.


Stamina (PC)

I like the stamina that was present in old versions of Alien Blitz (Snorms in this case), I removed it for mobile as it is quite hard to manage for the player, but I’ve decided to add it back on PC.

The way stamina now works (PC only):

  • Player uses stamina by pressing the shift key or the Y button of the controller (on xbox controller)
  • The auto lock button has been moved to the back button (xbox controller) by default, can be changed anyway
  • When using stamina player will move quicker if he is on ground (does not work when jumping, to avoid breaking levels)
  • When using stamina and shooting the weapons will reload a lot quicker and deal a little more damage (but it uses a lot of stamina)
  • Stamina will go up after 2 seconds (stamina button must be released)
  • By default stamina status is not visible on screen, but it can be turned on in the options.

So basically it works a lot like old stamina, except maximum stamina can’t be upgraded with level ups.

Here’s a little screenshot with stamina bar visible:


I’ve also removed most of the sprite borders, and made the camera a little closer.

Read more


Space ships

2d space ships

Quite some time ago I tried to work on some 2d space ships :


It was inspired by work

The good thing with 2d is that adding details doesn’t use more memory/gpu/cpu, problem is that it doesn’t scale/rotate very well (especially with details)


Low poly

So I tried some 3d low poly render (made with blender) :


It’s just some prototype but I quite like it, and it made me want to retry working on the game I was thinking for this asset.

As you might guess ship building / customization will be quite important in this game

Here’s some top views, probably the exploration/combat type of view :

scene_top scene_top_far

(background texture by Lyshastra on deviantart)

More info soon I guess if I continue working on that (not sure yet, I don’t have a lot of free time)

Read more


Mobile site, App store

Mobile site

I received a mail from Google to tell me that my website was not appropriate for mobile, I knew it of course but never bothered looking into that up to now.

So I installed a theme switcher for WordPress (any mobile theme switcher), and a very simple theme (mobile). So mobile user will now get a simple theme that should display most pages nicely.

2015-03-19 21.12.54

I just had to manually set the menu name in one php file as wordpress does not support two theme configurations active at once, other than that it seems fine.

You can always choose the desktop version in your browser settings/menu if you want to.


App store

I’ve been able to test the latest update on a 64bit iPhone version, and it was also accepted for beta test, so maybe it means I’ve solved the issue. If I have not I will have to get an iPhone 6 or iPad air 2 / iPad mini 2 as I think issues comes from 64bits releases.

What I did is that I updated Libgdx and robovm to latest builds, cleaned robovm cache (delete .robovm/cache directory), rebuilt everything and increased eclipse heap size so that a full compilation doesn’t crash (might have been the problem before as it seemed to crash during 64bits compilation). The compilation lasted something like 10-15 minutes, we will see if it worked.

Read more


Alien Blitz: iOs

My last update keeps getting rejected by Apple, apparently it crashes on startup…

Problem is that whatever I try on my iPod touch or the simulator (update, fresh install,…) it works on my end…

So I had the “crazy” idea to use TestFligh to send it to some testers and maybe get more information and pinpoint the problem… but the app was rejected for beta testing as it crashes on startup… Thanks Apple, you are really helping…

Read more


Shadow mapping with LibGdx: moved to GitHub

The Shadow mapping tutorial has been moved to github !

Currently the content is exactly the same as before, but it will make updates and third-party modifications a lot easier.

What it means is that:

  • github project and wiki will contain work-in-progress / development / unreleased versions of the tutorial & source
    You can fork one or the other to contribute
  • the Shadow mapping page on this site will always contain release / clean versions of the tutorial & source

It’s actually a lot easier for me that way, I use a simple script to convert wiki to html and html to pdf, and as the html code is a lot cleaner than what I was getting from Google docs it means I can finally apply a clean CSS to it, for viewing and printing.

It also means I will soon be able to add the MRT changes to the tutorial.

Read more


Shadow mapping: soon on github

I began working on putting the shadow mapping tutorial on github, it will be easier to update code & the wiki is quite nice for a tutorial

It’s still a work-in-progress : Github project & Wiki/Tutorial

I began working with some scripts (pandoc) to convert pages to html/pdf so it means:

  • Github will be the work repository for both source code & tutorial
  • Release will be available on this website with Source code (zip) & tutorial (html & pdf)

And of course I will accept pull request on both wiki & project if someone wants to add/change something.

Read more


Shadow mapping: Multiple Render Target

Multiple Render Target

As I said in a previous post I have been working with Multiple Render Target as a test and I have been able to get a working sample based on the Shadow Mapping tutorial.

It means instead of rendering the whole geometry multiple times (1 time per light + 1 final render) it is only rendered once (and position & colors are saved in this step to two separate textures).

It turns out that with the tutorial sample this method is actually slower, as time gained in shadow mapping and render phases is lower than time needed to build the G-buffer.
But if the geometry is more complex (tested by duplicating the scene 25 times) then it becomes quicker.


So I think I will create a part 5 of my tutorial soon with MRT (or maybe two parts, part 5 being some cleaning and part 6 being MRT), this part will be desktop only as it needs to call some Lwjgl functions directly.

But I don’t know if I will actually use that in my next engine, the scene has to become fairly complex for it to becomes useful (or I need to find some ways to optimize that).

Read more

Page 1 of 3312345...102030...Last »