AlaskaLinuxUser's Scratchpad

Commit thy works unto the LORD, and thy thoughts shall be established. - Proverbs 16:3

What is the difference between isTouched and justTouched?

Fortunately, it did not take long to figure this out, but as a beginning java programmer using libGDX, I couldn't quite figure out the difference between isTouched and justTouched right off the bat. A Google search actually told me the answer, but at the time I did not understand what …

How to "touch" objects in libGDX

There are actually many ways that one can "touch" an object in libGDX. You can create scenes with stages and characters and actors, for one. You could do sprite comparisons as another. I decided to go a simple route with intersections.

The goal is to be able to detect that …

Take out the papers and the trash....

Every now and then I do something that I shouldn't. Okay, probably more often than that. Either way, I really shouldn't open up a file explorer as root, and I REALLY shouldn't "delete" stuff while in an open file explorer as root. The reason that you shouldn't do that is …

Using Savanna's bug tracker

Creating open source apps for Android led me to become intimately familiar with GitHub and the GitHub issue tracker system. However, today I had the opportunity to try out Savannah's bug tracking system.

I was testing out a great text adventure game by The Quiet Learner called Dr. Theobold. It's …

MechDome reaches out to open source app developers

MechDome, the new way to convert your Android application into an iOS app. While still somewhat in development, MechDome has been making great strides in the field of app converters. The best part is that MechDome doesn't use your app source code, it uses your completed Android apk file to …

libGDX music and sound fail....

While finishing my Android app developer course, I ran into this error during game development:

[CODE]

--------- beginning of crash
06-09 13:01:19.410 30345-30366/? E/AndroidRuntime: FATAL EXCEPTION: GLThread 758
Process: com.alaskalinuxuser.criticalvelocity, PID: 30345
com.badlogic.gdx.utils.GdxRuntimeException: Error loading audio file: data/spblk.mp3
Note …

error: use of undeclared identifier 'LED_ADJUSTMENT_G'

After synching my source with AOKP for Nougat 7.1.2, I ran into this error when trying to build for the JFLTETMO:

[CODE]
target thumb C: lights.MSM8960 \<= hardware/samsung/liblights/lights.c
hardware/samsung/liblights/lights.c:215:40: error: use of undeclared identifier 'LED_ADJUSTMENT_R'
int red = ((color …

LG G4 on SlimRoms: delete the pin key in TWRP!

In my last post, I told the epic adventure of figuring out how to get into recovery mode so I could fix my unbooting phone. I had performed a backup of SlimRoms before trying to flash OmniRom, and since I was back into TWRP, I restored my backup. Figuring all …