Live Wallpaper Template

  ... tutorials on how to use AndEngine.

Live Wallpaper Template

Postby Mimminito » Tue Aug 03, 2010 2:10 pm

I thought I would share this with people, as its going to become very handy for me!

Its a Live Wallpaper Template project for Eclipse. Its got the two main classes setup, the LiveWallpaper main class, and the Settings class.

All you need to do it go ahead and add in your content now!

Hope someone finds it useful...
Attachments
LiveWallpaperTemplate.zip
(531.77 KiB) Downloaded 12908 times
---------------------------------------
Adam Goodchild
Your AndEngine Forum Moderator!
My Tutorials List
http://www.adam-goodchild.co.uk
---------------------------------------
Mimminito
 
Posts: 360
Joined: Wed Jul 21, 2010 3:08 pm
Location: Chelsmford, UK

Re: Live Wallpaper Template

Postby jrd0 » Wed Aug 11, 2010 11:10 pm

25 downloads and no thank you :(

Thanks mate :)
jrd0
 
Posts: 37
Joined: Thu Jul 08, 2010 1:01 pm

Re: Live Wallpaper Template

Postby Mimminito » Wed Aug 11, 2010 11:11 pm

Haha didnt even notice. But no problem
---------------------------------------
Adam Goodchild
Your AndEngine Forum Moderator!
My Tutorials List
http://www.adam-goodchild.co.uk
---------------------------------------
Mimminito
 
Posts: 360
Joined: Wed Jul 21, 2010 3:08 pm
Location: Chelsmford, UK

Re: Live Wallpaper Template

Postby Anton » Thu Aug 12, 2010 12:04 am

Man, I wish I had a better phone so I could use Live Wallpapers, would be really fun to experiment with creating them. :)
(Well, thanks to custom roms, I can actually use them, but they will drain my battery like hell)
Anton
 
Posts: 48
Joined: Fri Aug 06, 2010 3:50 pm

Re: Live Wallpaper Template

Postby cesarramirez » Sun Aug 15, 2010 5:38 am

Thank you very much!! :D
cesarramirez
 
Posts: 21
Joined: Sun Aug 01, 2010 9:04 am

Re: Live Wallpaper Template

Postby GalaxyKnight » Sun Aug 15, 2010 7:49 pm

Thanks for that.
Helps me very much. I appreciate your work.
:check:
GalaxyKnight
 
Posts: 10
Joined: Sat Aug 14, 2010 10:56 am

Re: Live Wallpaper Template

Postby Mimminito » Sun Aug 15, 2010 8:46 pm

No problem. Thank Nicolas more than me, this would not be here without his AMAZING work...
---------------------------------------
Adam Goodchild
Your AndEngine Forum Moderator!
My Tutorials List
http://www.adam-goodchild.co.uk
---------------------------------------
Mimminito
 
Posts: 360
Joined: Wed Jul 21, 2010 3:08 pm
Location: Chelsmford, UK

Re: Live Wallpaper Template

Postby mattguest » Thu Aug 19, 2010 10:18 am

Awesome sample, this helped me along nicely.

Can anyone point me in the right direction to handle screen size changes, like when the phone is rotated? Currently my wallpaper squishes when I go into landscape mode and I can't seem to find any way to change the dimensions of the camera to match the new screen size.

I've been poking around for a while, looking at the AndEngine source with no luck. If anyone has any hints I'd appreciate it. Rotation support would make a great addition to the template.

thanks!
mattguest
 
Posts: 1
Joined: Tue Aug 10, 2010 3:37 pm
Location: NJ, USA

Re: Live Wallpaper Template

Postby Mimminito » Thu Aug 19, 2010 12:53 pm

Well, in theory you just have to swap the Camera's Width and Height Values around (as thats all you have done when you rotated...).

Check the developer.android.com website for more information on screen sizes etc. I hope to do a tutorial on it at some point when I have more experience in handling them. As of yet though, there is not an Example for AndEngine on changing the orientation of the game though (mainly cos you may not do this in most games... maybe in puzzle games you would though). Im sure someone else can beat me to posting something up if they are kind enough though.

Let me know how you go with it though.

Note: I have a Desire, so its got Sense on it, and therefore I cannot change the orientation of the Live Wallpaper!
---------------------------------------
Adam Goodchild
Your AndEngine Forum Moderator!
My Tutorials List
http://www.adam-goodchild.co.uk
---------------------------------------
Mimminito
 
Posts: 360
Joined: Wed Jul 21, 2010 3:08 pm
Location: Chelsmford, UK

Re: Live Wallpaper Template

Postby Kangee » Fri Aug 20, 2010 10:05 am

Thank you. Your example has helped me a lot :-)
Kangee
 
Posts: 9
Joined: Tue Aug 17, 2010 11:22 pm
Location: near Bremen, Germany

Next

Return to Tutorials

Who is online

Users browsing this forum: Exabot [Bot] and 14 guests