Commit Graph

62 Commits

Author SHA1 Message Date
Jean-André Santoni
3dc814ef2a Use caching in the map drawing function 2017-06-28 22:03:07 +02:00
Jean-André Santoni
ead457f9b0 Optimization 2017-06-28 21:43:26 +02:00
Jean-André Santoni
1648df8a29 Performance improvement 2017-06-28 21:17:01 +02:00
Jean-André Santoni
867f9b1ba4 Code cleaning 2017-06-28 17:59:08 +02:00
Jean-André Santoni
a05ba0aea0 3 layers paralax 2017-06-28 17:53:42 +02:00
Jean-André Santoni
aeb5f11cec Tweak the character speed and jump speed 2017-06-28 17:37:55 +02:00
Jean-André Santoni
3f09945ff3 Level 1 improvements 2017-06-28 17:15:44 +02:00
Jean-André Santoni
2407299555 Complete the level 1 2017-06-27 23:20:58 +02:00
Jean-André Santoni
4280d947cf Improve graphics 2017-06-27 19:19:12 +02:00
Jean-André Santoni
a450660396 Angry porc 2017-06-27 14:43:40 +02:00
Jean-André Santoni
f2fa48725c Better shuriken handling 2017-06-27 13:43:59 +02:00
Jean-André Santoni
1cd718a295 Bugfixes 2017-06-27 13:32:33 +02:00
Jean-André Santoni
58a55d73ef Remove shuriken when the porc is hit 2017-06-27 12:13:52 +02:00
Jean-André Santoni
5bdadb24db Porc hit + death 2017-06-27 12:12:21 +02:00
Jean-André Santoni
af2c16d658 Life bar 2017-06-27 11:54:52 +02:00
Jean-André Santoni
ac0666fee3 Add gold collection animation 2017-06-27 11:18:18 +02:00
Jean-André Santoni
e342588abc Refactoring 2017-06-27 10:50:11 +02:00
Jean-André Santoni
06c520f47f Sound effect when enemy dies 2017-06-27 10:43:10 +02:00
Jean-André Santoni
38aa8793b8 Mario style camera centering 2017-06-27 10:37:54 +02:00
Jean-André Santoni
6f35237422 Allow ghosts to die 2017-06-27 10:21:11 +02:00
Jean-André Santoni
4ab98b8b92 Reduce game over delay 2017-06-27 00:35:05 +02:00
Jean-André Santoni
a3292559de Prevent acting when shocked 2017-06-27 00:33:02 +02:00
Jean-André Santoni
397e4cb812 Improve ghost flying animation 2017-06-27 00:29:40 +02:00
Jean-André Santoni
aea638a461 Allow attacking ghosts 2017-06-27 00:20:12 +02:00
Jean-André Santoni
d6da793421 Shuriken throwing 2017-06-26 23:26:37 +02:00
Jean-André Santoni
89f5f9f429 Fix porc sfx volume 2017-06-26 18:32:53 +02:00
Jean-André Santoni
1a90d93850 Fix the last spikes 2017-06-26 18:23:10 +02:00
Jean-André Santoni
ecae6a76e4 Add elevators 2017-06-26 17:39:04 +02:00
Jean-André Santoni
61af2090b6 Fix map 2017-06-26 11:38:30 +02:00
Jean-André Santoni
9cab8626a7 Add spikes 2017-06-26 02:23:54 +02:00
Jean-André Santoni
345c0b484c Game over animation 2017-06-26 01:18:38 +02:00
Jean-André Santoni
7870a74b7b Jump + down to jump down the bridges 2017-06-26 00:43:48 +02:00
Jean-André Santoni
74e3d93f8d Add code for variable jump height 2017-06-26 00:24:49 +02:00
Jean-André Santoni
f6734a4100 Add bridges + new first level 2017-06-25 23:56:38 +02:00
Jean-André Santoni
b074e65c2c Add big coin + porc sound effect 2017-06-25 15:46:44 +02:00
Jean-André Santoni
a19029fd72 More regular background 2017-06-25 15:46:01 +02:00
Jean-André Santoni
bd7a986cd7 Init all entities from the tiled map 2017-06-25 15:06:49 +02:00
Jean-André Santoni
e6b791857e Compute camera position after resolving collisions 2017-06-25 14:49:09 +02:00
Jean-André Santoni
4e6759c030 Add hit sfx, and display current HP 2017-06-25 14:43:05 +02:00
Jean-André Santoni
aaeb2eaeb6 Add hit animation 2017-06-25 14:36:36 +02:00
Jean-André Santoni
3a1ef46604 Gold counter + comment background image 2017-06-25 14:27:05 +02:00
Jean-André Santoni
1dd29f69ce Add porc type enemy 2017-06-25 14:04:11 +02:00
Jean-André Santoni
4ef340ca1d Code cleaning 2017-06-25 12:04:06 +02:00
Jean-André Santoni
c23f80b8a0 Add coins 2017-06-25 12:00:45 +02:00
Jean-André Santoni
e99d82a372 Include obake npc 2017-06-25 10:43:05 +02:00
Jean-André Santoni
ef16c2eecc Duck stance 2017-06-25 10:16:29 +02:00
Jean-André Santoni
946063f55c Use love2d-like pushes on the transformation stack 2015-08-25 00:46:57 +02:00
Jean-André Santoni
0447001e3b Fix booleans, fix compatibility with LOVE 2015-08-23 21:21:05 +02:00
Jean-André Santoni
d968db3fb1 Stop using the unsupported graphics.drawt 2015-08-22 23:07:11 +02:00
Jean-André Santoni
5045238c88 Use graphics.translate instead of accessing the camera directly 2015-08-21 06:21:36 +02:00