Football Fans: Download the 2012 Schedule App from Google Play!


Go Back   Android Forums > Android Development > Application Development

Application Development Dev Lounge for the Coder Folks



Reply
 
LinkBack Thread Tools
Old January 22nd, 2012, 10:30 AM   #1 (permalink)
New Member
 
Join Date: Jan 2012
Posts: 3
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default Animating a character in Eclipse?

Hello people, I'm really newbie to this programming thing, and I was just trying to do a really simple platforming game. I got to make a really nice menu, with all buttons working...but when I got to the part of creating a character and making it move, I just couldn't find info anywhere.
Could someone explain me (or just post a bunch of code) about how to create a character, and to make it move left/right when I press some kind of button? ( and how to make that special button too) Thanks to whoever answers.

SomeQuickQuest is offline  
Reply With Quote
Sponsors
Old January 23rd, 2012, 05:03 PM   #2 (permalink)
Junior Member
 
jonathanrz's Avatar
 
Join Date: Jan 2012
Location: Brazil - Blumenau, SC
Posts: 69
 
Device(s): Motorola Defy - Gingerbread(2.3.3)
Thanks: 12
Thanked 5 Times in 4 Posts
Send a message via MSN to jonathanrz jonathanrafaelz
Default

Google releases a lot of tutorials, I think you should read them first.

If you want to build a game, is better using OpenGL, Google releases two tutorials of OpenGL.

Have fun: Technical Resources | Android Developers
jonathanrz is offline  
Reply With Quote
Old January 24th, 2012, 11:10 AM   #3 (permalink)
New Member
 
Join Date: Jan 2012
Posts: 3
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default hmmm

Maybe, but as I said, I just can't find them tutorials. Could you post a link to some that might help me with this? (Not OpenGL ones, at least for now) Thanks
SomeQuickQuest is offline  
Reply With Quote
Old January 24th, 2012, 11:34 AM   #4 (permalink)
Junior Member
 
jonathanrz's Avatar
 
Join Date: Jan 2012
Location: Brazil - Blumenau, SC
Posts: 69
 
Device(s): Motorola Defy - Gingerbread(2.3.3)
Thanks: 12
Thanked 5 Times in 4 Posts
Send a message via MSN to jonathanrz jonathanrafaelz
Default

In the link I posted have some tutorials, I'm a beginner too, so I have a lot of things that I favorited, here are some of the links:

Mark Vasconcelos Creative Solutions
Android – iMasters
https://developer.android.com/training/index.html

I didn't read yet, so I don't know what those links have, I just know that are about android dev.
jonathanrz is offline  
Reply With Quote
Old January 24th, 2012, 02:15 PM   #5 (permalink)
Senior Member
 
Join Date: Jul 2010
Posts: 977
 
Device(s): Samsung Galaxy S II, HTC Evo 4G, Amazon Kindle Fire
Thanks: 52
Thanked 199 Times in 144 Posts
Default

It is not a good idea to make real time games with the Android Canvas framework. the canvas framework is event-driven and is simply not fast enough to be of use in real time games.

OpenGL is the route you should go, however keep in mind that OpenGL methods in java are access through JNI and JNI calls are not cheap. Even with OpenGL, a lot of optimization is needed.
jonbonazza is online now  
Reply With Quote
Old January 25th, 2012, 01:56 PM   #6 (permalink)
New Member
 
Join Date: Jan 2012
Posts: 3
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks, jonathanrz, I'll check that out. And jonbonazza, maybe I should use OpenGL, but anyway, I asked for some tutorials/coding help. Would be nice if you could give me links to some tutorials or something? Thanks!
SomeQuickQuest is offline  
Reply With Quote
Old January 25th, 2012, 05:43 PM   #7 (permalink)
Senior Member
 
Join Date: Jul 2010
Posts: 977
 
Device(s): Samsung Galaxy S II, HTC Evo 4G, Amazon Kindle Fire
Thanks: 52
Thanked 199 Times in 144 Posts
Default

There are tons of tutorials on blogs around the web. What you need to do is think of exact topics you want to start learning and Google them. For example, if you want to develop games not using OpenGL, then start by looking at how to work with the Android Canvas API.
jonbonazza is online now  
Reply With Quote
Old January 26th, 2012, 03:27 AM   #8 (permalink)
Junior Member
 
jonathanrz's Avatar
 
Join Date: Jan 2012
Location: Brazil - Blumenau, SC
Posts: 69
 
Device(s): Motorola Defy - Gingerbread(2.3.3)
Thanks: 12
Thanked 5 Times in 4 Posts
Send a message via MSN to jonathanrz jonathanrafaelz
Default

I agree with JonBonazza, I'm also learning Android and thought the same as you, I will search for tutorials and do them all before start making my own aplications.

I spend two days lost in so much information, so I understood that I just need to make the Notepad tutorial, with this tutorial, you will learn everything you need to walk in android world, then, as JonBonazza talked, search for exactly what you need.
jonathanrz is offline  
Reply With Quote
Reply

Bookmarks


Go Back   Android Forums > Android Development > Application Development User CP
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -5. The time now is 12:08 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Custom vBulletin Skins by: Relivo