Scrolling a Picture Larger Than Visible Area in Monkey X

A little tutorial on scrolling a picture that is larger than the visible area of the screen in Monkey X. In this example we will be using a picture of 1280 x 960 pixels in “native” resolution of 640 x 480 pixels. The source is primarily meant to Android target but works for example to desktopContinue reading “Scrolling a Picture Larger Than Visible Area in Monkey X”

Missile Attack in Monkey X

Again, some nostalgia. In older blog post I presented a shortened version of my old implementation of Amiga’s “Missile Attack”. This night I made the game in Monkey X and the source can be directly compiled to Android target. The game is quite simple one: Just shoot the missiles before they get to the bottom ofContinue reading “Missile Attack 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”