Posts Tagged ‘libgdx’

That was a rough one.

Posted by (twitter: @caranha)
Sunday, August 25th, 2013 3:33 pm

Yay, managed to submit my entry! … barely. Please play it here.

Samurai Cafe Screenshot

Samurai Cafe Screenshot

This time around, I only had a satisfactory prototype at the 40 hour mark. I barely had time to create the Menu/Game Over/Help/About screens, and a lot of very interesting eye-candy I was planning for the game had to be cut (or at least postponed to post-compo version).

This was because of a bad mix of work on weekends + me thinking about the code from the wrong direction. Once I managed to fix both of these, I had already used a very large chunk of time.

But I think the end result was quite fun. And I even managed to get some friends to play test my game and find some bugs. Now is your turn!

Congratulations to all of you for finishing another LD!

It’s finished

Posted by
Sunday, August 25th, 2013 2:56 pm

That’s it, I am not going to change anything else on my game, I was thinking to add new kinds of bombs or another enemy, but I thought that the game is funny enough thanks to the incremental difficulty (in both game modes).

I hope I will be able to upload the android’s apk and the web version before the deadline, for now you can play with the jar file (tested on mac and linux).

The graphics remains the same, but I have added music (thanks to autotracker).

Screen Shot 2013-08-25 at 22.45.27 Screen Shot 2013-08-25 at 21.32.26 Screen Shot 2013-08-25 at 22.46.04

So, here you go. Enjoy.

Functional version of the game (with scoreboards !!)

Posted by
Sunday, August 25th, 2013 9:39 am

Hi guys, my gameplay is now finished so you can have a look and win the first place in the scoreboard!!. Anyway,  I will improve the game adding more stupid features, visual effects and creating the android version.

Screen Shot 2013-08-25 at 16.31.16 Screen Shot 2013-08-25 at 16.26.32


Any feedback is welcome 😉

Have fun.

Work on thesis or LD27? Hmmm

Posted by
Friday, August 23rd, 2013 5:11 pm

Look’s like I’ve made my decision to join the jam

  • IDE – Eclipse
  • Sound – SFXR + Audacity
  • Graphics – Paint.Net + Cliff Harris’ Explosion Generator
  • Music – If I have the time… muse score, idk FL studio if I can pull that off
  • Target  Windows/Android

I plan on using libGDX despite my inexperience with it!



Checking in for LD!

Posted by (twitter: @caranha)
Wednesday, August 21st, 2013 7:59 am

Argh, life got in the way, and just now I had time to write an “I’m in” post. I’ve been participating since LD24, and this time it won’t be different. The timezone for LD is just perfect for me: The compo starts 10:00AM my time on Saturday (Tokyo) and goes until 10:00AM Monday – Already took the day off work that day ;-).

The only snag will be a school event that will take 3-4 hours Saturday afternoon. I will try to use that time to do some game designing.

Anyway, tool call:

Coding: Java+libGDX, the goal is to make a game playable on android and the desktop. I might drop android or add html5 depending on the theme and the design. Using Eclipse+ADT as my IDE.

Graphics: Gimp + Inkscape + my handy WACOM tablet. If the game design calls for it I might use a cool android-based random sprite generator that I found these days.

Sounds: BFXR + possibly a voice synthesizer.

Music: Probably I’m just going to go with Autotracker , even though I can now recognize an autotracker-bu generated song by smell 😛 If I have the time and inclination I might try to compose something using the dozens upon dozens of trackers that I have tested over the months, but every time I’ve tried to do so it ended in utter disaster :-(

Here is my base code (right now it is just some empty classes for handling state changing and asset loading). Good Luck and have fun everyone!

Warmup Fun: Dubstep Hairdresser!

Posted by
Monday, August 19th, 2013 3:08 am


Thought I’d have some fun and post a little warmup entry this LD.

Can you use this glorious toy to create and share the wonderful hairdo’s from your dreams, all while the beat drops? Yes you can! Probably. I wouldn’t recommend it. 


Download it here. (Windows, Java 6+ Jar)

You can see people’s creations here.dubstep-hairdresser-product

Anyway, I can’t wait to be waist deep in all your games, digging for gems!

LibGDX will be my weapon of choice For LD27. Beyond that Fireworks CS5, Audacity, some base code from my previous ludum entry Dreamcake Rescue (which you can get here), and the typical free content creation tools.


My LD26 game on the Play Store :-)

Posted by (twitter: @caranha)
Thursday, June 27th, 2013 9:33 pm

