03-30-2023, 05:39 PM
(03-30-2023, 03:41 PM)madscijr Wrote: Last comment for now (I swear, lol) - I tried this with the 4x sprite sheet, and it runs, and looks good, but is slow (at least on this computer, which isn't the newest, an old Microsoft Surface Pro 3 with 8 GB RAM and whatever gen i7 processor from 2014/15). I'm fine with the 2x resolution, but would be curious what else can be done to speed it up. Maybe if the game were updated to use hardware images?
Hardware images? Yes, that would absolutely be the way to get most performance from the game. I played around with these briefly on an earlier 3D morphing project that I made in QB64pe. It would take some fiddling around but probably not all that much. Most of the game would just work as-is almost I would imagine. Can you blit a portion of a sprite sheet to the screen with hardware images? If so then it'll be fine. The only area that would need a little extra work would be the background strips. These are created on the fly and cached but you could still create them on the fly to a temporary software handle and then copy them over to hardware images. I doubt I'll have time to look into this tonight but maybe tomorrow evening or over the weekend. Let me know if you get it sorted in the meantime though!
RokCoder - dabbling in QB64pe for fun