My First Android Game Published on Google Play

This game project started in the year 2015. A long time passed I’m doing nothing for the game, but finally its ready and published!

The project started with Monkey X, but I finished it with Cerberus X and compiled it to Android. I have not — at least not yet — plans for a free PC version.

Before publishing I ran the tests that Google offers for the app. My app passed with zero crashes. 🙂

You might want to take a look at the game played with PC in the video above.

Like I wrote in “Shorty about computer playing history” post, if I’m ever to create a game, it would always have an ending and so does this game have.

The game is free (no ads) you might want to try it with your Android device, search for “Memorable Melodies” on Google Play. Or get here:

I hope you like it!

Starfield cube 2 and other Blitz3D demos

I haven’t done much 3D programming in Blitz3D. You can achieve quite a lot with a small effort with it. Also in Monkey2 programming language is the main functionality of Blitz3D. The idea to program a starfield cube came from an Amiga remix tune, that has speech in it: ”Starfield in a box. OMG it is rotating!” Back in the time it was hard to program things like that in assembly on Amiga. Nowadays even I can put a code together, that does the job in Blitz3D.

Starfield cube 2:

Making the starfield cube 2 program made me to create also the following video as a result of inspiration with Blitz3D:

The tiger in the cube (in some parts of the video) is from a photo of my trip to Zoo of Helsinki (Korkeasaaren eläintarha). The tiger seemed to be a bit stressed while people were watching it. Though, I remember someone saying it’s smart, because it uses the same always the same paths, when walking.

Version 1.05 of Order the Chaos games published

Now both Order the Chaos and Order the Chaos II work like charm with touch screen. There seem to have been problem with PCs with slow hard drives to run the games. This should be fixed now. I have tested the games on three different PCs and the games work fine on all of them. The oldest of the test PCs is an old laptop running Windows XP.

The video below gives an impression on the playing experience with touch screen in Ordetr the Chaos II:

The playability is much better than in version 1.03.

The games come with a zip-archive without an installer.

I hope you like the games! 🙂

Touching an Image in Cerberus X

This post is the 3rd in the series of touching an image pixel accurately. The second one is too complicated, now I have kept it clear and simple.

The image to be touch is middle handled (this makes scaling easier) and the image both moves and is scaled real time.

Here’s the source code:

The actual test is made for the original image data, that is left intact. Because the image is middle handled in order to get the top left corner of the image, one must decrease half of the width and height of the image from the x, y of the image. But as the image is scaled the actual graphical top left corner is x – (width / 2) * scale and y – (height / 2) * scale.

When then top left corner of the rectangle is calculated, to this is added the scaled size: width * scale and height * scale. This is taken care of in the if-sentence, when checking if in the rectangle is touched.

When one has the touching point, the point in the image must be “scaled” by the scale factor, see the commented part of the code for this.

In the actual test is tested is the picture’s alpha value in the calculated point <> 0; if it is, the image that has transparent pixels, must have been touched.

Clear and simple. 🙂

Below is a video of regarding this post:

If you want to compile this in Monkey X, just change in the LoadImageData-part “cerberus” to “monkey”.

Update:

In my Memorable Melodies  game is used slightly different code to touch the images, because the images to be touched don’t have “holes”.

New year, new programming language

Blow from the past… Cerbeus X programming language is based on Monkey X, and has dedicated community behind it. With quick look to the language, it seems that fonts are handled in a different way, more advanced way.

Below is Old School XI demonstration made in Cerberus X.

I changed the colors a bit and had to change the light position to a positive value, rest goes like in good old Monkey X programming.

You’ll probably see here some Cerberus X tutorials in the future and practically all my Monkey X tutorials help you to get started with Cerberus X. Stay tuned! 🙂

Let’s have a great year!

Order the Chaos Games versions 1.03 as zip-archive

(updated with v1.03 patch)

In my previous post I told about problems I had during developing versions 1.02 of Order the Chaos games. Since from the reason I explained in the previous post, I had to leave the icon of the main executable intact. Unfortunately I published version 1.02 too quickly. Sometimes it is the case when one fixes one small bug, two unexpected bug may arise and it is too easy to rely on that something that worked before, works still after a small fix elsewhere…

Because I had to leave the icon of the main executable intact, I decided to release versions 1.03 in a zip-archive, because the Start Menu of the Windows would look ugly with the “standard exe icons” and in the other hand OTC games are just small little games that can be installed somewhere else than in “Program Files” folder.

Let’s take a look how the Order the Chaos directory looks like after extracting the files from the zip-archive (notice that I have Finnish system):

Before extracting the files from the archive choose a folder where to install, the directory “Order the Chaos” will be created when extracting.

The file that starts the game is “LAUNCH Order the Chaos.exe”. If you want, you can make a shortcut of it to the desktop and rename it if you want. The launch program will make the usual subfolder to hidden folder AppData where the scores and config file are saved. When started, the launch program shows up following little window:

After pressing Launch button and before registration of the game, following familiar looking dialog appears:

The registering works like before and regard possible earlier registration; if registered this dialog doesn’t show up anymore.

