⬆️ ⬇️

Demo scene on Android

If you look at the list of demos of the main screening portal, the difference in the types of devices that Pts has reached is skillful hands of demoscenters. Mostly demos are developed for Windows, Linux, Amiga and ZX-Spectrum. Mobile platforms are quite a poor direction in the demoscene. “Disorder!” - I thought, deciding to write my first demo for a smartphone, and, as the respected% USERNAME% already guessed, Android became the target platform.

Under the cut - the details and links.



When writing a demo, I set myself the following goals:

1) First of all, it should still be a demo: music plays, some effects are shown, a curtain.

2) I really wanted to feel the performance of ARM processors, compare with x86.

3) I have long had the idea to write my software renderer on a CPU



The demo itself is written in C ++ using the Android NDK, and the Java part is used only to blit the resulting image onto the screen (as it turned out, the blit eats off on average 50-60% of the total time).

The music, alas, is not mine, but is taken from the fr-014 demo : the garbage collection of the well-known Farbrausch.



Download links:

Market

Just .apk

Semi port under Windows

QR code:

there should be a QR code

')

Video:



Youtube slightly spoiled the quality of the video, here is the original .



If anyone is interested, I will try to answer all the questions.

Enjoy watching!



PS If nothing is shown under Windows 7, try enabling XP compatibility mode.



PPS If you have problems running under Android, please write the phone model, OS version and screen resolution, as well as the moment of departure (at the very beginning or in the middle). Thank!



UPDATE: New build 0.93. Fixed bugs with the launch at the start, screen blanking and keyboard extension. Minor optimizations. Links in the post fixed.

Source: https://habr.com/ru/post/118544/



All Articles