Simon Holmberg
cf3bc09a4a
Working unit frames and dynamic soldier grouping
2012-10-21 22:50:18 +02:00
Simon Holmberg
f8c1422eeb
Events bubble down the frame stack until it finds a frame with a handler.
...
For example, this allows you to have an OnClick handler on a parent frame, and child frames who cover the parent frame, but the parent frame still receives the click events (unless the child subscribes to the event).
2012-10-19 23:40:03 +02:00
Simon Holmberg
9d92736932
Frame field "Layer" controls render order and prevents event bubbling.
...
Reworked GUI events.
2012-10-19 23:27:51 +02:00
Simon Holmberg
0c923357b4
fixup! Moved DrawLine from RenderHelpers to Utility.
2012-10-19 03:46:22 +02:00
Simon Holmberg
ce2264c737
Moved DrawLine from RenderHelpers to Utility.
2012-10-19 03:45:17 +02:00
Simon Holmberg
5cb05d1c3f
Created a turn manager.
2012-10-19 03:01:50 +02:00
Simon Holmberg
d376031193
Shorthands for exposing objects and functions to Lua.
2012-10-19 03:01:26 +02:00
Simon Holmberg
9f47ad9a57
Documentation added to Component.*, Entity, EntityManager, Grid, GUI.* and Utility classes.
...
Minor cleanups.
2012-10-18 01:34:46 +02:00
Simon Holmberg
c59ff9778a
Created and implemented EntityManager. PixelTransform and GridTransform phased out.
2012-10-17 23:44:58 +02:00
Jace
8e1f18d233
Renamed some stuff
2012-10-17 11:54:48 +02:00
Niklas Ulf Anders Cullberg
c7a1317a32
Nothing
2012-10-17 11:39:07 +02:00
Jace
28b6e20f94
Merge branch 'master' of github.com:sippeangelo/DepthsBelow
2012-10-17 11:28:05 +02:00
Jace
00159095ed
Lua tooltips
2012-10-17 11:27:31 +02:00
Niklas Ulf Anders Cullberg
2a12df147b
Cannot Walk Through Monsters
2012-10-17 11:26:59 +02:00
Niklas Ulf Anders Cullberg
092dc176a8
Added Stats, damage code, stuff
2012-10-17 11:20:09 +02:00
Niklas Ulf Anders Cullberg
4f8a5ccdb2
Added Utility, Stat, removed FindDistance(Core)
2012-10-17 10:52:05 +02:00
Simon Holmberg
bcbddf1b2c
Merge branch 'lua'
...
Conflicts:
DepthsBelow/DepthsBelow/Core.cs
DepthsBelow/DepthsBelowContent/DepthsBelowContent.contentproj
2012-10-17 01:55:30 +02:00
Simon Holmberg
9f838a6d39
Lua stuffs is working :D
2012-10-17 01:52:58 +02:00
Jace
a6391527ec
Lua stuffs
2012-10-16 20:55:13 +02:00
Niklas Ulf Anders Cullberg
275727f861
Working on calculation of chance to hit
2012-10-16 17:27:35 +02:00
Niklas Ulf Anders Cullberg
16f2d57aec
You can now fire selected units with S
2012-10-16 16:18:30 +02:00
Jace
9df0077257
More GUI stuff
2012-10-16 13:22:24 +02:00
Niklas Ulf Anders Cullberg
d38e93dc19
Still working on Shooting (shouldn't work yet)
2012-10-11 13:03:19 +02:00
Niklas Ulf Anders Cullberg
0a4eafefa3
Shot and Shooting Classes added (not working yet)
2012-10-11 12:38:45 +02:00
Simon Holmberg
0b98d60753
Merge branch 'master' of github.com:sippeangelo/DepthsBelow
...
Conflicts:
DepthsBelow/DepthsBelow/Core.cs
2012-10-09 19:20:13 +02:00
Simon Holmberg
ff17d421fe
Basic GUI library!
2012-10-09 19:18:14 +02:00
Niklas Ulf Anders Cullberg
047899b43d
Monster will stop beside soldier and not on top
2012-10-09 19:11:48 +02:00
Niklas Ulf Anders Cullberg
29288df309
Enemy hunt closest soldier on enter
2012-10-09 19:01:14 +02:00
Niklas Ulf Anders Cullberg
ff4e874d47
Made that last more efficient...
2012-10-09 16:19:44 +02:00
Niklas Ulf Anders Cullberg
7ea3b0be99
Doesn't move when changing direction looking
2012-10-09 16:14:11 +02:00
Niklas Ulf Anders Cullberg
6e3b2f2f94
NumberOfSteps, CurrentStep, Enter = Next Turn
...
Also, added KeyboardInput
2012-10-09 15:43:07 +02:00
Jace
0c9e99b146
Some pathfinding stuff, modifications to small enemy
2012-10-05 12:13:37 +02:00
Jace
e89a657740
DrawLine part of RenderHelper
2012-10-05 12:12:24 +02:00
Jace
b1f723580d
Merge branch 'master' of github.com:sippeangelo/DepthsBelow
2012-10-05 11:06:17 +02:00
Niklas Ulf Anders Cullberg
b4dc13e420
Tried making Enemy by copying Soldier. +Monster
...
... I think I failed, though...
Oh, that monster was made by Christian
2012-10-03 12:33:22 +02:00
Jace
2d554faeb3
Pathfinder IsMoving, Stop
2012-10-03 11:17:01 +02:00
Niklas Ulf Anders Cullberg
4658decf32
SelectionRectangle forms in all directions
2012-10-03 11:01:41 +02:00
Simon Holmberg
8a75c98f48
Merge branch 'master' of github.com:sippeangelo/DepthsBelow
2012-10-02 00:03:00 +02:00
Simon Holmberg
f5d0c09912
Some new tilesets
2012-10-02 00:00:29 +02:00
Jace
f56d07ff7e
Merge branch 'master' of github.com:sippeangelo/DepthsBelow
...
Conflicts:
DepthsBelow/DepthsBelow/MouseInput.cs
2012-10-01 17:38:08 +02:00
Jace
3b718e34a3
Almost working pathfinding
2012-10-01 17:35:38 +02:00
Niklas Ulf Anders Cullberg
62c633fecb
Looking in direction pointing line
2012-10-01 17:35:07 +02:00
Niklas Ulf Anders Cullberg
f8d568371b
Merge branch 'master' of github.com:sippeangelo/DepthsBelow
...
Conflicts:
DepthsBelow/DepthsBelow/MouseInput.cs
2012-10-01 16:37:48 +02:00
Niklas Ulf Anders Cullberg
9e8ebc37c6
Line Drawn for Direction
2012-10-01 16:34:51 +02:00
Jace
01491d7356
Conflict test
2012-10-01 16:34:42 +02:00
Simon Holmberg
f8e9ec4630
Deprecated Component.GridTransform and Component.PixelTransform in favour of new Component.Transform which keeps track of both the grid position and the world position, while keeping them related.
2012-09-30 13:51:04 +02:00
Simon Holmberg
57789c4600
Some maintenance
2012-09-29 02:02:12 +02:00
Simon Holmberg
cbb3a5aa4e
Pathfinder library didn't work as I expected; is now instanced once for every PathFinder component.
...
Now with selection and move orders by right clicking the map!
2012-09-29 01:45:18 +02:00
Simon Holmberg
f694b0969c
fixup! Merge branch 'master' into astar
2012-09-29 00:52:55 +02:00
Simon Holmberg
2d71eb3e0a
Merge branch 'master' into astar
...
Conflicts:
DepthsBelow/DepthsBelow/Core.cs
DepthsBelow/DepthsBelow/MouseInput.cs
DepthsBelow/DepthsBelowContent/maps/Cave.Level1.tmx
2012-09-29 00:45:30 +02:00