Quantcast
Channel: Tom Eggington » android
Browsing latest articles
Browse All 10 View Live

Placing a sprite on the background

It’s all very well having a static background, but I need to be able to place things on top of it. Having previously learnt that the dimensions of a BitmapTextureAtlas have to be to a power of two, I...

View Article



Making my sprite move

AndEngine makes it almost completely effortless to get my existing sprite moving across the screen. All that was required, was creating a new instance of PhysicsHandler, registering it as the update...

View Article

A little refactoring

Splitting out my patron into its own class made me feel happy, and I felt it was time to get a few other bits and pieces managing themselves also, instead of having all the dependencies hardwired into...

View Article

Some real sprites

I’m going to be using Charles Gabriel’s CG Artsenal: 24×32 RPG Character Template in an upcoming post about sprite animation.

View Article

A proper animated sprite that can walk

Wow, it’s been an action packed session! The goal for today was to jazz up my patron character with some proper animation, give him the ability to move in either direction on the x-axis and y-axis, as...

View Article


Swapping in a better background

Nothing much to provide in this update other than a progress report on my terrible artistry. So no code today, just a screen cap of a new background I’ve been at work on that will act as the game’s...

View Article

A main menu and more refactoring

I spent this last session creating a main menu for the game, with the requisite New, Load, Settings, and Quit menu items. I created it as a new Android activity, but some reading since has convinced me...

View Article

Turning an Activity into a Scene

Last time, I created a new Android Activity for my main menu, only to later decide that this wasn’t the right thing to do, and to avoid having multiple instances of AndEngine starting up (one for each...

View Article


Quitting and starting a new game

Just a micro-update to document the code behind the functionality of the main menu’s New and Quit buttons. New calls the SceneLoader for the tutorial level: Quit simply calls finish() on the current...

View Article


Creating and loading a HUD

In AndEngine, a Scene can be navigated around, scrolled zoomed, all that stuff. So when I want a heads-up display, there’s no point attaching the elements to the Scene. When the Scene moves, so will...

View Article
Browsing latest articles
Browse All 10 View Live




Latest Images