Commit graph

113 commits

Author SHA1 Message Date
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
mibi88
48854d5108 Merge branch 'master' of gitea.planet-casio.com:Slyvtt/Collab_RPG 2023-07-09 16:15:13 +02:00
mibi88
86430b853a Collisions are now completely working, just need to fill the array of all tiles where the player can't go through. 2023-07-09 15:45:46 +02:00
mibi88
6afde39af8 \o/ The collisions are working PERFECTLY now except on the borders of the map! \o/ 2023-07-09 13:37:49 +02:00
mibi88
909e0760c5 Collisions are not sticky anymore and the player can't go trough the blocks but he is shaking when you collide with a wall and is not stopped by the borders of the map. 2023-07-09 13:22:20 +02:00
SlyVTT
9666d21ec1 corrected Player struct to avoid char overflow on CG (resolution is 396px wide > 255 (so out of bound for char) 2023-07-08 23:02:57 +02:00
SlyVTT
4b419694fc added a full map 25x14 tiles + start a Tile_Data structure for collision 2023-07-08 22:39:06 +02:00
mibi88
23dde6593c Improved collisions and CG port. Still need to make the collisions less sticky. 2023-07-08 20:07:34 +02:00
mibi88
94b2187ad4 Added some comments. 2023-07-08 16:57:04 +02:00
mibi88
8d316d0d0d Collisions are working :D! I only need to add a framerate limit and add some comments, then everything will be good to merge! 2023-07-08 16:40:25 +02:00
mibi88
908b971317 Restructured a lot of things. Collisions are not working properly but I'll fix that 2023-07-08 15:55:06 +02:00
SlyVTT
c87580130d added speed parameter for player 2023-07-07 19:26:14 +02:00
SlyVTT
f0417bee16 merged MiBi88's work on map movement and rendering + FCalva's work on adding a target for fxCG50 2023-07-07 18:22:39 +02:00
mibi88
d3f1e55422 The map displaying is now SUPER fast 2023-07-07 14:50:30 +02:00
mibi88
9818d835be Restructured some stuff, now the map is scrolling :), but some optimizations are needed! 2023-07-07 14:20:13 +02:00
SlyVTT
e6867a37ac Placeholder for GameLogic() loop + some comments in the code 2023-07-06 22:49:29 +02:00
SlyVTT
25bc00e311 added key input + support for USB screenshots/record 2023-07-06 22:02:37 +02:00
SlyVTT
5195cdba49 added B&W vs Grayscale switch 2023-07-06 21:16:07 +02:00
SlyVTT
5d868c6089 Very first commit to prepare the template of the project - Tileset Ok + Importation Map + Basic Rendering of map in grayscale 2023-07-05 23:22:15 +02:00