Forest of Fun

Claire's Personal Ramblings & Experiments

Coupling Issue solved with Interface

Frank: Pet Game Programming Academic
Coupling Issue solved with Interface

Ye gods captain, PROGRESS.

After the dismal run around the pointlessness I have actually made some progress last night and today.

  • Coupling Issue solved with Interface
  • Island has day/night cycle
  • Shop Blimp interior & exterior modelled
  • Blimp added to world
  • Add a reliable help to translate between tile and world space
  • Started work on Sky Box
Coupling Issue

Okay so we don’t want the model (island & prop data) coupled to the view (scene graph, animations, models). Well the solution was to give every node in the scene graph a user data element which had an interface.

The core functions being, Update & Pre-Render. Further functions and event handles can be added to the interface to handle animations and the like. The interface is the façade which prevents tight coupling. Neat and clean, kicking myself for not seeing this solution weeks ago.

Sky Box

My reason for posting, indirectly. I waster the last hour or so trying to generate normal & height maps for clouds. Reading up on things I already knew how todo if I stopped and thought for a second. The moment I saw my folly I stopped to write this to break me out of it.

I will now grab some food then hopefully not be stupid.