(Pay attention to additional instructions in the e-mail after purchasing the license to add correct text into Name field.) While trying the 7 minutes demo pressing TRY button starts the actual game as before. The Launch program stays on the background until the game is closed and launch program itself is closed, but the the launch program can be minimized so that it doesn’t bother too much on the background. 🙂

As to uninstalling the game, please run first the “De-initialize” program, that deletes the data of the game in its own subfolder in the AppData folder and the subfolder too. Then just delete the files, if you want to.

Everything works in similar way with Order the Chaos II, below is the “Order the Chaos II” directory, which will be created to the directory of your choice:

The game can be played with PC’s with the touch screen too, below you’ll get an impression of Order the Chaos II played with the mouse:

If you find any bugs or have difficulties running either of the game, feel free to send me an e-mail.

 

 

Why The Exe Icon of Order the Chaos Versions 1.02 Is Left Intact

First I thought that my computer was under constant virus attack, but after working offline and after several full cleanings/checkings with F-Secure Safe, I finally found the answer why my AV considered my final main executable of Order the Chaos games as a virus.

The exe made with BlitzMax was always clean. Next I changed the exe icon with Resource Hacker, then protected the file with Enigma Protector. As the protecting was ready, my AV deleted the resulting file immediately considering it a virus.

The ”diagnosis” was ”SYMMI”/generic malware. Before publishing I wanted to be sure that my AV doesn’t find anything harmful from the installation package.

What was the solution? First I tried to protect all the resources (also icon and version) from Enigma Protector’s (the licensing system) options. My other computer’s AV found the installation package 100% clean after that, but on my desktop computer there is different version of F-Secure’s AV and it considered the main executable still a potential risk, because its behavior was similar to a virus.

The key was the changing of the main executable’s icon. I left it as Windows ”standard exe icon” and as a result of not changing the exe icon my both versions of F-Secure’s AV considered the whole installation packages 100% clean.

The exe icons differ from the other icons and require some ”hacking”. We’ll see at the future, if Order the Chaos games can have changed exe icon with protection of Enigma Protector. EP uses some kind of virtual system and with changed exe icons my executables were considered as potential viruses (generic detection / false positive)…

But as said above, the solution was keep the exe icon intact.

Though, I haven’t paid for the certificate, that is why smart screen at first blocks the games.

Merry Christmas and Happy New Year 2018

Blue Bit Entertainment wishes you all Merry Christmas and Happy New Year 2018!

The intro in the video is code in Monkey X.

Today is a good day wish merry Christmas, since today is Lucia day, that is also a Swedish tradition that lives here in Finland too. The day is related to Sancta Lucia. Lucia was a saint who was born in the year 283.

It’s been a hard year; so much more I would wanted to give to Blue Bit Entertainment… Eventually in the summer bad insomnia troubled me that seems to be behind now…

I’m trying to publish version 1.02 for both Order the Chaos and Order the Chaos II before 24th December. Let’s see, if I’m able to do that…

Perhaps next year finally my first Android game sees the daylight. I’ve plans for an Android app too… A life long project (well, kind of) that would get updates in order to get more and more features…. Hopefully the updates won’t be needed for any bug fixes… 🙂

Anyway, Merry Christmas 2017 and Happy New Year 2018!

 

Snowing Effect in Monkey X

Since Christmas is coming soon, I decided to share my snowing effect code I wrote last year. The original code was written in BlitzMax. This year I have already made new Christmas intro in Monkey X. You may want to take look at the snowing effect of the Christmas video of the last year.

Examine the code and you’ll get the idea quickly. Implementation in other programming languages should be quit straight forward. Just use background picture of your own.

Feel free to use the code.

If the featured image doesn’t show up, below is a screenshot of the program:

I will soon publish my new Merry Christmas 2017 and Happy New Year 2018 video. And… It’s also written in Monkey X.

What if Smart Screen blocks my product?

What if Smart Screen prevents my product to run on your computer? You can check the file before running it with some antivirus scanner and as you see, that there’s nothing harmful, just run the program. See the video (I have Finnish system, but I have added needed translations):

My system is protected by F-Secure’s protection package. If you have F-Secure’s protection too, and Deep Guard says it has prevented harmful program to run (in Finnish: ”Deep Guard on estänyt haitallisen tiedoston”), you may still do the same scanning as shown in the video and as you see, that the program is actually clean, don’t be afraid of running it.

Though, if the Deep Guard prevents the program to run, one must manually allow the Deep Guard to run the program, by changing F-Secure’s AV settings in order to put the program to the list of allowed programs.

In case you ran into any problems, just contact me by e-mail and we’ll find a solution together.

Image courtesy of TAW4 at FreeDigitalPhotos.net

In order to prevent the Smart Screen to block a program one should have a certificate and put the certificate into one’s program after one has validated it with Microsoft’s validator. But the certificate is expensive…

Also, many of you may have noticed that one somekind of generic interpretation of a “virus” or some harmful file is often just a rare file, rare piece of software nowadays… The definition of rare is sometimes just new.