Author Archives: Ben

Layout Controls: Bindable and Data Bind

There is a lot to say about the theory behind data binding and the types of patterns you can use in developing with a UI that supports data binding. This is not going to address all of that, but I … Continue reading

Posted in Layout Controls | Comments Off on Layout Controls: Bindable and Data Bind

Layout Controls: LayoutCheckbox

LayoutCheckbox is a LayoutCapable implementation for UICheckbox. Since LayoutCheckbox uses a UICheckbox for display, the UICheckbox children need to be setup by giving the Box and Checkmark children an atlas and sprite and giving the Label child a font. The … Continue reading

Posted in Uncategorized | Comments Off on Layout Controls: LayoutCheckbox

Layout Controls: LayoutButton

LayoutButton is an implementation of LayoutCapable to give layout capabilities to buttons and is attached to an NGUI UIButton. Just like a normal NGUI button, it has two children: a UISprite background and a UILabel for text. These need to … Continue reading

Posted in Layout Controls | Comments Off on Layout Controls: LayoutButton

Layout Controls: ItemsControl

The ItemsControl component is used to dynamically generate other UI controls. It does not place the elements on its own, it only creates them and adds them as children. The ItemsControl prefab uses a LayoutStackingPanel to manage the placement of … Continue reading

Posted in Layout Controls | Comments Off on Layout Controls: ItemsControl

Layout Controls: Tab Panel

The Tab Panel is a control that ensures only one of its children is visible at a time. It creates a button for each child that controls which child is visible – clicking one of these buttons will show the … Continue reading

Posted in Layout Controls | Comments Off on Layout Controls: Tab Panel

Layout Controls: Scroll Viewer

The LayoutScrollViewer is intended to provide scrolling functionality for its children if they exceed the space available to them. Normally if a control’s minimum size is larger than the area available to it, it will squish up against the right … Continue reading

Posted in Layout Controls | Comments Off on Layout Controls: Scroll Viewer

Layout Controls: LayoutTable

The LayoutTable places its children in rows and columns that can size themselves in various ways. A demo video can be found here. When a control is place in a table cell (defined by the row and column), it is … Continue reading

Posted in Layout Controls | Comments Off on Layout Controls: LayoutTable

Layout Controls: Stacking Panel

The Stacking Panel is the simplest of the layout controls. It just places each one of its children next to each other, one after the other. LayoutStackingPanel has two properties to edit besides the ones inherited from LayoutCapable. The first … Continue reading

Posted in Layout Controls | Comments Off on Layout Controls: Stacking Panel

The Swapper – A Review

A friend gifted this wonderful indie game to me saying, “It’s a 2D platforming puzzle game with incredible visuals (it’s all claymation!) and an eerie story.” That sums up the game perfectly in one sentence. If you like Portal, you’ll … Continue reading

Posted in Game Review | Comments Off on The Swapper – A Review

Game Reviews

As part of my site redesign, I’m going to start writing some game reviews for my blog. I have no idea how it’s going to go, but I think it’s a pretty good exercise in critically thinking about the games … Continue reading

Posted in Game Review | Comments Off on Game Reviews