Jorhlok

Me, my opinion, and things I do.

Category Archives: Uncategorized

Tracker 0.1: Play Test

I made enough progress that it can save and load files. I also managed to finagle the play routine enough that it can play files more advanced than you can make inside the program alone. As-is, you can only sequence 32 lines without any effects other than setting the noise mode.

Almost all of this information is still valid.

Video of it playing sound below.

Read more of this post

Advertisements

Tracker 0.1: Working on my soft synth now on Github

Click here to go to the repo for “Tracker 0.1”

tracker0_1onenotetest

This is a culmination of the last soft synth I made and some more ideas I had to make this imaginary “sound chip” more cohesive in implementation.

Read more of this post

Incredipede 1

POGEYMANS!!!11

http://3ds.pokemon-gl.com/user/L-508-6472-Y/profile

Whatever, man, I ain’t ashamed.

My (Poor) Code Now Runs (Poorly) on Android

poorandroid

Dell Latitude E6400. Samsung Captivate. Pengpod 700. Yes the screen is that bad on the pengpod. Do not get a pengpod.

I had the adventure of flailing the Android NDK at SDL2 and SDL_image today. I had written some code to understand tiles inside of png images, to sort sprites with a z value, and to draw evenly spaced tile background. I wrote a small demo of a ghost of the graveyard security guard (no collision detection, yet, lol). I had it randomly generate a field of 128×128 tiles with grass and graves, but it ran so slowly on my phone (didn’t test that on my tablet). My code has glaring optimization issues, but it ran okay on my laptop. Removing the background or making it 32×32 (possibly larger) will make it run okay. My code doesn’t cull tiles that are off-screen (bad, I know, there’s worse you don’t know in my code). Detecting a touch input at all worked on the first try.

Aside from my code that’s the same on my computer and android, getting the android project together took hours out of the day today. I’ll post a tutorial tomorrow. There’s alot of parts to an android project that you need to understand if you want to get anything to work at all.

Personally, porting to java/android will probably be the best option. It makes your app a whole lot leaner and probably faster for what I’m doing with code.