An action-based game engine in Direct 3D