I have finally finished the post-compo version of my LD26 game, “The Fair King”. Please give it a whirl! :-) (Click on the image to go to the Google Play Store link)

Fair King at the Play Store

In this version I largely improved the user input (now the game will be smart about throwing away failed lines, for example), and did a bunch of minor polish changes. Feedback is appreciated! I already got some from my first users — I never thought that the “select your stage” menu was non-obvious! Many people thought the game was broken because they didn’t know they had to select a stage to start playing.

If you want to play the desktop version, you can go directly to the game’s page in my blog. Or check the post-compo link in the submission page.

Thanks all, and see you on LD27!

The Fair King, Post Mortem and Time Lapse

Posted by (twitter: @caranha)
Sunday, May 5th, 2013 12:00 am

I have finally uploaded a time lapse video for my LD26 entry, “The Fair King”. Feel free to watch it here!

Fair King game screen

Clear the stage by dividing the colors by as close as 50% as possible

For me, Ludum Dare is a chance for me to try something that is out of my usual reality. Game making, art creating, very short deadlines. In keeping with this spirit, I decided that I should move myself outside of my comfort zone, and try a brand new game engine, and a brand new platform. I decided to use libGDX for the first time, and make a game aimed towards the Android platform.

I know that it is not best practice to try out new libraries in the 48 hours alloted by LD, but I wanted this to be a learning experience, so I went ahead with it anyway. Here is the usual “what went well” and “what went poorly” breakdown:

What went well:

  • Think 5 ideas, pick the 6th: My game idea became simpler each iteration, until I had an idea simple enough that I could implement in a day.
  • Porting to android: LibGDX made porting to android really simple, and it motivates you having your game on a mobile platform
  • Image levels: Levels in my game can be stored as images. I used Isopix to work on puzzle levels while I was in the train.
  • Version management with Git: I had to rollback the game a few times when I tried to add some functionalities, and Git made it really simple.

What went poorly:

  • LibGDX is quirky: You have to use power of 2 textures for portability, the font class is a mess, and different drawing models use y-positive or y-negative axis.
  • I’m tired of autotracker: but I haven’t yet learned to properly use any sequencing software for linux. I want to fix this by next LD.
  • No playtesting: means that I missed some pretty obvious interface mistakes. For example, I should throw away invalid moves, instead of showing an obvious “lose” screen for these, also it is not obvious where you should begin the line from.

It was fun, and I’m happy with the result. Please give me your opinions here.

The Fair King Submitted!

Posted by (twitter: @caranha)
Sunday, April 28th, 2013 5:10 pm

Finally! I have posted my game :-)

I’m kinda sleepwalking and can’t think straight… but I *think* everything is all right. I’ve spend the last 6 or so hours polishing and adding levels. There were still a few things I wanted to add to the game, but it is mostly completed as I imagined. :-)

Making mobile games is kinda fun! libGdx has some very strange bugs and pitfalls, but I will let that for the postMortem.

As for now – I will go get some sleep, and you will go play my game 😀

Game balancing

Posted by
Sunday, April 28th, 2013 10:19 am


I’ve spent the last 2-3 hours balancing the game, which is actually a lot of fun. It’s actually an reward in itself to get to play and tweak your creation. And I invented a few new game mechanics too while I was at it. The game is more of less done, though I’m considering adding music maybe? We’ll see.

Also, I managed to get both the Java Applet-version and the HTML5-version up and running, so that was nice. I never take for granted that GWT actually works and compiles my stuff into something useful. It’s still black box magic to me.


It’s Playable! Now time to Polish.

Posted by (twitter: @caranha)
Sunday, April 28th, 2013 7:21 am

Finally got all the essential functionalities in, and my game is basically playable!

Fair King game screen

Clear the stage by dividing the colors by as close as 50% as possible

There are 14 levels — on each level you need to draw a line that divides each non-black/white color into exactly half (you can miss by 5% and still clear the stage). At this moment, you can play all the stages.

Now it is time for me to add more polish:
* Music and sound effects
* A level selection screen
* An “about” screen
* Some more cleaning up and improving of the game screen

Please do try and let me know if you have any feedback! These last 12 hours are the best time to fix problems on the game that I can’t find by myself! :-)

Linux/Win/Mac Version:
Android Version:


(EDIT: some people on Macs have had problem to make it run. If you can give me some info, that would be wonderful)

Another Prototype

