Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialDonghyeok Yun
4,514 PointsMy PNG image character is invisible in Android Studio??
I added the image in the drawable folder in the android studio, but when I tested the game out the character came out to be invisible, but the character still made its collision. How do I fix this invisibility of a character?
BitmapFactory bf = new BitmapFactory(); // imports idle canvas skin, makesure to change your name to lowercase otherwise error will occur Bitmap idleImg = bf.decodeResource(Constants.CURRENT_CONTEXT.getResources(), R.drawable.alienblue);
1 Answer
Lauren Moineau
9,483 PointsHi. Can you provide a link to the lesson/challenge please? Thank you :)