I am currently using the SpriteSurfaces NextFrame event to hold my key
checks for movement. Should I move them to the Window - EventHandlers -
KeyDown event?
_______________________________________________
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>
From Tue 23 Jan 2007 13:11:56 -0700
Return-Path: <realbasic-games-bounces at lists dot realsoftware dot com>
X-Original-To: listarchive at realsoftware dot com
Delivered-To: listarchive at realsoftware dot com
Received: by xmail.realsoftware.com (Postfix, from userid 1037)
id 2920E17E5068; Tue, 23 Jan 2007 12:12:12 -0800 (PST)
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on
www.realsoftware.com
X-Spam-Level:
X-Spam-Status: No, score=-1.7 required=4.5 tests=AWL,BAYES_00,NO_REAL_NAME
autolearn=no version=3.1.1
Received: from lists.realsoftware.com (lists.realsoftware.com [209.198.132.125])
by xmail.realsoftware.com (Postfix) with ESMTP id 39AD617E5061;
Tue, 23 Jan 2007 12:12:08 -0800 (PST)
Received: from lists.realsoftware.com (localhost [127.0.0.1])
by lists.realsoftware.com (Postfix) with ESMTP
id 0DF141860102; Tue, 23 Jan 2007 14:12:01 -0600 (CST)
X-Original-To: realbasic-games at lists dot realsoftware dot com
Delivered-To: realbasic-games at lists dot realsoftware dot com
Received: from mail.verex.com (mail.verex.com [66.116.103.197])
by lists.realsoftware.com (Postfix) with ESMTP id 98F3718600F5
for <realbasic-games at lists dot realsoftware dot com>;
Tue, 23 Jan 2007 14:11:56 -0600 (CST)
Received: from [66.116.103.197] (localhost [127.0.0.1])
by mail.verex.com (Postfix) with SMTP id 120C56DAFA2
for <realbasic-games at lists dot realsoftware dot com>;
Tue, 23 Jan 2007 13:11:56 -0700 (MST)
Date: Tue, 23 Jan 2007 13:11:56 -0700
From: joe at strout dot net
To: realbasic-games at lists dot realsoftware dot com
In-Reply-To: <6d479d67804aee47fc16102e4f24cefe at verizon dot net>
X-Mailer: VerEx Email Gateway
Content-type: text/plain;
Content-transfer-encoding: 7bit
Message-Id: <20070123201156 dot 120C56DAFA2 at mail dot verex dot com>
Subject: Re: SpriteSurface Out of bounds message
X-BeenThere: realbasic-games at lists dot realsoftware dot com
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: REALbasic Games <realbasic-games at lists dot realsoftware dot com>
Sender: realbasic-games-bounces at lists dot realsoftware dot com
Errors-To: realbasic-games-bounces at lists dot realsoftware dot com
On Jan 23, 2007, at 19:09 UTC, Mark Barnett wrote:
Done! Now it takes longer for the map to show up but it's okay, I
guess. How do I move the screen just a few pixels at a time in any
direction. I have the arrow keys loaded in NextFrame event. But each
time I try to move the map, it won't update with the new coordinates.
I don't understand what you mean by that. You scroll the screen just
by calling me.Scroll.
I am so lost how he did that in the RPG.
Who did what in which RPG? Are you talking about my old RPG
SpritSurface demo?
It still doesn't make any sense to me.
You just scroll the SpriteSurface (with the Scroll method). Let it
worry about which map tiles need to be drawn; just draw whatever it
tells you to.
And I really appreciate your help on this.
Happy to -- can't wait to see your project!
Best,
- Joe
--
Joe Strout -- joe at strout dot net
Verified Express, LLC "Making the Internet a Better Place"
http://www.verex.com/
_______________________________________________
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>
From Tue 23 Jan 2007 13:12:48 -0700
Return-Path: <realbasic-games-bounces at lists dot realsoftware dot com>
X-Original-To: listarchive at realsoftware dot com
Delivered-To: listarchive at realsoftware dot com
Received: by xmail.realsoftware.com (Postfix, from userid 1037)
id AC62917E50A1; Tue, 23 Jan 2007 12:13:02 -0800 (PST)
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on
www.realsoftware.com
X-Spam-Level:
X-Spam-Status: No, score=-1.7 required=4.5 tests=AWL,BAYES_00,NO_REAL_NAME
autolearn=no version=3.1.1
Received: from lists.realsoftware.com (lists.realsoftware.com [209.198.132.125])
by xmail.realsoftware.com (Postfix) with ESMTP id 62B0117E5096;
Tue, 23 Jan 2007 12:12:58 -0800 (PST)
Received: from lists.realsoftware.com (localhost [127.0.0.1])
by lists.realsoftware.com (Postfix) with ESMTP
id D161E1860128; Tue, 23 Jan 2007 14:12:52 -0600 (CST)
X-Original-To: realbasic-games at lists dot realsoftware dot com
Delivered-To: realbasic-games at lists dot realsoftware dot com
Received: from mail.verex.com (mail.verex.com [66.116.103.197])
by lists.realsoftware.com (Postfix) with ESMTP id 2AFA7186011B
for <realbasic-games at lists dot realsoftware dot com>;
Tue, 23 Jan 2007 14:12:49 -0600 (CST)
Received: from [66.116.103.197] (localhost [127.0.0.1])
by mail.verex.com (Postfix) with SMTP id E5F6D6DAFAA
for <realbasic-games at lists dot realsoftware dot com>;
Tue, 23 Jan 2007 13:12:48 -0700 (MST)
Date: Tue, 23 Jan 2007 13:12:48 -0700
From: joe at strout dot net
To: realbasic-games at lists dot realsoftware dot com
In-Reply-To: <e89fb4d75d4433b44cb2bda304a97d41 at verizon dot net>
X-Mailer: VerEx Email Gateway
Content-type: text/plain;
Content-transfer-encoding: 7bit
Message-Id: <20070123201248 dot E5F6D6DAFAA at mail dot verex dot com>
Subject: Re: Movement
X-BeenThere: realbasic-games at lists dot realsoftware dot com
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: REALbasic Games <realbasic-games at lists dot realsoftware dot com>
Sender: realbasic-games-bounces at lists dot realsoftware dot com
Errors-To: realbasic-games-bounces at lists dot realsoftware dot com
On Jan 23, 2007, at 19:16 UTC, Mark Barnett wrote:
I am currently using the SpriteSurfaces NextFrame event to hold my
key checks for movement. Should I move them to the Window -
EventHandlers - KeyDown event?
Definitely not. The NextFrame event (or something called from there)
is the right place for those checks.
Best,
- Joe
--
Joe Strout -- joe at strout dot net
Verified Express, LLC "Making the Internet a Better Place"
http://www.verex.com/
_______________________________________________
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>
|