Showing posts with label AutoParallaxBackgroundExample. Show all posts
Showing posts with label AutoParallaxBackgroundExample. Show all posts

Wednesday, September 4, 2013

[Tut] How to perform AndEngine Examples of Nicolas Gramlich - AutoParallaxBackgroundExample



Here're some resources for this part:


Copy 4 pictures above to the folder assets/gfx

Create new class named AutoParallaxBackgroundExample in the package org.anddev.andengine.examples of the AndEngineDemo project, here is the code of this class:
package org.anddev.andengine.examples;

import org.anddev.andengine.engine.Engine;
import org.anddev.andengine.engine.camera.Camera;
import org.anddev.andengine.engine.options.EngineOptions;
import org.anddev.andengine.engine.options.EngineOptions.ScreenOrientation;
import org.anddev.andengine.engine.options.resolutionpolicy.RatioResolutionPolicy;

Posted By Live Blog8:59 PM

Choose an Android item