Scaling Bitmap Font Made with Font 2 PNG in Monkey X part 2

Just a quick update to old code, this one can be compiled to Android target. Source code copyright: public domain. Import mojo Import brl.databuffer Function Main() New MyApp End Class MyApp Extends App Const FONT_HEIGHT:Float = 49 Field gfxBG:Image Global angle:Float Global fontDat:DataBuffer Global gfxFont:Image Global textScale:Float Method OnCreate() gfxFont = LoadImage(“font.png”) fontDat = NewContinue reading “Scaling Bitmap Font Made with Font 2 PNG in Monkey X part 2”

Touching a real time scaled and middle handled image in Monkey X

One of my Android projects is getting further every now and then… I’d like to share here something that is related to that project: Touching a real time scaled middle handled image. This version uses Mojo2 and OpenGL2. OpenGL2 is only needed for storing the pixel information of the image (LoadImageData). You might want checkContinue reading “Touching a real time scaled and middle handled image in Monkey X”

Old School V – A Weird Sine Wave Scroller Made in Monkey X

This is getting to be a nightmare, this is the 5th Old School demonstration made in Monkey X. Probably the last in the series. I must have be bitten by a nostalgia bug. In this version the lightning effect affects the font too — see the better quality video with new music: Below is theContinue reading “Old School V – A Weird Sine Wave Scroller Made in Monkey X”

Old School IV – Yet Another Sine Wave Scroller made in Monkey X

Yet another sine wave scroller. Now the wave moves also — just like in the most traditional Amiga demos. 🙂 Below is the video (new version with smoother movement): The angle for sin function is calculated from the x-coordinate again. 360 is divided by the screen width = 640 pixels, the quotient is 0.5625. The screenContinue reading “Old School IV – Yet Another Sine Wave Scroller made in Monkey X”

Old School III – Another sine wave scroller made in Monkey X

Another sine wave scroller made in Monkey X. This one is more traditional.. In the video below the movement is a bit smoother since I used 15Hz update rate and fastened the video by 4x. Below is the source code: Import mojo2 Import brl.databuffer Function Main() New MyApp End Class MyApp Extends App Const FONT_HEIGHT:IntContinue reading “Old School III – Another sine wave scroller made in Monkey X”

Old School II — Sine scroller made in Monkey X

I made today a scrolling version of the Old School Monkey X demo. What’s new in this one is that it has sine wave text scrolling like in the good old Amiga demos in the late 80s. The font.png and font.dat are again made with my Font 2 PNG program. See the video: In theContinue reading “Old School II — Sine scroller made in Monkey X”

What if BlitzMax full screen application freezes on exit

With Windows 7 BlitzMax full screen applications worked just fine on my system, but after upgrading to Windows 10 I ran into problems: The app started normally, execution of the app was ok, but sometimes when exiting the app, the application freezed. This problem is probably system related problem; on some systems this problem mayContinue reading “What if BlitzMax full screen application freezes on exit”

“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”