Archive | Computer Science RSS for this section

2D Roguelike Unity 3D Tutorial

I followed this tutorial to the letter :

And it worked. I was wondering about some of the teacher choices, but it became clearer towards the end.

I discovered some new tools of Unity 5 with this.

And I tried to build it on a lot of platforms.

So while in the Unity Editor, it looks like that:

In the Android version it looks like that:

Yeah…. The camera is not adapted. Also I ran in a lot of issues while trying to compile for Android. If you download the Android SDK with Android Studio, you must download the tools separately and replace the tools folder in the Android SDK. And be sure to change the publishing name in the Player Settings like being told to, because Unity won’t compile otherwise.

I tried the web browser version… and:

Yeah… I don’t know what happened here. You can try the game yourself here.

The game only usually works with the arrow keys, or slides on Android, but here, nothing is recognized.

Finally on a “normal” Windows build, we have:

There is a weird line in the middle of screen.

So as you can see, I’m up to some tweaking ! After that I’ll try to add some new features !

Just a robot programmed to be very good at Puzzle and Dragons

Like always I appreciate the work behind the performance.

To be able to code and make such a robot is quite a feat.


How oldschool sound and graphics worked for video games

If you ever wondered how the video games of your youth were made, this series of videos from the 8 bit guy explains it.

Enjoy !

How Oldschool Sound/Music worked


How “oldschool” graphics worked Part 1 – Commodore and Nintendo


How “oldschool” graphics work, part 2 – Apple and Atari


Does anyone remember the Google glasses?

You know the glasses invented by Google which had screens on the lenses, a camera, a microphone so the glasses would answer to orders by vocal commands.
Well, after a long period of advertising during which all websites would say it would be the future… it disappeared.


Some hints of explanation here:
“The users who didn’t realize that it was rude to wear these info-glasses must have found out soon enough when they’d hear complaints from people on the street, or worse, the ultra-expense Glass was grabbed off their face. I simply wouldn’t talk to anyone wearing Google Glass until they took them off. There was nothing confidential or personal that could be discussed with anyone wearing the device. You’d be foolish not to assume the conversation was being recorded. You may as well pull out an HD video camera and start recording when you were chatting. It was an imposition.”

And here:
“My love for gadgets makes me look and sound like one of the people whom residents of the city have come to feel oppressed by.”

Unconscious Bias

Aside from taking all your data and selling it to companies, Google also does conferences and research.

This video is about unconscious bias:

“Unconscious biases are created and reinforced by our environments and experiences. Our mind is constantly processing information, oftentimes without our conscious awareness. When we are moving fast or lack all the data, our unconscious biases fill in the gaps, influencing everything from product decisions to our interactions with coworkers. There is a growing body of research – led by scientists at Google – surrounding unconscious bias and how we can prevent it from negatively impacting our decision making.”

Making WkHTMLtoPDF work on Linux

wkHTMLtoPDF is a converter of HTML documents into PDF ones.

It’s really easy and simple to use. It works well on Windows operating systems.

But currently, the linux downloadable available on the website in missing a lot of needed libraries.

Here are the ones needed if you want to install it on a RedHat/CentOS/Amazon AWS instance:

– fontconfig-32bit-2.11.1-4.1.x86_64.rpm

– libjpeg62-32bit-62.1.0-35.1.x86_64.rpm

– libpng12-0-32bit-1.2.52-2.1.x86_64.rpm

– libstdc++6-32bit-4.7.2_20130108-2.1.6.x86_64.rpm

– libXext6-32bit-1.3.3-3.1.x86_64.rpm

– wkhtmltox-

– xorg-x11-libXrender-32bit-7.6_0.9.6-9.1.2.x86_64.rpm


To install each of them, just type :

sudo yum install <nameOfTheLibrary>

in the terminal

If you need other versions (like 64 bits one) of some libraries you can find them all on . Just take into account that you have better chances to find them thanks to Google than with the search engine of their website.


I wrote this post because I took an awful lot of time figuring that out, and I thought it would be useful.


Follow me on Facebook : RockMarc

Or on Twitter : @DebuggingWorld


Share if you like the content of this blog.

The artificial intelligence of Mario

Using sprites from Super Mario World (SNES) and Super Mario All Stars, students at the University of Tübingen in Germany, reproduced behaviours of the quoted games in a program.

They added some artificial intelligence to Mario so he behave by himself in this world. For example, sometimes when he is hungry, he will go to a “?” Block, make a mushroom appear and go grab it.

Follow me on Facebook : RockMarc

Or on Twitter : @DebuggingWorld

Share if you like the content of this blog.