“Unlimited objects” in JavaScript

This “unlimited objects” effect is something I saw for the first time at early 90’s in Amiga demos. I’ve implemented this earlier in Monkey X. This time it’s implemented in JavaScript. The idea is, that there’s one moving object, the rest is real time animation… Video: The source code: The line, where CSS style isContinue reading ““Unlimited objects” in JavaScript”

Mid, Left & Right functions for Strings in Cerberus X

It’s beginning to be late night, but I want share these with you. Many of you probably remember Mid, Left and Right functions for strings in basic programming languages. Mid returns from given position x amount of chars Left returns from left x amount of chars Right returns from right x amount of chars TheseContinue reading “Mid, Left & Right functions for Strings in Cerberus X”

Font Class for my Font 2 PNG’s fonts in Cerberus X

My studies keep me really busy and tired… Still, I’m working on Cerberus X version of Easy Math Challenge, because there seems to be problem with sound in Monkey2 with 64-bit compilations for Android. Anyway, here’s direct implementation (earlier I did this for Monkey X) of font class to use with fonts made in myContinue reading “Font Class for my Font 2 PNG’s fonts in Cerberus X”

AmiKIT – Compiling a C program to Play a MED module

I recently downloaded from the official AmiKIT site the free version of AmiKIT. It’s great! I love it! I love the Amiga! While testing the AmiKIT in an environment, that reminds me of the environment I had with the good old Amiga 4000, I got a spark to learn Amiga things again. It would beContinue reading “AmiKIT – Compiling a C program to Play a MED module”

How to get timestamp in Monkey 2 with libc and in C

This morning I got implemented a little code, that can be used to get timestamp based on ANSI C code using Monkey 2 programming language’s libc. Let’s take first look at the Monkey 2 code: Namespace myapp #Import “<std>” #Import “<libc>” Using std.. Using libc.. Function Main() Local seconds:time_t Local p:tm_t Ptr Local date:String libc.time(VarptrContinue reading “How to get timestamp in Monkey 2 with libc and in C”