Showing posts with label CustomFontExample. Show all posts
Showing posts with label CustomFontExample. Show all posts

Friday, September 6, 2013

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



Here're some resources for this part:


Copy 5 font files above to the folder assets/font

Create new class named CustomFontExample 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;
import org.anddev.andengine.entity.scene.Scene;

Posted By Live Blog7:50 PM

Choose an Android item