this post was submitted on 22 Sep 2024
101 points (97.2% liked)

Android

28035 readers
237 users here now

DROID DOES

Welcome to the droidymcdroidface-iest, Lemmyest (Lemmiest), test, bestest, phoniest, pluckiest, snarkiest, and spiciest Android community on Lemmy (Do not respond)! Here you can participate in amazing discussions and events relating to all things Android.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules


1. All posts must be relevant to Android devices/operating system.


2. Posts cannot be illegal or NSFW material.


3. No spam, self promotion, or upvote farming. Sources engaging in these behavior will be added to the Blacklist.


4. Non-whitelisted bots will be banned.


5. Engage respectfully: Harassment, flamebaiting, bad faith engagement, or agenda posting will result in your posts being removed. Excessive violations will result in temporary or permanent ban, depending on severity.


6. Memes are not allowed to be posts, but are allowed in the comments.


7. Posts from clickbait sources are heavily discouraged. Please de-clickbait titles if it needs to be submitted.


8. Submission statements of any length composed of your own thoughts inside the post text field are mandatory for any microblog posts, and are optional but recommended for article/image/video posts.


Community Resources:


We are Android girls*,

In our Lemmy.world.

The back is plastic,

It's fantastic.

*Well, not just girls: people of all gender identities are welcomed here.


Our Partner Communities:

!android@lemmy.ml


founded 1 year ago
MODERATORS
top 11 comments
sorted by: hot top controversial new old
[–] bstix@feddit.dk 13 points 2 months ago (1 children)

What's the size of the music/graphics/game code/stuff that is needed for any app to run on Android?

I believe (without knowing for sure) that you could make a similar game much smaller by "rendering" the music and some of the graphics.

[–] pirat@lemmy.world 15 points 2 months ago (1 children)

"rendering" the music and some of the graphics.

I think that's what's called procedural audio/graphics. For audio, it's like building synthesizers into the game, to then be able to play the music/fx as a program (sort of like sheet music) instead of an audio file.

[–] bstix@feddit.dk 11 points 2 months ago* (last edited 2 months ago) (1 children)

The music doesn't have to be completely synthesized.. Most early computers would simply reuse the audio snippets as "samples", and program the pitch and timing in a "tracker"

Listening to the Flappy Birds music, which I admit that I did, then all of the music could be done in a tracker, even if it might not have been originally. It's a bit of a lost art form, but there are several kilobytes to save!

Personally, I have been considering making a HTML5 game, including the sunvox DLL, to make it really easy to put tiny yet advanced music files into a cross platform browsable game. Haven't gotten around to it though..

[–] pirat@lemmy.world 3 points 2 months ago* (last edited 2 months ago)

Right, I forgot to mention that's possible too!

Thanks for mentioning SunVox, which sent me down a rabbithole of a multitude of interesting software from the same developer. I have even played with the one called PhonoPaper maybe 8 years ago, without knowing of all the other projects! There are many music-related apps, and also PixiVisor that transmits video over audio, which I find fascinating for visual DSP. Seems like next-level SSTV, and would be fun to try over radio - like a LoFi TV signal!

Unfortunately, it seems that the Android versions of most/all(?) of the projects are outdated, and not supported on my phone's newer version of Android, but other versions probably still work on different OSs.

The SunVox library for developers (rather than just the JS-based player) seems very interesting to me. If I'm not misunderstanding, it could be used to build some interesting custom browser-based synth GUIs, or behind the scenes for playing live adaptive and/or generative game music+FX. I'll definitely be looking into that sometime, though so far I've only been scratching the surface of software development, but with the help of LLMs I have recently been able to prototype some interesting ideas (music-based games too!) that seemed totally out of my reach before that.

Feel free to let me know if you ever get around to doing something along the lines of what you were describing. Sounds like a (more) straightforward way of using SunVox to reduce the game size.

[–] 01189998819991197253@infosec.pub 6 points 2 months ago

Impressive, I gotta say

[–] pacjo@lemmy.dbzer0.com 5 points 2 months ago (1 children)

Very impressive, even if broken on high refresh rate devices.

[–] burgersc12@mander.xyz 4 points 2 months ago

Thanks for pointing this out, was wondering why it was faster than lightning lol