Added: 2 years ago
From: GoogleDevelopers
Views: 118,700
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (166)

Sign In or Sign Up now to post a comment!
  • So all of these oop principles gonna slow you down... great

  • wtf happened to the sound? yesterday it was fine =/

  • nice sound ;)

  • jkvjku,b, what are you saying, i know it is something awsome, i just don't understand it

  • watched this awesome talk at least ten times in the last couple of months. game programming is pain!

  • Check out one of my first 3D application I wrote on my channel or use this: /watch?v=DLplItqq9YA

    Tell me what you think. Thanks :)

  • Who wants to be a gay for host?

  • 00:00:46 you know that you audience consists of a bunch of nerds if they laugh about THAT joke (if it was even meant to be a joke).

    wait a second, I probably would too...

  • * Use a game-object graph to group all your players, explosions, everything. Objects can hold other objects. The game-loop essentially walks the object graph and calls .execute() on each object, time permitting. If not enough time in the current frame, then some object-groups are skipped. See his "ReplicaIsland" opensource game for example.

  • @ncr100 * Each object can do a list of functions, optionally: render, intersect, collect input, etc.

    * Use 3 threads: 1. main thread for miscellaneous bootstrapping, mostly idle. 2. game logic thread for updating positions, intersections, etc. 3. rendering thread for blitting.

    * Use DDMS to discover unexpected memory allocations by the Java runtime - in places where you think there are no allocations, sometimes there are. Force trigger GC during idle times...etc.

  • @ncr100 * Add a profiler to collect stats from the start of your project. Dump values to the log every 3 seconds. Not to screen since that can interfere with framerate.

    * Use [] array not the Collections (ArrayList, etc) as they alloc. Don't use enum. Don't use Array.sort() Consider using an alternate framework that doesn't use allocations, or does use a pool .. to replace Collections.

  • @ncr100 * Don't call functions if possible. Use static functions. Don't call through interfaces (30% slower). Virtual functions ok, but not interface, nor jni. So no .get nor .set if possible. Make fields public. Avoid calling lots and lots of native functions - calling is slow even though the native functions themselves are quick.

    * Use final keyword. Use android Log.d instead of System.out.println.

  • @ncr100 * Use TraceView - the android sdk's profiling tool.

    * Use SpriteMethodTest sample app to try out the canvas verus opengl speed. opengl draw_texture 2d can be 3x faster than using canvas. most devices today support opengl 1.1+. VBO can be useful too since you can use UV's to build your scene and use fewer draw jni calls. ATITC texture compression can help improve performance on devices that support it.

  • Respond to this video... * Touch events come in floods - try sleeping for 16ms in the onTouch callback to slow that down

    * Take time to polish your game - appeal to picky users with higher quality stuff.

  • He looks a bit like the young Jimmy Page :)

  • pruett is a true public speaker for all coders, awesomeness, better shirt than that 2010 one, lol - gaz.

  • It would be really really cool if we could download the presentation to remember, show others, read again once!

  • Appiction isn't your ordinary mobile application development company. We’re an App Development Studio with ownership in 50+ applications. We turn a large number of potential clients away because we don't build low-cost and non-performing apps. We build quality. If success is important to you, and you want your idea to flourish, we're your app development partner.

  • Do you have iPhone app idea? You can make your own iPhone app with a software called AppWizard in less than 30 minutes

  • Do you have iPhone app idea? You can make your own iPhone app with a software called AppWizard in less than 30 minutes.

  • very good iPhone.

  • "Do you have iPhone app idea? You can make your own iPhone app with a software called AppWizard in less than 30 minutes"

  • "Do you have iPhone app idea? I heard you can make your own iPhone app with a software called AppWizard in less than 30 minutes"

  • DAMN that game sucked so hard.

  • this guy talks EXACTLY like Tony Stark... Robert Downey Jr.'s illegitimate son much?

  • There's lie, big lie and statistic 0:04:22. Google trying to create a boom for cell phone gaming? Good luck, Google agent!.. U imposter of a greasy haired nerd! :)

  • subtitles are out of sync.. and disappear too fast

  • "writing java code that is fast"

    Java code? o.0

  • @grimlock047

    programming language

    like c, c++...

  • @grimlock047 Yes, the android platform is able to run Java code natively so you do not have the virtual machine overhead.

  • What does he mean when he says don't use functions? 34:35 how in the world can I make a game without calling functions?

  • @veQue2 Hey Just remove you function call from you function call So you can inline while you inline!

    (Oh yes, Uncle Bob would be mad. I mean realy MAD)

  • @veQue2 It's half a joke, but half serious: The less function calls you make, the more optimized it is. In other words, don't put all of your logic into dozens of Java methods; try to put all of your logic into as few methods as possible. This only applies for code that needs to be optimized; i.e. a game loop which is called 60 times a second.

  • @veQue2 It's half a joke, but half serious: The less function calls you make, the more optimized it is. In other words, don't put all of your logic into dozens of Java methods; try to put all of your logic into as few methods as possible. This only applies for code that needs to be optimized; i.e. a game loop which is called 60 times a second.

  • Comment removed

  • best video on youtube.

  • thanks exactly what i was looking for

  • I really would enjoy watching this, but the sound seems to be corrupt! Please re-upload or fix, as everything said is invaluable.

  • Nice

  • Great talk, thanks!~

  • I can't here well the sound. It seems it's broken.

  • Good presentation, but I have sinking feeling that he may be a vampire...

  • Wow. This guy is my hero. He's wearing a dork sweater, has pale skin and greasy hair. You know this guy is legit.

  • @Virginityrocks Dork? :p you must be American >.<

  • @Virginityrocks

    Don't forget...he also speaks Japanese. *facepalm* *shakes head*

  • @priestwhitebrows

    he does ?, he might wanna check my anime video,and tell me if the subs are terrible..

    i have no clue..

  • Really cool presentation, helps put things into perspective for those of us considering developing on Android. I enjoyed the jokes :)

  • The dude is scary. Ultimate 'pick me' mentality with a head on his shoulders.

  • Generally all Google speakers are sympatic. Because they have so high knowledge.

    BTW, it helps seeing it a second time. The subs are out of sync thgough, theyre not helping if english is not the native language.

  • Hey google Make youtube videos longer we know u have bandwidth problems but look there are thousands of youtube partners u guys make billions every day i mean WTF let us have at least 1 hour long videos

  • @avingard hahahaha, your comment to him made me laugh

  • Good talk, I think he just convinced me not to make games in Java. :P

  • @avingard um explain what you mean?

  • Awesome. Very useful insights and tips. Thanks!

  • it's annoying to listen at hes to nervous

  • @kassem435 It sounds like a good speech, but damn he is speaking very (too) fast.

    I understand, if he is not used to speaking, after a while it becomes hard, because there is no reaction from the crowd for some time. It can mean they are interested and listening, but he needs a reaction from them. Maybe to relax himself he shut put in a joke of some kind, so he can hear people laugh.

    Anyways, he is young, I think he will learn. Everyone are nerveous the first times..

  • @ytvoice1 i do agree if i was in his position i would have let some jokes out just to get a reaction

  • @kassem435

    but, he sounds sympathic

  • Comment removed

  • interesting...i wish i knew what he was talking about :-/

  • @overtext Take any basic CS course and trust me, you will.

  • @0rmick thanks I'll look into it

  • thanks for sharing

  • Freaking movies on Youtube...

  • is there a transcript somewhere?

  • The subs suck. I like all GoogleDevs vids. This is really helpful.

  • is it only for me or the sounds is quite low quality and quiet?

  • @hardToSignUpHere Fine for me!

  • very good!

  • he says "um" a lot...

  • lol they own your comment.

  • @pliablemammal lol true! They can gladly have it. Plenty more where than came from. In ten years time, if Bing doesn't beat em, comments like that will probably get people killed by a Google laser built into their laptop.

  • Maybe it's Java.

    Wonder when someone is going to release a C/C++ tools

  • @carmscarms so?

  • This was very helpful for me

    since I'm also working on android games.

    and like what he said.

    I also never wrote an java app before

  • @RedClownKnight What are you really working on. We have been working on android since 4 months. Made a plenty of database apps. Now we have begun working on games.

    Have you looked into game engines like Rokon?

  • i ran his frame rate tester on my droid, and canvas had better frame rate than the 3 opengl options

  • Yeah, I'm trying to find out what's up with that, too. Some posts online say that OGL configs in the droid need tweaking. On the other hand, the program behaved the same in the emulator.

  • I would be interested in seeing his source code...

  • @frenchmen77 me too

  • Its a really cool presentation, but he could talk a little slower at some points.. Nevertheless cool!

  • I'm definitely getting an Androit :)

  • This was great help. Thanks.

  • What do you mean "were?" Humans are continually evolving.

  • this video is waaaaaaaay to quiet.

  • Antes estos videos tenían subtítulos cierto?...

  • I tried to add comment but mistakenly reported this as obscene -- it's not, sorry.

    I didn't see the URI at the end of this video, and would like to look at it...

    My feedback: This video excellent. Very informative. The only thing that could make it better is if the speaker had another half an hour or so to answer all the questions from the audience.

    I'm keen to learn OpenGL in Java for Android now, and my next phone will have Android so that I can experiment.

  • This video is going to save me a lot of pain for my next development. Gracias Chris, VBO's seemed like the thing that will work for me.

  • who actually watched the whole thing

  • meeeeeeeeeeeeeeeeeeeeeeeeeeeee­e not

  • I watched the whole thing, although I paused it part way through to go have dinner. It was a very informative presentation.

  • ive had the problem with frame rate in flash befor.

    so its not just an android problem

  • I'm getting an HTC Droid Eris. I kinda wonder how game input will work, since it has no hardware keyboard. It only has the touch screen, two regular buttons (Send and End), a trackball and some touch buttons. Wouldn't using the screen for input during a game bog it down as was mentioned toward the end of the presentation, or are there ways to simplify the events that'd take place as you touched the screen?

  • Maybe the touch-screen just acts like a mouse? That's how it works on other computers.

  • Sorry dude, but you are definitely gay

  • So true about making games, determining which players play what and how to compose the AI, great presentation, coding games on android is hard though I attempted coding, HARD

  • 1 hour and 1 min, wow

  • Thanks, save around 20% cpu time in my game thread by applying some of the techniques you mention...

  • The reason it's stressed is that he has to cover lots of information in one hour

  • "Muscle bound space marines who have amnesia"!!! LMAO!

  • Console is "old?" Is "old" a bad thing, or a good thing? I like console games, especially those that use ASCII art, and I also value both new and old, so I'm confused by your comment.

    Could you elaborate on what you're really asking? Thanks.

  • Actually, I agree with the idea of bringing back the older style of games. All these big 3D games that are available today are mostly the same, with the same game mechanics, albeit with different textures, characters, weapons, etc.

    The games from the 1980s provided true variation that truly tickled our brains, which nearly all modern games fail to do. I would love to see more 1980s spirit in gaming come back, and I hope Android will be the platform to "trigger" this.

  • That's not even a word.  You want to try again?

  • Oh, I see, that was an acronym! I think I can figure this one out 50%...

    If the first two letters stand for Scott Tinnerman, the last two stand for...

    Hmm, I dunno. What would they could be for? Hmm.

    Would you like some home made soup?

  • Comment removed

  • Hey, you will respect my authoritah! I will tell you what to do, not the other way around!

  • You keep writing the STFU acronym, but I only have a guess for what 50% of it means. You are a terrible communicator.

  • S.T.F.U, Noone wants to see you typing 'STFU' repeatedly. Fagtard.

  • Great presentation. Helped me a lot.

  • He is probebly the ultimate nerd XD But it was a cool speech, nice to see how he pot some jokes in an otherwise kinda boring talk

  • No.

  • Great talk, learned some interessting stuff :) *starting eclipse*

  • great talk! enjoyed all of 60 minutes! though i don't know much about programming

  • 45 days ago, and still no source code online... :-(

    c'm on -- release it guys!

  • Hi - nice talk, lots of detail but... did the code get posted anywhere. Many thanks.

  • Audio is really odd. It sounds all garbled (androidy ;) but when I plug in headphones it's all fine. Pulse audio to blame again? Linux audio stack in general? ;)

  • This happens to me too when the speakers aren't plugged in properly, i use vista

  • Most of the I/O videos are very low at volume, so i have to download them and play with an external player which can do amplification. Although it's very good that all the session go online on YouTube.

    I wish i can have a HTC Magic too so i can start developing for a real hardware. :|

  • Very weird audio

  • Heheh... Placed an order for a HTC Magic yesterday. Oh happy day! :o) I hope I get it by friday. It seems to be one heck of a phone.

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more