Nightfall: game developed for Ludum Dare 32

I managed to write a post-mortem about Nightfall, my Ludum Dare 32 jam entry. The theme was An Unconventional Weapon, so I made a simple game using the darkness as the weapon, loosely based on Isaac Asimov’s Nightfall short story. See a fragment of the post-mortem:

What is the game about

You control Doctor Sheerin, a brilliant researcher who finds a new and amazing thing: The Darkness. But his new discover didn’t got the attention of the population the way he desire: they want to destroy it. People are afraid of The Darkness, since the planet they live is surrounded by light all the time at each single point of its surface. So Doc. Sheerin must protect the reactor, a huge machine that generate and nurture a practical gun that fire shots of darkness at things, reacting extremely weird at living beings.

You can continue reading the article on this link, and can play the game on this one. Today I will return to implement some missing things and fixing the so many bugs everywhere 😉

Nightfall

Game screenshot, as submitted for the jam. Will work on fixes now.

Spotify + Alsa – (audio) Ads on Slackware

I’ve made some changes on a script I found on the internet these days to “remove” the audio ad when listening to Spotify on Linux (with the official Linux preview). The truth is, this script doesn’t remove the ad, just mute it (and all sound from Alsa on your computer), and unmutes when finished. Just it.

The original script uses PulseAudio to do the magic and let you play another song while the ad is “playing”. But as I hate PulseAudio and don’t want it installed on my system, I came with this “solution”. For me it’s working (Slackware-current 64 bits):

It requires Alsa, libnotify (for notify-send) and, of course, Spotify for Linux version 0.9.10.17.g4129e1c (you can get the latest package for Slackware x86_64 here). Basically, the script starts spotify and waits 15 seconds to check if it is running and get its status via dbus. When it detects an ad, it mutes the Alsa master channel and unmutes when the ad finishes.

I saw that Alsa create a stream for Spotify, but I can’t get this information from command line. If you have some better solution that doesn’t involves PulseAudio, send a patch or comment about it on this post 😉

KWarBots: A New Home

Finally pushed the code of my old (and unfinished) game KWarBots to my github account. Since I was not capable of importing the svn log from the old repo (shame on me), consider this as a new start.

This is just the initial import, the game is broken on the current KDE/Qt environment, so I’ll touch the code to compile soon.

The new repository URL is: https://github.com/rodrigogolive/KWarBots

FL Studio 11 running on Linux (through Wine)

And FL Studio 11 runs pretty good on a Linux machine! Just installed with Wine, and it works out-of-box, without needing to configure anything additional (well, I already had DirectX installed here, I think it’s needed to properly running FL Studio).

screen02

There are just a minor delay on the audio output, nothing that can disturb you when creating sounds. Another drawback is the impossibility to use the ASIO4ALL sound driver. So, for the final mix, I prefer to use a Windows machine and render the output sound there.

Check this simple loop, rendered from this installation:

 

Project ReTouch: First images

Welcome to my new project: ReTouch. The main idea of this project is to use a Meego device as a remote keyboard/touchpad device to control a Linux desktop over wifi or bluetooh.

For this, I’m using Qt4 (and on the future Qt5) to develop both the client and server sides of this application.

 

Main area

The client will just work on the Meego device (grabbing the gestures from a touch area and from a virtual keryboard) and send this information over a connection to the server part, who will be responsible to convert its input and perform these events on the machine.

The application running on the device (currently I’m testing on the QtCreator‘s simulator) is being developed using QtQuick (QML), as you can see on the screenshots:

 

Getting user input User touch areas

 

The server is the more complicated side, as its need to receive the client input and convert to the system signals to emulate real keyboard/mouse events. For this, I’ve done some tests using Xlib, with successful results.

By now, I’m finishing the client’s interface and starting capturing the virtual keyboard events (the touch ones are working well), and finishing projecting the basic connection protocol (its demand some security governance too).

So, stay tuned to future updates :)