“Old School” — a Little Monkey X Demonstration

Soon the year 2015 will be on the pages of history. I made today a little demonstration in Monkey X with Mojo2. The demonstration is called “Old School” — for the good old Amiga days. See the video below: Below is the source code: Import mojo2 Import mojo2.glutil Import brl.databuffer Function Main() New MyApp EndContinue reading ““Old School” — a Little Monkey X Demonstration”

3D Stars with Mojo2

As an example of using Mojo2 module in Monkey X, I wrote the 3D stars using Mojo2 module in Monkey X. In earlier post the stars were made with the old Mojo. Mojo2 has lots of nice features to experiment with. %https://blue-bit-entertainment.com/3DstarsMojo2/MonkeyGame.html% Below is the source code in full: Import mojo2 Function Main:Int() New MyApp ReturnContinue reading “3D Stars with Mojo2”

Scaling Bitmap Font Made With Font 2 PNG in Monkey X

This time a little tutorial on how to scale bitmap font made with Font 2 PNG in Monkey X. The code uses DrawImageRect command to draw the font. The font.dat file has two 4 byte integers for each character. First is the starting position in the PNG-file in pixels, the second is the width ofContinue reading “Scaling Bitmap Font Made With Font 2 PNG in Monkey X”

Touching an object in Monkey X

I’ll share here something that is related to a project I’m working on. How to test if the user/player has touched an object on the screen. In our example program the object is the following (you may download the object): My little code tests if object is touched while it moves around the screen. TheContinue reading “Touching an object in Monkey X”

How to capture a screenshot from BlitzMax 2D fullscreen game

It’s of course possible to capture a screenshot from BlitzMax fullscreen game with video capture programs such Fraps. It can be also done with the in the BlitzMax code of the game. Here’s my little code to do it: SuperStrict HideMouse Const JPEG_QUALITY:Int = 90 Graphics 640,480,32,1 Local screenpixmap:TPixmap = CreatePixmap(640,480,PF_RGBA8888) While Not KeyHit(KEY_ESCAPE) ClsContinue reading “How to capture a screenshot from BlitzMax 2D fullscreen game”

Where to get sound effects and music

Updated 18.6.2018 In my early times I’ve used FreeSFX for example in Ball Shooter. The sound effects and musics from FreeSFX can also be used in commercial software products. In the credits for the sound effects and musics FreeSFX must be mentioned as follows: http://www.freesfx.co.uk, when using their library. One of the probably finest sites for freeContinue reading “Where to get sound effects and music”