I do not have as much time to work on it as I would like but I have something cool to show! The PS1 has quite a slow CPU compared to the other consoles I have worked on which means it needs a few more optimizations. Rewriting this from scratch helps...and also that this is still in the "techdemo" stage. One of the main issues I am having now is that calculating and drawing the tilemap layers is taking more than 1 frame of time...meaning we have frame drops and slowdown when everything is shown!
By only drawing two of the three main level layers we stay below the time we have to draw a frame and scrolling is smooth as butter....just like it is on any other platform so far!
In this video the "techdemo" runs inside the pcsx-redux emulator and I am randomly choosing the direction to scroll to. There is acceleration and deceleration...although not exactly the same as in the existing ports. This was just "something that works". I need to completely rewrite and repack the way the tilemaps are stored to make it more efficient for the PS1 hardware. In this video the structure of how tilemaps are stored in memory is exactly the same as the other ports. In other words...it works but the PS1 is not fast enough to handle it all at once in this way. I did some testing with other methods and they are a lot faster....but as said require a lot of rewriting. hmmm...where did I hear that before?
I have attached a little surprise to this post...the actual PS1 executable. It can be loaded in an emulator or for the advanced people you can even upload it to a real PS1 over a serial cable. Because of how the PS1 works and it has no writable storage (that is sufficient to hold the game's assests) they are currently embedded in the EXE. So no external downloads this time...everything is contained in this one download. Then you can scroll arround just like in the video. Enjoy!
By only drawing two of the three main level layers we stay below the time we have to draw a frame and scrolling is smooth as butter....just like it is on any other platform so far!
In this video the "techdemo" runs inside the pcsx-redux emulator and I am randomly choosing the direction to scroll to. There is acceleration and deceleration...although not exactly the same as in the existing ports. This was just "something that works". I need to completely rewrite and repack the way the tilemaps are stored to make it more efficient for the PS1 hardware. In this video the structure of how tilemaps are stored in memory is exactly the same as the other ports. In other words...it works but the PS1 is not fast enough to handle it all at once in this way. I did some testing with other methods and they are a lot faster....but as said require a lot of rewriting. hmmm...where did I hear that before?
I have attached a little surprise to this post...the actual PS1 executable. It can be loaded in an emulator or for the advanced people you can even upload it to a real PS1 over a serial cable. Because of how the PS1 works and it has no writable storage (that is sufficient to hold the game's assests) they are currently embedded in the EXE. So no external downloads this time...everything is contained in this one download. Then you can scroll arround just like in the video. Enjoy!