Commit Graph

52 Commits

Author SHA1 Message Date
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
Simon Holmberg 11b2af46ff Squad list. Squad unit spawns handled by map objects. 2012-09-29 00:32:35 +02:00
Simon Holmberg cf100c95f1 3 hours later 2012-09-28 18:59:47 +02:00
Simon Holmberg adfdf963d8 Selection rectangle now behaves properly with the camera 2012-09-28 14:41:57 +02:00
Simon Holmberg 365bb32702 Cave concept level 2012-09-28 14:41:33 +02:00
Simon Holmberg 8c6878ef25 Fully working zoom relative to cursor 2012-09-28 14:12:26 +02:00
Simon Holmberg a1527e745b fixup! GridTransform.ToScreen -> ToWorld 2012-09-28 12:24:18 +02:00
Simon Holmberg a097c2fbf8 GridTransform.ToScreen -> ToWorld 2012-09-28 12:23:00 +02:00
Simon Holmberg 95677c8ff2 Zooming stuff. Barely. 2012-09-28 00:47:24 +02:00
Simon Holmberg 11aef39e29 Camera functions to convert between world and screen coordinates 2012-09-27 23:25:48 +02:00
Simon Holmberg a6117af112 Some rephrasing 2012-09-27 23:06:37 +02:00
Simon Holmberg 12cd5447c8 Fixed soldier hitbox not following him correctly 2012-09-27 22:05:26 +02:00
Simon Holmberg fecb2edcf8 More solid grid to pixel conversion 2012-09-27 22:05:03 +02:00
Simon Holmberg 63012d301d Whoops 2012-09-27 19:34:31 +02:00
Simon Holmberg 533c4b9712 Base Entity keeps track of core 2012-09-27 19:31:34 +02:00
Simon Holmberg 39eaa15b50 Base Entity keeps track of core 2012-09-27 19:30:35 +02:00
Simon Holmberg 832ef9d850 Static is fun! 2012-09-27 19:26:31 +02:00
Niklas Ulf Anders Cullberg 313167e2a3 Added Grid, Inserted gridRectangle 2012-09-27 19:10:10 +02:00
Simon Holmberg 0bcc4503ea Updated gitignore 2012-09-27 17:38:36 +02:00
Simon Holmberg 59db20fb2a Added collision sprite sheet 2012-09-27 17:37:40 +02:00
Simon Holmberg 3b854a159b Less pink soldier 2012-09-27 17:15:58 +02:00
Simon Holmberg 39160af149 More silly soldier movement code 2012-09-27 16:48:49 +02:00
Simon Holmberg f83d7d5257 Tiled map loading through TiledLib 2012-09-27 16:43:48 +02:00
Simon Holmberg b6218e4600 Selection indication 2012-09-25 22:21:01 +02:00
Niklas Ulf Anders Cullberg 3e4d4bd5a7 Merge branch 'master' of https://github.com/sippeangelo/DepthsBelow 2012-09-25 21:56:05 +02:00
Niklas Ulf Anders Cullberg e1a519cd28 Inserted selection collision with soldier 2012-09-25 21:52:21 +02:00
Simon Holmberg c55b91fbbb Cleanup after minor git disaster 2012-09-25 21:48:31 +02:00
Niklas Ulf Anders Cullberg 7e88d7c68a Made Soldier Public and Made MouseInput Collision 2012-09-25 21:23:33 +02:00
Simon Holmberg 52bb50ce6e Test 2012-09-25 20:58:08 +02:00
Niklas Ulf Anders Cullberg d4c5282a67 Added Collision component 2012-09-25 20:43:11 +02:00
Jace 3778d9dc2b Merge branches 'master' and 'devel' 2012-09-25 14:13:01 +02:00
Jace 166cd35ee5 Camera speed dependent on time 2012-09-25 14:12:50 +02:00
Jace 6ff77964be Merge branch 'master' of https://github.com/sippeangelo/DepthsBelow 2012-09-25 13:27:41 +02:00
Jace abf63b5f1d Renamed MouseControl to MouseInput 2012-09-25 13:27:08 +02:00
Jace c6e2a08795 Renamed MouseControl to MouseInput 2012-09-25 13:19:17 +02:00
Simon Holmberg d52f1e5ef5 Experimental selection code 2012-09-24 23:52:41 +02:00
Simon Holmberg afd91227a4 Simple camera 2012-09-24 20:46:06 +02:00
Simon Holmberg 430e5572ab Fixed shorthand for position 2012-09-24 20:00:40 +02:00
Jace 76594dddda Did stuff 2012-09-24 16:04:15 +02:00
Jace 6ee4611182 Shorthand to transform component in base entity class 2012-09-24 15:21:49 +02:00
Jace 9d46d0ae8a AS LONG AS IT WORKS 2012-09-19 16:17:16 +02:00
Jace 6b4875e4ee Oh my god 2012-09-19 16:13:10 +02:00
Jace bf95db6820 Updated gitignore 2012-09-19 16:09:34 +02:00
Simon Holmberg 8d31de1fb8 Visual Studio being asshat 2012-09-19 13:15:27 +02:00
imon 7b8a082e63 Changed the name of the "Game1" class to "Core" 2012-09-19 13:11:00 +02:00
Jace 23a6e7a951 Basic component system 2012-09-19 12:07:22 +02:00