Commit Graph

82 Commits

Author SHA1 Message Date
Jeasonfire
ae5300f3fd Added debug rendering. Toggle with F2. 2015-05-10 22:04:20 +03:00
Jeasonfire
6e1387662d Fixed collisions inside hitboxes. 2015-05-10 21:34:57 +03:00
Allexit
1a2f541390 Added CollisionListener for Swings 2015-05-10 21:07:37 +03:00
Jeasonfire
07c2babe96 Changed a variable name and cleaned up CPhysics. 2015-05-10 20:42:18 +03:00
Allexit
36e3214758 Player can now swing with arrow keys. 2015-05-10 20:34:55 +03:00
Allexit
c263824405 CollisionSide made more generic 2015-05-10 18:35:38 +03:00
Allexit
be0669a754 Added CCombat and made CPhysics a bit cleaner 2015-05-10 18:30:57 +03:00
Allexit
ed2b09fa57 Clean Codeers Club checkout 2015-05-10 17:57:50 +03:00
Jeasonfire
543ef101e3 Added ghost variable, resized player hitbox & cleaned docs. 2015-05-10 17:30:31 +03:00
Jeasonfire
1136a9b8b8 Fixed bug where player tripped out when standing on ground. 2015-05-10 01:14:08 +03:00
Jeasonfire
71a2ce2b40 Fixed bug where player sinks into the ground. 2015-05-10 01:09:54 +03:00
Allexit
b2fe6338a5 Merge branch 'master' of https://github.com/Allexit/GladiatorBrawler 2015-05-09 23:32:27 +03:00
Allexit
d55b1b8a6d removed a mysterious visitor 2015-05-09 23:30:05 +03:00
Jeasonfire
6b4beaeab5 Added collision listener. 2015-05-09 20:47:16 +03:00
Jeasonfire
9c70a7326b Player being stuck in walls/floors -bug fixed. 2015-05-08 21:58:40 +03:00
Jeasonfire
d961bd21de Jumping implemented. 2015-05-08 21:41:17 +03:00
Jeasonfire
47eb5f5702 Physics done, jumping WIP. 2015-05-08 21:18:12 +03:00
Allexit
5975288d04 Removed the usage of Box2D 2015-05-08 16:49:42 +03:00
Allexit
e985102e80 Better method for playing animations 2015-04-10 19:10:08 +03:00
Allexit
ef4117672c Added input handling, movement and camera now follows the player 2015-04-10 17:30:30 +03:00
Allexit
16c21698b8 Created a terrain's physics box, so the character doesn't fall out 2015-04-09 23:03:42 +03:00
Allexit
1727c43265 Physics body attached to the player entity now 2015-04-09 21:32:36 +03:00
Allexit
822d2fa7bc Box2D implemented. Viewport also is a lot smaller 2015-04-09 21:16:49 +03:00
Allexit
91135acfce Position Component -> Physics Componenty 2015-04-09 01:14:07 +03:00
Allexit
eff6647704 Component getting is now done properly in RenderingSystem 2015-04-09 00:44:05 +03:00
Allexit
8d127a715b Removed useless prints 2015-04-09 00:17:55 +03:00
Allexit
7907eb348d When resizing the window, viewport scales to right size now 2015-04-09 00:12:07 +03:00
Allexit
ff859b6501 Default screen size changed to a 16:9 ratio 2015-04-08 21:41:12 +03:00
Allexit
962dde9db2 Animation now renders, and rendered entities now must have position 2015-04-08 20:50:13 +03:00
Allexit
ac68498548 Every entity with "CRenderedObject" is now drawn at 0, 0 2015-04-08 20:15:14 +03:00
Allexit
54e7238f3a A static image of the player is now drawn 2015-04-08 19:19:14 +03:00
Allexit
32df01f0eb initial commit 2015-04-08 16:59:01 +03:00