Replica island only has one set of images, why? [closed] - android

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
When I looked at:
http://replicaisland.googlecode.com/svn/trunk/res/drawable/
and found it only had one set of images, I wondered why this was. Obviously I missed something because I thought everyone needed three sets of images so that you could support all android devices. (Phones) I have not looked through all the code yet, but does Chris just resize the images or not support other devices?

Obviously I missed something because I thought everyone needed three sets of images so that you could support all android devices.
Having four sets of images (-ldpi, -mdpi, -hdpi, -xhdpi) is generally a good idea... if you are using the widget-based framework, and for images used by the OS (e.g., launcher icons).
If you are writing a game -- particularly one like Replica Island, which uses OpenGL -- you are probably going to use different techniques. In Replica Island's case, it appears that DrawableBitmap handles scaling "between the bitmap resolution and the display resolution".

Related

How can I add broad image recognition to a mobile app? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I'm working on an Android app (though eventually I'll want to do the same thing on iOS) and I'm looking to build an image recognition feature into it. The user would snap a picture, then this component of the app would need to figure out what that image is, whether it's a bowling ball, a salad, a book, you name it. It would also be helpful if it could figure out roughly how big the object in question is, though I imagine the camera focus values could help with that. The objects in question would not be moving.
I've heard of neural networks being used, but I'm not sure how this could be implemented, especially since I want to be able to recognize a very wide range of objects. I highly doubt this sort of processing could happen natively on a phone either. What are some solutions to this problem?
I would suggest you look at OpenCV. They have an awesome open source library for image processing and object detection. They also have great Android sample apps ready for testing some of their APIs.
http://opencv.org/platforms/android.html

Library for a simple graphics application - Android [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I am creating a simple graphics application, where the user can draw several shapes, change the shape color-size, zoom, rotate the device etc. After researching, I found out that there are many options on how this can be achieved and I find it hard to choose which approach would benefit me more. One approach that I have started testing is to create a custom view and to draw on Canvas.
Is this option valuable in order to proceed without having the futuristic fear of low performance resulting to switch over something else (e.g. something like OpenGL)?
Or better, given the brief description above, what would you recommend as the best option?
As this is an opinion based type of question, I think this one might get closed, so I'll type fast: I think to get your app up and running fast, Canvas is your best approach (lots of easy docs and examples out there), unless you're already an export in OpenGL, to which there is quite a steep learning curve. It doesn't sound like, from your app requirements, you would hit upon any serious performance issues, and, as I say, you can get thing running quickly. If performance is not adequate, you can latter switch to pure OpenGL or use a framework for it like libGDX, Rajawali, AndEngine, etc.

Is better have one huge image or have different size of the same image [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
i mean is better way to have one huge image then resizing by dp in the layout or is better have different size of the same image.thanks i'm pretty new on android design so i hope someone could explain me.
In general it is better to have an image in multiple sizes since resizing may cause areas of the image to be scaled incorrectly in terms of what you expect/want. This is the main reason that Android has multiple drawable resource directories. Additionally, by using multiple images resolutions your application will take up less running memory (RAM) than it would if you were to scale large resolutions for every image.
Different sizes is better. Doing it only once is more efficient than doing it each and every time the app opens up.
However, if you're just doing a prototype, do not worry about that part.

How does graphics set look if made for 2D games? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
We created graphics for many mobile apps, but this is the first time our designer has to create graphics for 2D game.
Should he create a Photoshop file like in mobile app projects or there are some specific things when creating 2D-game graphics?
I tried to find answer on the net, but I found nothing on this specific issue. I would appreciate someone who is familiar with game coding replies as he had probably received graphics to implement into his code.
Basically most 2D games are tile based.
So your designers should provide graphics files where all possible artifacts and animations are visible.
Afterwards you need to take snippets from those images to create tile sets that are usable by the game engine that you are using for each game level.
An example of editors for tile set editing is the famous Tiled, http://www.mapeditor.org/.
The game engine is then takes care of for locating a tile set for the given level, and using the available tiles for the background and character animations.
I'd say that it depends on what tools/frameworkds you want to use...
If you intend to use cocos2d (really nice 2D mobile game framework), then you should definitely have a look at CocosBuilder (http://cocosbuilder.com), a great editor for collaboration between designer and developer.

how do i get my app to this kind of level? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
There is that app called "turkey blast: reloaded" (link below). The graphics and animation of the game are amazing! Also it is 2d but looks like 3d, I'm not sure how to explain it. Anyways, I am also making an app which is quite different from that (nothing alike..) but I love the menu and the sound and the graphics of this game. The game that I'm working on is about to be finished but its not even close to that kind of level... One of the things that interest me the most in this app is the graphics. How can I make a game with this kind of graphics? I have someone that draws the sprites for me but its hand-drawn, what kind of program do they use? also, how did they make that menu? (all the items in the menu are arraged in a way that you can scoll in them <------> to get to the item that you want.) I am just using texture and texture region. Thanks!
Turkey Blast: Reloaded
https://market.android.com/details?id=com.ezone.Turkey
How can I make a game with this kind of graphics? I have someone that
draws the sprites for me but its hand-drawn,
If you want pro graphics you will need to hire a pro artist. There are several websites where you can find one, including guru.com, odesk.com, etc.

Categories

Resources