Re: [android-developers] Drawing on a canvas like normal VS OpenGl

2011-01-08 Thread Leigh McRae
  Going with OpenGL increases the complexity of the game as you now 
have to deal with activity life cycle issues and drivers.   You also now 
have to manage creating and loading textures.  All these things can be 
managed of course but they will have to be managed and hence will 
require more effort on your part.


  I have released Freddy Jump, Freddy Falling and Wrath all using 
regular canvas calls.  They all have lite versions if you want to check 
them out.  None of these games have a performance problem AFAIK but they 
are pretty basic.


  If your game requires sprite scaling or rotations, then I think you 
should consider OpenGL.  Freddy Jump has rotations on Freddy but the 
scenery is sparse.  If you're just starting out I would strongly suggest 
making a simple game that uses Canvas.


Leigh

On 1/8/2011 3:58 PM, brian purgert wrote:


What about drawing multiple background layers
On Jan 8, 2011 2:42 PM, "brian purgert" > wrote:

>
> Thanks I started watching that video,
>
>
> On Sat, Jan 8, 2011 at 8:37 AM, Miguel Morales 
mailto:therevolti...@gmail.com>> wrote:

>>
>> You should watch this:
>> 
http://www.google.com/events/io/2009/sessions/WritingRealTimeGamesAndroid.html

>>
>> On Fri, Jan 7, 2011 at 8:34 PM, brian purgert 
mailto:brianpurge...@gmail.com>> wrote:
>> > So I was just wondering is openGL better in terms of making a 
2dgame. does

>> > it render faster then if I were to draw on a Canvas
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups "Android Developers" group.
>> > To post to this group, send email to 
android-developers@googlegroups.com 


>> > To unsubscribe from this group, send email to
>> > android-developers+unsubscr...@googlegroups.com 


>> > For more options, visit this group at
>> > http://groups.google.com/group/android-developers?hl=en
>>
>>
>>
>> --
>> ~ Jeremiah:9:23-24
>> Android 2D MMORPG: http://developingthedream.blogspot.com/,
>> http://www.youtube.com/user/revoltingx
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to 
android-developers@googlegroups.com 


>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com 


>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en 


--
Leigh McRae
www.lonedwarfgames.com

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Drawing on a canvas like normal VS OpenGl

2011-01-08 Thread brian purgert
What about drawing multiple background layers
On Jan 8, 2011 2:42 PM, "brian purgert"  wrote:
>
> Thanks I started watching that video,
>
>
> On Sat, Jan 8, 2011 at 8:37 AM, Miguel Morales 
wrote:
>>
>> You should watch this:
>>
http://www.google.com/events/io/2009/sessions/WritingRealTimeGamesAndroid.html
>>
>> On Fri, Jan 7, 2011 at 8:34 PM, brian purgert 
wrote:
>> > So I was just wondering is openGL better in terms of making a 2dgame.
does
>> > it render faster then if I were to draw on a Canvas
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups "Android Developers" group.
>> > To post to this group, send email to
android-developers@googlegroups.com
>> > To unsubscribe from this group, send email to
>> > android-developers+unsubscr...@googlegroups.com
>> > For more options, visit this group at
>> > http://groups.google.com/group/android-developers?hl=en
>>
>>
>>
>> --
>> ~ Jeremiah:9:23-24
>> Android 2D MMORPG: http://developingthedream.blogspot.com/,
>> http://www.youtube.com/user/revoltingx
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Drawing on a canvas like normal VS OpenGl

2011-01-08 Thread brian purgert
Thanks I started watching that video,

On Sat, Jan 8, 2011 at 8:37 AM, Miguel Morales wrote:

> You should watch this:
>
> http://www.google.com/events/io/2009/sessions/WritingRealTimeGamesAndroid.html
>
> On Fri, Jan 7, 2011 at 8:34 PM, brian purgert 
> wrote:
> > So I was just wondering is openGL better in terms of making a 2dgame.
> does
> > it render faster then if I were to draw on a Canvas
> >
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscr...@googlegroups.com
> > For more options, visit this group at
> > http://groups.google.com/group/android-developers?hl=en
>
>
>
> --
> ~ Jeremiah:9:23-24
> Android 2D MMORPG: http://developingthedream.blogspot.com/,
> http://www.youtube.com/user/revoltingx
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Drawing on a canvas like normal VS OpenGl

2011-01-08 Thread Miguel Morales
You should watch this:
http://www.google.com/events/io/2009/sessions/WritingRealTimeGamesAndroid.html

On Fri, Jan 7, 2011 at 8:34 PM, brian purgert  wrote:
> So I was just wondering is openGL better in terms of making a 2dgame. does
> it render faster then if I were to draw on a Canvas
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



-- 
~ Jeremiah:9:23-24
Android 2D MMORPG: http://developingthedream.blogspot.com/,
http://www.youtube.com/user/revoltingx

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Drawing on a canvas like normal VS OpenGl

2011-01-08 Thread David Turner
On Sat, Jan 8, 2011 at 5:34 AM, brian purgert wrote:

> So I was just wondering is openGL better in terms of making a 2dgame. does
> it render faster then if I were to draw on a Canvas


It really depends on what you're doing.There are certain things that are
simply not possible or simply slower with OpenGL (e.g. high-quality
anti-aliased vector rendering being one of them). Also not all GLES
driver/chips are the same, and your performance may vary.

 --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Drawing on a canvas like normal VS OpenGl

2011-01-07 Thread brian purgert
So I was just wondering is openGL better in terms of making a 2dgame. does
it render faster then if I were to draw on a Canvas

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en