Friday, April 25, 2008

ADOgames forum opened!

Hi.

ADOgames forum is now operational.

We would try and keep the forum updated with information regarding our current projects. Forum is also permanent place for the discussion about Galactic Engine 2.

Go ahead and visit us:

Wednesday, April 23, 2008

GE2 GUI Prototype 1.5 TrackBars

Hi.

I would like to give another update regarding the new GUI I am working on.

The latest changes that were made:

1. Control position bounds:
Every control position now can be limited to certain bounds:


2. DragBox grid snap:
It is possible to define how the drag control item position would be rounded when it is dragged.



3. DragBox axis filter:
For DragBox the programmer can define in which direction the drag control would move. Either X , Y or both


Using all these features it is possible to define TrackBar.

The trackBar is a simple control that has a small control usually called "Thumb" or "Slider".
Every windows user is familar with display control window with resolution trackbar:


In Galactic engine there are 2 trackbar controls: vertical and horizontal. Each control has a "thumb" which itself is a DragBox control. The DragBox was defined with position bounds so it wouldn't pass through the trackbar parent size rectangle. Also it has a specific axis defined so it would drag controls only in one direction. When dragging is occured the control finds new thumb position and recalculates current trackbar value based on relative percentage between minimum and maximum values.

Trackbars can have also the maximum and minimum values set, so the thumb would only move within these limits.


Here is a video that demonstrates new trackbar in action:




For more information visit Galactic Engine 2 forum

Wednesday, April 16, 2008

Stack walker added

Another little update.

I have added stack walker for the engine created by Jochen Kalambach. It is helpful tool that shows how the functions were called. With a little utility dbghelp.dll it is possible.

Here is a screenshot that shows error report:


By default any error in debug mode produces stack trace automatically. In release mode however it needs to be manually specified through config file.

Friday, April 11, 2008

GUI progress - drag box fun

Another update.

Finally I added scissor functionality. It should cut any controls that move out of parent container bounds. You can clearly see this in action.

Another thing I wanted to show is drag box. It is possible to make drag box move almost any control including window close button.

Thursday, April 03, 2008

GE2 GUI Prototype 1.3

Hi.

Another little update regaring new GUI system.

A few things that I managed to add:

1. Custom cursors for any type of control (You can see that in a video, how cursor style changes on hover event)
2. Focus - Control that was used recently recieves input from keyboard.
3. Switching between controls with TAB key. Kinda basic function that everyone uses in windows but a little harder to implement than it may look.

Here is another video that shows the recently added features:

Wednesday, April 02, 2008

SunAge new RTS

Here is an interesting project that guys were making for 11 years!

SunAge

The best part is that it is finally finished and it looks really awesome. Although I haven't tried it yet, I am looking forward to it in the future.

Definetelly check the video teaser:

Sunday, March 30, 2008

GE2 GUI progress 1.2

Hi.

Another little update. Here are few things that I have recently added :

1. CheckBox - Simple control with .checked property just set it to true or false.
2. RoundBox - works completelly automatically. If one round box is checked then all the other check boxes within the same contianer would be unchecked.
3. Enable/Disable states. Another proprety for every control. Works by setting .enabled to true or false.

Here is a video that demonstrates all of this in action: