A Cup of Christmas Fear is my Ludum Dare 28 game entry ported over to Android, and polished more! I started development ~2 days ago, and I wanted to get some sort of feedback early on. I know this thread is in the WIP section, I will be using this to post about my game. But right now I'm wondering if anyone would be so kind as to run the game on their phone and show/tell me what it looks like? I want to make sure that the game is re-sizing itself correctly to fit different resolutions as this is my first time experimenting with Android development!

I tried it on my Galaxy Nexus. No worries with scaling. The main menu was slightly un-responsive to touch at times, but the main game itself was fine.

Lifecycle events appear to be handled okay, but I think you might have an issue with OpenGL context loss. When I bail out using the back button, and then return to the game, all textures apart from the orange character have turned white. (From memory, exiting via the back button promotes context loss somehow; can't remember the details or logic behind it). There were no problems using the home button, or switching apps. You might need to double check you are recreating resources properly after you get the context back.

Cheers.

EDIT: That's if you're using OpenGL in some way, shape or form of course; I just noticed you haven't actually mentioned it, so I may have derped.

I'm using LibGDX because I want this process to go smooth, so I think I know what I'm doing wrong with the resuming! Its strange though, that never happens on any of my devices

As for the main menu, can you tell me exactly what was wrong? Was the play button unresponsive or the volume button? The only button that actually does anything right now is the play button, so I'm just wondering what could have gone wrong!

Both the sound and play buttons. For example, if I tap the sound button a few times in moderately quick succession, it doesn't always toggle (at an absolute rough guess, it only toggles about 70% of the time for me). The play button appears to do the same thing; I had to tap it twice just then. Speaking of the play button, it is not aligned in the vertical centre of the animated 'ribbon' on the main menu. The top of the button is aligned with the top of the ribbon. Not sure if that's intentional or not.

It doesn't surprise me you're not getting the error on your devices. That's one major frustration I've found with Android: you can test your app until the cows come home, but there is always at least one device that it won't play nicely with. Even worse, it seems to happen within similar devices too. I've tested my wallpaper on a number of Samsung S4's with no problems whatsoever. However I recently got a review stating that it causes a black screen on someone's S4... go figure... I'll hate myself for saying this, but that's one good thing Apple has going for it...

Nerb, that's strange! The volume button makes sense, I only toggle it when the player "releases" the touch on it, so maybe that's why it isn't working? The play button is very odd though, and again I've never had that issue on either of my Android devices! About the play button not being vertically aligned... could you upload a picture please? One of the biggest issues the game has right now is all the re-sizing because I've never done this before! Thanks for testing!

Edit:I just managed to also get the "bug" where the resources aren't reloading after hitting the back button, I'll be able to fix it now!

Aghh what the hell Well this is strange... On the bottom of the screen, there should be an image of snow. On the top there is another image of the title. It seems that the two images are never loaded or never bound? The white spaces are where the images should be

I wonder if screen size has something to do with it. My tablet has no problems with it though...

Edit: Just read somewhere that some phones don't support none power of two textures no matter what. Both the title and the snow background aren't, could you please test it again when I change them over to power of two?

The screen size seems likely to be the issue. I can't recommend enough that you use Scene2D. It's really easy to use and once you get used to using skins, you can create a decent UI within 30 minutes. It provides table layout which is really useful for handling resizing.

NPOT must have been the problem opiop. Main menu looks fine now. Out of interest, when the game starts, is there meant to be some kind of fade-in effect? The character is covered by a smallish white square, which gradually disappears. (Guessing it might be another NPOT issue).

I actually do know what you're talking about, its supposed to be a count down. For some odd reason on my tablet (but not my phone) I get the same "white square" as you which leads me to believe I screwed up again somewhere with the power of two stuff. But I don't know, the menu worked on my tablet with the non power of two textures. The other odd thing is that I draw text on the main menu (the copyright stuff at the bottom) and it works fine on every device I've run the game on. I'll see what I can do!

Issues I've found:- Buttons on main screen seems unresponsive. It looks like I have to touch it exactly in the center. This is especially visible with a "sound on/off" button that is very small. I am able to turn it on/off but I have to be very precise. (scaling issues?)- I have the same problem as nerb - exiting the app with "back" button and starting again causes all textures except avatar to be white- After I press "play" button whole level is rendered correctly but for the first 2 seconds white rectangle is rendered in the center of the screen and is shrinking until it disappears.

The white texture in the middle of the player should be a count down, but I think I know how to fix that.

The back button issue. That's annoying because I swear I fixed it. I had the same issue with my Galaxy S3, but I reworked it so the textures would be recreated when the game resumes and now it works fine on my phone.

The menu is also frustrating considering I've never had that issue... Just scaling issues I guess.

Thank you!

Edit:Just realized the menu will only work correctly when your screen ratio is 16:9. The Nexus 7 is 8:5. Looks like I have more work to do!

New version that should fix all the issues with hitting back and then resuming! Also, collision detection and some primitive response Still need to make the player slide along walls. Fixed an issue where there was a white rectangle rendered on screen in game, that should have been text!

I think I fixed the issues with the main menu, it should now scale correctly! (Hopefully ). If anyone has an Android phone/tablet who's screen ratio isn't 16:9 (because I know it scales correctly on 16:9) could test it out, it would be much appreciated! I tried running it under the Nexus 7 in the Android Virtual Device emulator, and it seemed to work, but I still want it tested on actual hardware!

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org