BrokenTeapot

- friends
1,250 link karma
24 comment karma
send messageredditor for
what's this?

TROPHY CASE


  • One-Year Club

    Verified Email

Want to be an Android developer? Learn this by heart. by thedroidprojectin androiddev

[–]BrokenTeapot 0 points1 point ago

It says "Shared lib already loaded in same CL" and doesn't re-call the constructors.

Want to be an Android developer? Learn this by heart. by thedroidprojectin androiddev

[–]BrokenTeapot 0 points1 point ago

They're loaded the first time you call System.loadLibrary. But there's no way to unload them manually. I guess the OS eventually unloads them "whenever it feels like it".

Want to be an Android developer? Learn this by heart. by thedroidprojectin androiddev

[–]BrokenTeapot 3 points4 points ago

Be careful about those lines leading to "Process is killed". You can go directly from onPause to onCreate without passing through onStop/onDestroy. This caused some pretty nasty bugs in my C++ code because the C++ libs are not always reloaded when onCreate is called.

In fact, if you're doing NDK programming you can just ignore this graph completely except for onPause/onResume.

Looking for an ebook that will teach me Java (which I don't know yet) on the Android platform by Enforsin androiddev

[–]BrokenTeapot 2 points3 points ago

sorry, this has been archived and can no longer be voted on

I would recommend learning Java first, then jumping into the Android SDK afterwards. Learning two things at once is a recipe for frustration. There are a good list of Java tutorials for the absolute beginner on Stack Overflow.

Screenshot Saturday - 025 - Progress report! by Argesin gamedev

[–]BrokenTeapot 3 points4 points ago

sorry, this has been archived and can no longer be voted on

Are we allowed to post videos? I made a video showing my progress so far on an Android game I'm developing. Nothing too exciting, just some placeholder art with parallax scrolling and a demonstration of my debug information for input gestures.

http://www.youtube.com/watch?v=nD5_ZRC70OA

Android Game Development Blog #16 - POSIX Threads by BrokenTeapotin androiddev

[–]BrokenTeapot[S] 1 point2 points ago

sorry, this has been archived and can no longer be voted on

Things are moving slower than I would like right now, 60-hour weeks at work kill my available free time and enthusiasm. Hopefully things will pick up in the future!

Android Game Development Blog #15 - Input, Touch Screen, Hardware Keyboard and Physical Buttons (With short video!) by BrokenTeapotin androiddev

[–]BrokenTeapot[S] 0 points1 point ago

sorry, this has been archived and can no longer be voted on

They're blog posts not tutorials, they're aimed at game programmers who have already used these concepts in the past and just need to know the Android specifics.

Screenshot Saturday - 022 - Not Given Up Yet? by Cranktrainin gamedev

[–]BrokenTeapot 5 points6 points ago

sorry, this has been archived and can no longer be voted on

Even if all you've got is some coloured squares on a screen, all our projects start somewhere, and we promise we won't laugh.

You promised you wouldn't laugh so here's what I've got so far (visually), just doing some rendering tests with placeholder art.

I'm writing an Android game and blogging about it.

Post your gamedev blog. by dangerzin gamedev

[–]BrokenTeapot -1 points0 points ago*

sorry, this has been archived and can no longer be voted on

Android Game Development Blog

I'm a full-time console games programmer who is writing an Android C++ 2D OpenGL game in my free time and blogging about it. I'm basically blogging about every single new thing I learn about Android programming that would be of use to some one else with a similar background to mine.

Android Game Development Blog #12 - Android texture performance (RGB vs. ETC1) by BrokenTeapotin androiddev

[–]BrokenTeapot[S] 2 points3 points ago

sorry, this has been archived and can no longer be voted on

Sorry this one took so long, writing and testing my data packing program and filling in the outlines of my rendering engine took a while.

Would anyone be interested in my data packing workflow? It's not 100% Android related but if people are curious I could give an overview and maybe post the source code.

Android Game Development Blog #11 - Loading OpenGL textures in C++ (and ETC1 texture compression) by BrokenTeapotin androiddev

[–]BrokenTeapot[S] 0 points1 point ago

sorry, this has been archived and can no longer be voted on

I'm trying to use /assets with the AssetManager, but I still have to use files certain file extensions like .mp3 or .png, it fails to find the asset if I call it .pkm or .txt for example. Any idea why?

descriptor = mContext.getApplicationContext().getAssets().openFd("tex.mp3");

Android Game Development Blog #11 - Loading OpenGL textures in C++ (and ETC1 texture compression) by BrokenTeapotin androiddev

[–]BrokenTeapot[S] 0 points1 point ago*

sorry, this has been archived and can no longer be voted on

Thanks! I've added a link.

By the way, how did you get that syntax colouring for your code boxes? (I'm using movable type, and I'm pretty new to blogging)

Android Game Development Blog #4 to #10 - SDK and NDK installation, Visual Studio Integration, printfs and debugging, OpenGL ES 2.0 by BrokenTeapotin androiddev

[–]BrokenTeapot[S] 1 point2 points ago

sorry, this has been archived and can no longer be voted on

I'll let you know if WinGDB releases a working debugger in the future.

view more: next