realbasic-games
[Top] [All Lists]

Re: Double Buffer

To: REALbasic-Games at lists dot realsoftware dot com
Subject: Re: Double Buffer
From: Eric Richards <erockus at juno dot com>
Date: Mon, 29 Nov 2004 19:15:12 -0600
Cc:
Delivered-to: REALbasic-Games at lists dot realsoftware dot com
>Sounds like you need to suit up for a bug hunt. Start by finding a
reliable 
>procedure for reproducing the bug (to help with that, display the
player's 
>X and Y values on every step, perhaps in the title bar). Then, get back
in that 
>situation where you can reproduce it, set a breakpoint in your code, and
step 
>through it to see what's going on.


I think the bug is me ;-)

Well  I do have the X/Y displayed, in the window and
I have used the debugger.

I think the problem is my calc's. If the player is even with
an object  the player can't pass. However move over a bit and
the player can pass. Now this seems to only happen to objects 
on the ends. That is if  I have a bush, bush, bush, bush, the player
can pass the bushes on the ends but not in the middle.
However this doesn't always happen. It depends on which way
the player is going.

I seem to be close but still a bit off.

Part of the problem might be I don't fully understand
how and what to do for the collision.

So how should I or what should the clac's be? Based on a 32x32 tile
and the player at 32x32 ?

There is no jumping so I don't need to worry about that.

________________________________________________________________
Juno Platinum $9.95. Juno SpeedBand $14.95.
Sign up for Juno Today at http://www.juno.com!
Look for special offers at Best Buy stores.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>