Commit graph

26 commits

Author SHA1 Message Date
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