I have developed the Game in AndEngine but it shows black screen for some time before loading.I have so many research but till now I did not found proper answers to remove black screen.Please help me how to resolve this.
it is very difficult for me. please take seriously and help me
The black screen appears after the app is started and stays there until the required graphics resources for the game are loaded into memory. If the black screen annoys you, there are two options I know of:
You can try to make your loading sequence shorter by making your
code as efficient as possible. You can look at tips for this
here.
Another possibility is to have what is called a splash
screen. See this tutorial for how to this in AndEngine.
Related
I was working on my game and noticed terribly low FPS and when running up to a certain area the whole screen goes bonkers and practically "flips" around. I am currently watching as many tutorials as I can to get better FPS but I decided to post here to see if this could be more of a help.
Today was my first time trying to use the profiler and I don't understand it all so I decided to screenshot it and put it in this post.
Heres the screenshot:
Profiler Window Screenshot
Any help is appreciated thanks!
I'm looking for a way to get the contents of the screen in android but not for taking a screenshot.
A little background, I recently broke up with someone and want to create an app that will "censor" photos of her (ie: just pixelate them). I know how to write a training algo to be able to detect her, and I can write a service in Android that will just run in the background, but I've not yet come across a way to get the screen contents. My thought was to look at the screen and if she shows up in Instagram, texts, or any app, just pixelate that portion of the screen (or put a black square over it or whatever).
Unfortunately the android docs haven't helped me much, so does anyone have any experience doing so, or can you point me towards any thing that would help?
I'm not sure if this is a violation of any rules, so if it is, my humblest of apologies, I'm just stumped and feel free to mark this closed.
I just published my first App on Google Play, and everything seems good, except for the main icon. For some reason it keeps getting cut off on the edges. I have sized it to be 512x512 pixels in Photopea, and have tried making it smaller several times (the actual graphic within the 512x512 space), but nothing seems to make a difference.
How can I fix this? Please let me know if any details are needed. I am using Expo and have tried both expo publish and re-bundling and updating the app.
Thanks!
I realise that this is an old question but I had the same issue and this question was among first results.
The problem is because your icon is near the edges of the image and it is being cut off by android.
The solution is following:
It is recommended that you use a 1024x1024 png file,
leaving at least the outer 1/6 transparent on each side.
I have looked around but, I am unable to find an answer to my question. Basically, I am creating a phone app. The only problem I seem to be having is with the menu UI. Basically, it is set to a 1080x1920 resolution, which is probably the most common one out there. However, it is not the only one. How do I handle multiple screen resolutions? Do I need to make like separate widgets for each resolutions and load in the correct one based on that? Or is there some other way that I am just not aware of. I am sure that others have come across this same problem too.
The reason I bring this up is because I have loaded the app onto a phone that is not 1080x1920 and the UI doesn't fit inside of it. I have tried messing with different settings on the UI but, nothing seems to fix it. Any help would be greatly appreciated.
There were two problems that were happening. The first reason why the UI wasn't scaling properly was because I was using a Size Box instead of just a plain Canvas Panel. It didn't matter what I did, the Size box would remain the same. Changing that would solve the first problem. The second problem that was happening was that because of the size box it forced my anchors to be centered instead of stretched. Once I replaced the Size Boxes with Canvas Panels I was able to make my panel anchors stretch to fill the screen.
I hope this helps anyone else that comes across this problem.
I was including CWAC-Android Library in my Project, at first, thanks a lot for doing this work.
But I experience some really strange problem.
Pictures in light scene (area, outside, bright light, beautiful day, sunlight), and images get some pink overlay,
on fast checking it i was not able to find a solution or a reason for that,
it seems it's just some overlay and not really "the image",
it tried it in my implementation,
and the library demo project, it exists in both .. :/
im doing it on a xperia Z1? maybe another problem?
any assistance would be great?
Some sample images
http://s1.directupload.net/images/140227/463xystc.jpg
http://s7.directupload.net/images/140227/l78xvjhd.jpg
sorry my mouth is always open on images :D ;) thanks
Pictures taken with sample (demo) project
Problem seems to occur when directly moving camera to bright "scene" and taking picture immediately, like this small amount of time when the camera screen is just overexposed
finally I didn't find any solution of the problem within the library to fix by myself,
did the implementation on my own (basic one) -> works just fine.
using following fix for distortions (portrait and lanscape):
https://stackoverflow.com/a/22201580/371749
good luck