Community
Message Board

Chat room - users
Game Over
( 394431 downloads)
Work In Progress
( 523201 downloads)
Links

Code Exchange
Downloads
Tutorials
Add to Favourites

Submit news

DIV ARENA FORUMS
Not logged in [Login - Register]
Go To Bottom

Printable Version  
Author: Subject: Obscure M8 bug
BreadCaster
Loyalty Card Holder
******


Avatar


Posts: 321
Registered: 2-3-2016
Member Is Offline


[*] posted on 15-4-2017 at 12:55 PM
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 ~*~
View user's profile View All Posts By User
CicTec
DIV Pro
******




Posts: 471
Registered: 6-8-2016
Member Is Offline


[*] posted on 15-4-2017 at 06:04 PM


Hello BreadCaster,

Could you please provide an example to try to display the problem ? So I can test what causes the bug.
View user's profile View All Posts By User
BreadCaster
Loyalty Card Holder
******


Avatar


Posts: 321
Registered: 2-3-2016
Member Is Offline


[*] posted on 19-4-2017 at 08:12 AM


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 ~*~
View user's profile View All Posts By User
CicTec
DIV Pro
******




Posts: 471
Registered: 6-8-2016
Member Is Offline


[*] posted on 19-4-2017 at 08:48 AM


No problem, take all the time needed to mount the example, when available will try it. :)
View user's profile View All Posts By User
BreadCaster
Loyalty Card Holder
******


Avatar


Posts: 321
Registered: 2-3-2016
Member Is Offline


[*] posted on 19-4-2017 at 02:07 PM


Quote: Originally posted by CicTec  
No problem, take all the time needed to mount the example, when available will try it. :)


Sending you a U2U now with a link to download the .rar/files needed :)




~*~ Princess of Pies and Pastries ~*~
View user's profile View All Posts By User
CicTec
DIV Pro
******




Posts: 471
Registered: 6-8-2016
Member Is Offline


[*] posted on 19-4-2017 at 02:50 PM


Thanks :), received and downloaded, I shall examine it in the coming days, as soon as I have some news, will alert.
View user's profile View All Posts By User

  Go To Top

Powered by XMB
XMB Forum Software © 2001-2012 The XMB Group
[Queries: 18]