Commit graph

68 commits

Author SHA1 Message Date
SlyVTT
ad525b8693 Corrected bug regarding interactions with items in maps - used local coordinates instead of world coordinates :( 2023-08-17 07:11:52 +02:00
SlyVTT
9d8464e0d5 added items on all maps - one bug to be corrected with coodinates 2023-08-16 23:12:16 +02:00
SlyVTT
a5328d0be6 Added support for Player actions and interaction with the items within the map 2023-08-16 19:36:31 +02:00
SlyVTT
47b8bfa25a implementing the basis of player action 2023-08-16 19:25:24 +02:00
SlyVTT
c5975889bc Added importation of ExtraData from ObjectLayer in Tiled TMX files 2023-08-16 17:34:45 +02:00
SlyVTT
6075e47ba8 try to import Extra Data from world and maps 2023-08-15 16:50:51 +02:00
SlyVTT
217221cd6c added a verification on walkability of the target tile on next map 2023-08-14 21:15:38 +02:00
SlyVTT
f895171e40 Merge branch 'dev' 2023-08-14 20:49:01 +02:00
SlyVTT
cb24bee3f8 implementation of map change during gameplay by crossing map borders 2023-08-14 20:46:51 +02:00
SlyVTT
272d60b0aa preparing stuff for map change when reaching borders during gameplay 2023-08-14 18:40:36 +02:00
mibi88
d4fc8db489 Fixed a bug when displaying 3 choices. 2023-08-11 12:23:07 +02:00
SlyVTT
e012e5a428 A loooooooot of refactoring to make the function calls easier and more consistant 2023-08-11 08:54:04 +02:00
SlyVTT
1bf630dfcb refactor structures to pack everything in typedef struct Game 2023-08-11 08:04:17 +02:00
Lephenixnoir
fe2492b7de
fix buggy access to converted map 2023-08-10 18:33:17 +02:00
SlyVTT
16a198bc64 try to find the source of the bug (need to get map data correctly filled) in map with converter.py 2023-08-10 16:22:31 +02:00
SlyVTT
53b0ddf750 converter.py correctly reads and treat maps in world file (importation into data structure in C files not fully working yet 2023-08-08 09:46:07 +02:00
SlyVTT
7d04e62848 corrected maps + start implementing world with multiple maps 2023-08-03 21:55:51 +02:00
SlyVTT
d3684acaed clean mapstruct.h from useless structures 2023-08-01 22:39:21 +02:00
SlyVTT
e0e4140c9b Made map importation from tmx a bit cleaner + map structure slightly lighter 2023-08-01 22:26:59 +02:00
mibi88
ea9244ca61 Finished adding comments to the dialogs code. 2023-07-20 13:11:36 +02:00
mibi88
6acb9ab93b Fixed the last graphical issue. 2023-07-20 11:27:19 +02:00
mibi88
d1e32de9c5 Started adding comments. Still have this weird bug on the mono calculator 2023-07-19 23:11:00 +02:00
mibi88
c82a9fc5da Fixed some graphical issues, only one is still there on mono 2023-07-19 20:53:14 +02:00
mibi88
65ed14fc37 Everything is working now. 2023-07-19 20:06:28 +02:00
mibi88
aafa52f4ae Changed showtext_opt to redraw the screen on the animation at the end of an interaction, like Lephé recommended it. 2023-07-19 17:43:02 +02:00
mibi88
afc2623ad0 Fixed a little bug, animation working on th CG50 (thanks Sly) 2023-07-19 16:57:40 +02:00
mibi88
5c02111ac2 Still trying to fix my image_t problems ... 2023-07-19 00:17:38 +02:00
mibi88
ea66f50f44 Everything is now working, except the animation after choosing. 2023-07-18 21:08:12 +02:00
mibi88
acb859eaa8 Already did some fixes, trying to improve animations. 2023-07-18 19:47:47 +02:00
mibi88
f71121a79e Added interactive dialogs, but they are not working properly yet. 2023-07-15 19:26:32 +02:00
mibi88
e53c3d612d Merge branch 'master' of gitea.planet-casio.com:Slyvtt/Collab_RPG 2023-07-15 11:43:34 +02:00
mibi88
1a6ed047ea Managing interactive dialogs. Nothing tested yet. 2023-07-15 11:43:24 +02:00
SlyVTT
d3c6e319d9 correction of a minor position issue in Dialogs on CG + better definition and use of GRAYMODEOK 2023-07-14 15:28:00 +02:00
mibi88
6ccd93843d Fixed the code to work with Sly's changes 2023-07-13 23:49:07 +02:00
mibi88
a743b88569 Merge branch 'master' of gitea.planet-casio.com:Slyvtt/Collab_RPG 2023-07-13 23:33:50 +02:00
SlyVTT
04f0a75472 added transparency to all mode + working dialogs on all plateforms and for all colorsets (thanks Lephe) 2023-07-13 22:23:31 +02:00
mibi88
f71c185a8d Start of the interactive dialogs code 2023-07-13 12:06:48 +02:00
mibi88
4e06ddce10 Dialogs displaying now works on cg! 2023-07-12 12:42:28 +02:00
mibi88
4956d0de31 Fixed a displaying bug (thanks Slyvtt !) 2023-07-11 23:32:09 +02:00
mibi88
6fa6f03c1a More improvements but something is still buggy :/ 2023-07-11 13:46:18 +02:00
mibi88
dc2a0b1473 Continued improving it. 2023-07-11 13:29:48 +02:00
mibi88
813c23ad00 Dialogs management should work, had not the time to test it yet. 2023-07-11 11:23:27 +02:00
SlyVTT
5f55b46bad added custom font support for both plateform + created a dummy font + corrected dialog text line spacing 2023-07-10 20:55:27 +02:00
SlyVTT
66a66bae91 split map into Background and Foreground layers + added transparency for foreground layer (CG only at present) + split rendering layer by layer 2023-07-10 19:35:22 +02:00
SlyVTT
6ec5895acc corrected a bug on CG that make impossible to reach certain position on screen + added some non walkable tiles on map 2023-07-10 13:11:35 +02:00
mibi88
c7008cc4d1 Player position fix for cg version 2023-07-09 22:20:53 +02:00
mibi88
32d40773ac Merge branch 'master' of gitea.planet-casio.com:Slyvtt/Collab_RPG 2023-07-09 22:05:22 +02:00
mibi88
474aa17573 Collisions are now entirely working, started implementing dialogs (I know currently it is only an animation and a little message that it is not implemented). 2023-07-09 22:02:59 +02:00
SlyVTT
396c9c9bfe code made complaitn with the 'max 80-char per line' rule 2023-07-09 21:53:07 +02:00
SlyVTT
a7d6e8f2d7 added a layer Walkable in Tiled level0.tmx, importation in fxconv + dedicated walkable array in Map struct 2023-07-09 20:27:22 +02:00