Quantcast
Channel: Tom Eggington » tom
Browsing latest articles
Browse All 13 View Live

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

Reinventing the wheel

People say don’t re-invent the wheel. But the problem is, everyone else’s wheel is shit. This struck me as particularly poignant. Unfortunately I don’t have a credit for it.

View Article

The Law of Demeter

Today I’ve been wrestling with the Law of Demeter, and when it is and isn’t appropriate. When it comes to design patterns and best practices, I find it prudent to lean toward following them, unless I...

View Article


My rubber duck

Because everyone should have one.

View Article

Handling method signatures with too many parameters

In certain situations, I find myself putting together a method signature that may look something like this. A contrived, completely meaningless snippet, but what can be done when a method signature...

View Article

Building an entity component system suitable for game development

Entity component system? Given the length of time that has passed since my last post, it’d be reasonable to think that I’d given up on this place entirely. However, this isn’t the case and I’ve simply...

View Article


Immutable types in C#

I can’t be the only one who’s dying for built-in immutable type support in C#. I seem to spend my entire life writing this over and over.

View Article


Good programming

I’ve had a feeling creeping up on me for a while now. It’s a discontentment, a niggling resentment of the code-bases I work in. It’s my fault, and it’s other people’s fault as well. And the problem?...

View Article
Browsing latest articles
Browse All 13 View Live




Latest Images