BreadCaster
Loyalty Card Holder
Posts: 321
Registered: 2-3-2016
Member Is Offline
|
|
Obscure M8 bug
Yet another mode 8 bug!! This ones fairly easy to avoid but I thought it were worth flagging up
So, as you may have read I've got a game which dynamically switches out WLDs as you move from sector to sector, to simulate rooms over rooms. It's a
great trick and it's making my current project possible
But there is a problem! Yes. When dynamically loading in another WLD, sometimes the screen goes black. No visual readout from the mode 8 camera, but
you can still hear the player walking, you can see their colliding with walls, passing into sectors (I have a stats readout at the top of the screen
for m8_wall and m8_sector, amongst othar things haha). I managed to stop it happening, and isolated it down to one single function -
set_env_color.
Basically, if set_env_color has been used at all - even if it's set to one thing then set back to RGB 0, 0, 0 then it still causes this error. Comment
out every set_env_color and this bug does not occur.
A weird one, yes?
Yes.
BC
~*~ Princess of Pies and Pastries ~*~
|
|
CicTec
DIV Pro
Posts: 471
Registered: 6-8-2016
Member Is Offline
|
|
Hello BreadCaster,
Could you please provide an example to try to display the problem ? So I can test what causes the bug.
|
|
BreadCaster
Loyalty Card Holder
Posts: 321
Registered: 2-3-2016
Member Is Offline
|
|
Quote: Originally posted by CicTec | Hello BreadCaster,
Could you please provide an example to try to display the problem ? So I can test what causes the bug. |
Of course!! I can send a basic version of the full program, WLDs and FPG soon although to access this I have to set up my tower PC, so please bare
with me while I find some time to do this.
~*~ Princess of Pies and Pastries ~*~
|
|
CicTec
DIV Pro
Posts: 471
Registered: 6-8-2016
Member Is Offline
|
|
No problem, take all the time needed to mount the example, when available will try it.
|
|
BreadCaster
Loyalty Card Holder
Posts: 321
Registered: 2-3-2016
Member Is Offline
|
|
Sending you a U2U now with a link to download the .rar/files needed
~*~ Princess of Pies and Pastries ~*~
|
|
CicTec
DIV Pro
Posts: 471
Registered: 6-8-2016
Member Is Offline
|
|
Thanks , received and downloaded, I shall examine it in the coming days, as soon
as I have some news, will alert.
|
|