You are not logged in.
Lost Password?


Register To Post



 Bottom   Previous Topic   Next Topic

#1
Object bug in Reality Boy
Posted on: 2010/2/7 2:38
VUE(xpert)
Joined 2003/9/3
Sweden
442 Posts
PVBCC EntryHighscore Top10 3rdCoderContributorHOTY09 2ndLong Time User (15 Years) DonatorApp CoderPVBCC 2010 1st20+ Game RatingsPVBCC 2013 2nd
There is a bug in Reality Boy when using objects and scrolling backgrounds that put said objects off screen.

I've put together a small demo to illustrate this, "manwithball" (source included).

To see the bug, just start the demo and walk straight down. In RB, the ball stays in area 1 (like you would expect actually), but on HW the ball strangely wraps around and shows up again in area 3...

Maybe someone (DogP?) could look into this and "fix" RB so it works as quirky as the HW...

Attach file:


zip manwithball.zip Size: 23.24 KB; Hits: 166
Top

#2
Re: Object bug in Reality Boy
Posted on: 2010/2/7 4:12
PVB Elite
Joined 2003/7/25
USA
1507 Posts
PVBCC 1stCoderContributor#3 PosterHOTY09 EntryLong Time User (15 Years) App CoderPVBCC 2010 EntryPVBCC 2013 Entry
Ah... yeah, I've seen that before... when I was working on my Mario game, I used a bunch of objects, and they'd reappear further in the level on HW, but never reappear in RB.

BTW, I think you posted about several object bugs in the past... did they ever get fixed? Not that I'm saying I'll fix this or any of them, but if I'm gonna look at one, I might as well look at them all.

Heh, and that looks cool... I dunno if you were planning on starting a game like that, but it looks like a good start for a Tecmo Bowl type game ;) .

DogP
Top

#3
Re: Object bug in Reality Boy
Posted on: 2010/2/7 15:01
VUE(xpert)
Joined 2003/9/3
Sweden
442 Posts
PVBCC EntryHighscore Top10 3rdCoderContributorHOTY09 2ndLong Time User (15 Years) DonatorApp CoderPVBCC 2010 1st20+ Game RatingsPVBCC 2013 2nd
Yep, the bugs that my old OBJ pointer demo shows are still there as well. (Objects being put in the wrong world when you are using several object worlds and certain pointer values).

And no, I'm not going anywhere with this "game", the only purpose of it was to make this point. It's free for anyone to pick up and continue work on though
Top

#4
Re: Object bug in Reality Boy
Posted on: 2010/2/8 9:56
PVB Elite
Joined 2003/7/25
USA
1507 Posts
PVBCC 1stCoderContributor#3 PosterHOTY09 EntryLong Time User (15 Years) App CoderPVBCC 2010 EntryPVBCC 2013 Entry
Dan,

Can you explain the problem from the previous obj bug(s) that you noticed? I'm looking into the obj stuff, and I think I'm up to speed on how they work and what RB is doing with them, but I couldn't find what values you said caused it to work wrong.

DogP
Top

#5
Re: Object bug in Reality Boy
Posted on: 2010/2/8 13:16
VUE(xpert)
Joined 2003/9/3
Sweden
442 Posts
PVBCC EntryHighscore Top10 3rdCoderContributorHOTY09 2ndLong Time User (15 Years) DonatorApp CoderPVBCC 2010 1st20+ Game RatingsPVBCC 2013 2nd
Cool, I'll look into it again in more detail when I get home from work
Top

#6
Re: Object bug in Reality Boy
Posted on: 2010/2/8 19:07
VUE(xpert)
Joined 2003/9/3
Sweden
442 Posts
PVBCC EntryHighscore Top10 3rdCoderContributorHOTY09 2ndLong Time User (15 Years) DonatorApp CoderPVBCC 2010 1st20+ Game RatingsPVBCC 2013 2nd
Ok, here goes. I haven't figured out the complete formula of whats wrong, but I can at least show it with a few examples using the OBJ pointer demo.

Now, the way you're supposed to view this is that the "files" (numbered tiles) are the objects, each one sitting in one of the 4 available OBJ worlds. The "folders" are normal worlds, acting as separators between the object worlds, used only as a visual clue to which OBJ world one of the numbered tiles is currently in.

So, looking at Exhibit A, I have 16 objects and all 4 OBJ worlds enabled. Setting SPT3 to 15, and all other OBJ pointers to 0, Reality Boy places object 0 in OBJ world 4 (closest to the viewer) and the rest of the objects in OBJ world 1. But the correct behaviour would be to put the rest of the objects in OBJ world 3 (as seen on hardware).

Moving on to Exhibit B, I reduce the number of used OBJ worlds to 3, and set the SPT pointers to 4, 1, 7, 0 respectively. RB then puts objects 0-7 in OBJ world 3 and simply hides the rest of the objects. But here the hardware puts objects 1-7 in OBJ world 3 and all other objects in OBJ world 2...

Sorry for rambling, but hopefully you can make some sense out of this. And thanks for finally looking into it

P.S. Why can't I edit my previous post?

Attach file:



png  ExhibitA.png (13.61 KB)
27_4b704cd52d943.png 805X311 px

png  ExhibitB.png (15.00 KB)
27_4b704ce40c398.png 805X311 px
Top

#7
Re: Object bug in Reality Boy
Posted on: 2010/2/8 19:32
Administrator
Joined 2000/1/8
Germany
2515 Posts
Highscore Top10Highscore Top ScoreCoder#1 PosterHOTY09 1stLong Time User (15 Years) App Coder90+ Game Ratings
Dan: Since a while ago, edits are only possible within 30 minutes after posting. This is because the edit function should only be used to fix errors or append to posts right after they've been posted. There should not be a possibility to alter posts anymore after a little while, since that could lead to confusion, the deleting of inportant posts or such things.
Top

#8
Re: Object bug in Reality Boy
Posted on: 2010/2/10 9:09
PVB Elite
Joined 2003/7/25
USA
1507 Posts
PVBCC 1stCoderContributor#3 PosterHOTY09 EntryLong Time User (15 Years) App CoderPVBCC 2010 EntryPVBCC 2013 Entry
I'm looking at this right now... it seems that either the dev manual is unclear, wrong, or I don't quite understand it. I think I see how the hardware is handling it though, so I'll see if I can get this taken care of.

DogP
Top

#9
Re: Object bug in Reality Boy
Posted on: 2010/2/10 10:07
PVB Elite
Joined 2003/7/25
USA
1507 Posts
PVBCC 1stCoderContributor#3 PosterHOTY09 EntryLong Time User (15 Years) App CoderPVBCC 2010 EntryPVBCC 2013 Entry
Okay... I think I've fixed the incorrect object handling from the "files" demo. I'll look at the ball demo to see if I can get that bug fixed, though it might end up being tomorrow (it's kinda late).

DogP
Top

#10
Re: Object bug in Reality Boy
Posted on: 2010/2/10 10:40
PVB Elite
Joined 2003/7/25
USA
1507 Posts
PVBCC 1stCoderContributor#3 PosterHOTY09 EntryLong Time User (15 Years) App CoderPVBCC 2010 EntryPVBCC 2013 Entry
Cool... that was pretty easy. Attached are the new RB executables w/ fixed object handling.

DogP

Attach file:


zip rb_obj_fix.zip Size: 199.67 KB; Hits: 474
Top

 Top   Previous Topic   Next Topic


Register To Post