PDA

View Full Version : Project: An Arcane Legends Live Wallpaper!



Madstar
12-20-2012, 01:40 PM
Hey guys, i'm looking for a team, that knows a bit in computing, developing, programming, coding and all these stuff, to build something amazing.
Samhayne recently posted an awesome Arcane Legends comic, and also a beautiful Arcane Legends winter wallpaper:

22000


Our goal, is to create a Live wallpaper for Android/iOS (jailbroken) devices. What we should do, is make this picture with a good resolution for mobile devices, and the main goal to make it Live, is to make this snow actually move, and fall! We need to make the snowfall effect with this wallpaper.

I have some coding here we could use to start off, and you can PM for a .zip file with the Engine to develop. I don't think all this will be hard to make!


Code 1:

public class FallingSnowWallpaperService extends WallpaperService {
@Override
public Engine onCreateEngine() {
return new FallingSnowWallpaperEngine();
}
}


Code 2:


<service
android:name="com.mamlambo.fallingsnow.FallingSnowWallpaperServi ce"
android:label="@string/app_name"
android: permission="android.permission.BIND_WALLPAPER" >
<intent-filter>
<action android:name="android.service.wallpaper.WallpaperService" />
</intent-filter>
<meta-data
android:name="android.service.wallpaper"
android:resource="@xml/fallingsnow_wp" />
</service>


Code 3:


@Override
public void onSurfaceDestroyed(SurfaceHolder holder) {
super.onSurfaceDestroyed(holder);
if (mSnowRS != null) {
mSnowRS.stop();
mSnowRS = null;
}
if (mRenderScriptGL != null) {
mRenderScriptGL.destroy();
mRenderScriptGL = null;
}
}
@Override
public void onSurfaceChanged(SurfaceHolder holder, int format,
int width, int height) {
super.onSurfaceChanged(holder, format, width, height);
if (mRenderScriptGL != null) {
mRenderScriptGL.setSurface(holder, width, height);
}
if (mSnowRS == null) {
mSnowRS = new SnowRS(width, height);
mSnowRS.init(mRenderScriptGL, getResources(), isPreview());
mSnowRS.start();
}
}


Anyone knows a bit of these? Anyone willing to help? Let's do this guys! :)