Posted by (twitter: @caranha)
Saturday, April 27th, 2013 8:42 am

After 13 hours, I polished the code of my game a lot, changing the “game” class so that multiple level files can be loaded, multiple colors can be used to compare the “sharing” level, and so that flood fill can be done asynchronously. It is still a bit ugly, but at least now the game is quite responsible on android too.

The Fair King - Title Screen

The Fair King – Title Screen

Now I need to get some sleep. There is still a lot of stuff on the pipeline though: Scoring a level, moving from one level to the next, and lots of bells and whistles like winning and losing animations, fades-in and out, music, sound effects etc.

Levels and Polish will make or break this game, which makes me kinda scared about the reaction. Let’s see how it goes tomorrow!

You can play the current version here:
Desktop (windows, Linux, Mac)

Gameplay Complete – tech demo ready!

Posted by (twitter: @caranha)
Saturday, April 27th, 2013 12:14 am

After thinking a bit more about ideas for the Theme, I decided to go with a very simple gameplay mechanic:

You are a fair king, who decided to divide the land between two warring lords. You drag your mouse (or your finger) to draw a line on the land. The goal of the game is to, simply, try to divide the valuable land as closely between the two lords as possible.

This might look trivial, and maybe it is, but now I have plenty of time for polish, music, and a number of levels. If I have the time, I might add an extra mechanic or two to the game.

You can try it here:
Java (all platforms)Android (a bit slow)

And the code is here:
Git Repository



Posted by
Friday, April 26th, 2013 10:08 pm

Decided to go with a Minimalist City simulator, as my current interest has been in urban growth.

Code is available on hourly updates or so hopefully.


3 hours in and time for a quick break and a blog post.

Im using Java, with the Eclipse IDE, and LibGDX as my framework, im also using the Artemis entity system, as playing with it in the last few weeks it allows very quick additions and modification of the game.

I’ve imported a little self code, just some helper functions related to Artemis and intergration with LibGDX, mostly just boiler plate and saved an hour or two.

Whipped up some art in Photoshop, just 5 colored tiles with Labels, Residential, COmmercial, Industrial, Power, Road.

Got them rendering, some camera movement, save/load, and some UI. Ease at getting this far so quick is definitely down to LibGDX and Artemis.


Little screenshot to show so far, currently no logic but that comes over the next few hours, the logic will follow the UI and the arts minimal style. Just enough…

3 hours in

3 hours in



Checking in! This time with more Android!

Posted by (twitter: @caranha)
Thursday, April 25th, 2013 9:19 am

Time for my 5th LD!

This time I’m going back to my origins, and trying to use a library I’ve never really touched before: LibGDX!

I was planning to delay my “I’m in” post until after I had some time to play around with the library, but work got in the way… I’ve managed at least to complete a very simple tutorial, and make sure I could deploy a Desktop and an Android version, so no worries, you WILL be able to play whatever mediocre thing I end up making 😀

Here is the toolchain:

IDE: ADT-Eclipse pack;
Code: LibGDX, versioning with git
Graphics: GIMP, inkscape + {sprite generator, sprite maker, isoPix} (android Apps)
Sounds: bfxr, autotracker, and possibly MuseScore

A word on the android apps: I will have to spend 4 hours on a train, and did some searching on the Playstore for sequencing and drawing apps. I couldn’t find any decent sequencing program, but the three apps mentioned above are quite decent. “Sprite Generator” generates random sprites that could be used as base, or as enemies in a simple shooter. Sprite makes allows the drawing of a simple array of images, and isoPix is a pretty decent image editor. None of these replaces GIMP+Inkscape (maybe Sprite generator does), but they are good in a pinch if you are away from your desktop for an extended period of time.

GLHF everyone!

First time LD + marathon stream

Posted by (twitter: @Zelosfan)
Wednesday, April 24th, 2013 8:06 am


this will be my first time entering the Ludum Dare Compo and i am pretty sure it will be a challenge for me concerning the limited time frame ^^.

I will also livestream the full experience as an marathon with 45minutes naps (hell yeah!) and a lot of Coke.

Good luck to all competitors i hope you guys enjoy it and create awesome games ^_^


The tools and equipment I will use:

  • Engine/Framework: LibGDX, Java
  • IDE: IntelliJ
  • Graphics: PS CS6 (+Wacom Tablet)
  • Sound: SFXR
  • Music: Ableton Live 8(+MIDI-keyboard) [if I have enough time]

Stay Connected:

[cache: storing page]