Hey guys, sorry for not being too active but ive got a question about the CE TOOLCHAIN specifically the graphx library. In this new game im making, im trying to have a custom background be displayed but since its pretty large it makes the game really slow, I tried displaying it as a scaled image and then just decompressing it every turn but thoose were both really slow. From my understanding, I can create a sprite around a main sprite and set that as the background, and then draw over that, however everytime I try to do that, ie. have it set up like:
Code:
I seem to run into a multitude of problems, such as the 84 crashing and also it not working, it blitting out of control ect.
I was wondering if anybody could point me in the direction of how I would be able to do this, as I want to have the cool background but also want it to remain fast.
Code:
// old x and old y are declared up here
zx7_Decompress(gfx_vram, background_compressed);
gfx_GetSprite(background, x, y);
// a bunch of code for the rest of the game function here
gfx_Sprite(background, oldX, oldY);
gfx_GetSprite(background, x, y);
// This is where I draw my sprites
oldX = x;
oldY = y;
I seem to run into a multitude of problems, such as the 84 crashing and also it not working, it blitting out of control ect.
I was wondering if anybody could point me in the direction of how I would be able to do this, as I want to have the cool background but also want it to remain fast.