e469211e95
Added Vector2 class to replace sf::Vector2, featuring comparison operator.
2013-08-07 17:41:20 +02:00
Felix Ableitner
19de12d62a
Allow to pick up dropped items.
2013-07-21 10:52:50 +02:00
Felix Ableitner
9401ea53c1
Drop primary weapon on death.
2013-07-14 21:56:44 +02:00
Felix Ableitner
f160cfb2f3
Added rotating shield gadget.
2013-07-10 23:25:53 +02:00
Felix Ableitner
0f5d0597fc
Changed collision resolving so sliding along walls is possible.
2013-05-26 20:16:36 +02:00
Felix Ableitner
aa6df65e97
Changed sprites to always render as rectangle.
...
Also created Rectangle/Circle subclasses for sprite to handle
collision detection and moved collision detection from World to
CollisionModel (static methods).
2013-05-08 00:42:26 +02:00
Felix Ableitner
079c4b539b
Fixed collision detection.
2013-05-01 19:07:47 +02:00
Felix Ableitner
a2de030cbc
Removed TileManager.
2013-04-29 16:49:16 +02:00
Felix Ableitner
3ee0c71857
Moved raycast from TileManager to World.
2013-04-29 16:10:22 +02:00
Felix Ableitner
5be4a65653
Extracted Pathfinder class from World.
2013-04-28 18:12:30 +02:00
Felix Ableitner
51fdaebd0c
Removed unneeded World::remove functions
2013-04-28 14:08:16 +02:00
Felix Ableitner
a5b01bf3c5
Improved performance by only rendering onscreen sprites.
2013-04-27 21:30:43 +02:00
Felix Ableitner
84264a6934
Fixed bug in path finding when no path found.
2013-04-27 19:16:46 +02:00
Felix Ableitner
acafb57fec
Removed unused function.
2013-04-27 19:01:20 +02:00
Felix Ableitner
ca6943f37d
Added automatic area generation so path finding works on random maps.
2013-04-27 14:04:23 +02:00
Felix Ableitner
83b523ca70
Removed collision checks for non-moving sprites.
2013-04-12 20:31:43 +02:00
Felix Ableitner
2515b23b16
Improved path finding wall avoidance (more distance).
2013-04-05 16:58:37 +02:00
Felix Ableitner
d98609063e
Added very basic AI that moves and attacks.
2013-04-05 16:54:51 +02:00
Felix Ableitner
5f7c2a8ee4
Fixed character removal and getCharacters returning self.
2013-04-05 16:23:09 +02:00
Felix Ableitner
48541059a0
Removed unnecessary brackets on if.
2013-04-04 23:13:08 +02:00
Felix Ableitner
273153709c
Removed unneeded comments, improved documentation.
2013-04-04 23:00:52 +02:00
Felix Ableitner
a094c01d55
Added raycast.
2013-04-04 22:50:40 +02:00
Felix Ableitner
8e65b94667
Added function to get nearby characters.
2013-03-29 18:48:49 +01:00
Felix Ableitner
a3f6b827bd
Removed unneeded includes in .cpp files.
2013-03-29 18:41:42 +01:00
Felix Ableitner
30de9e397b
Moved Character handling to world, improved some includes.
2013-03-29 17:59:35 +01:00
Felix Ableitner
7a074b7c3d
Replaced diameter with radius.
2013-03-27 16:09:01 +01:00
Felix Ableitner
98e2836c14
Improved portal traversal.
2013-03-27 16:06:57 +01:00
Felix Ableitner
6641823cd1
Added path finding.
2013-03-27 14:38:34 +01:00
Felix Ableitner
ff65f6ceb6
Added Sprite::getRadius().
2013-03-19 20:51:56 +01:00
Felix Ableitner
3d74314d22
Fixed rect-circle collisions not working on rect corners.
2013-03-05 00:36:22 +01:00
Felix Ableitner
3ea80fa5ed
Moved World::checkDelete into World::step, made checks debug only.
2013-03-03 22:02:53 +01:00
Felix Ableitner
310816eba6
Added collisions detection.
2013-03-03 21:32:49 +01:00
Felix Ableitner
f384165e24
Merged Sprite and Body.
2012-12-23 15:50:49 +01:00
Felix Ableitner
e6b6bc58fc
Re-implemented movement.
2012-12-22 16:52:29 +01:00
Felix Ableitner
a157f0857d
Merged Collection into World.
2012-12-22 14:56:17 +01:00
Felix Ableitner
fbcbcc6902
Removed all Pathfinder functionality.
2012-12-22 00:56:31 +01:00