realbasic-nug
[Top] [All Lists]

Re: Windows differences :( causing so many bugs :(

To: realbasic-nug at lists dot realsoftware dot com
Subject: Re: Windows differences :( causing so many bugs :(
From: "Theodore H. Smith" <delete at elfdata dot com>
Date: Sat, 29 Sep 2007 11:48:36 +0100
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <mailman dot 65714 dot 1191017055 dot 256 dot realbasic-nug at lists dot realsoftware dot com>
> To: "REALbasic NUG" <realbasic-nug at lists dot realsoftware dot com>
> Message-ID: <15DCD93DA56949869B74B87F832556F1 at BlackBeast>
> Content-Type: text/plain; format=flowed; charset="iso-8859-1";
>       reply-type=original
>
> Hi T,
>
>> 4) graphics.Drawroundrect doesn't even draw a round rect! it draws an
>> octagon! :( I need to make my own "round rect" drawing code for PC :
>> ( Ridiculous!
>
> Works fine on mine. I also does it on XP with RB2006r2.

Erm....

I'm using XP.

I wonder what could be different. Mind if I send you a demo project?

--
http://elfdata.com/plugin/
"String processing, done right"


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


From  Sat 29 Sep 2007 07:15:07 -0600
Return-Path: <realbasic-nug-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 CBB37453A9D9; Sat, 29 Sep 2007 06:15:17 -0700 (PDT)
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on 
        www.realsoftware.com
X-Spam-Level: 
X-Spam-Status: No, score=-3.1 required=4.5 tests=ALL_TRUSTED,AWL,BAYES_00,
        NO_REAL_NAME autolearn=ham version=3.1.1
Received: from lists.realsoftware.com (m.realsoftware.com [66.116.103.65])
        by xmail.realsoftware.com (Postfix) with ESMTP id 635A5453A9CC;
        Sat, 29 Sep 2007 06:15:16 -0700 (PDT)
Received: from real-software-mini.local (localhost [127.0.0.1])
        by lists.realsoftware.com (Postfix) with ESMTP id 179596E7940;
        Sat, 29 Sep 2007 08:14:57 -0500 (CDT)
X-Original-To: realbasic-nug at lists dot realsoftware dot com
Delivered-To: realbasic-nug 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 1D1846E7933
        for <realbasic-nug at lists dot realsoftware dot com>;
        Sat, 29 Sep 2007 08:14:53 -0500 (CDT)
Received: from [66.116.103.197] (localhost [127.0.0.1])
        by mail.verex.com (Postfix) with SMTP id DC3CD7D124D
        for <realbasic-nug at lists dot realsoftware dot com>;
        Sat, 29 Sep 2007 07:15:07 -0600 (MDT)
Date: Sat, 29 Sep 2007 07:15:07 -0600
Subject: Re: Need help from a math specialist!
From: joe at strout dot net
To: realbasic-nug at lists dot realsoftware dot com
In-Reply-To: <33cbfa100709282137k5fca4610x81292edf97eb37d2 at mail dot gmail 
dot com>
X-Mailer: VerEx Email Gateway
Message-Id: <20070929131507 dot DC3CD7D124D at mail dot verex dot com>
X-BeenThere: realbasic-nug at lists dot realsoftware dot com
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: realbasic-nug-bounces at lists dot realsoftware dot com
Errors-To: realbasic-nug-bounces at lists dot realsoftware dot com

On Sep 29, 2007, at 04:37 UTC, Lars Jensen wrote:

> > Okay, I think I've narrowed it down.  Let's say that I have a Bezier
> > curve in point data.  Is there a mathematical way to determine what
> the
> > Y would be given an X coordinate?
> 
> Yes. But why complicate your life with Beziers when a simple trig
> function will do the job?
> 
> If you want to move something from position p = [0,P] over time t =
> [0,T], easing in and easing out, start with a cosine function. It has
> a nice S-curve going from 0 to pi/2.

Actually, you'll get a better S-curve with the function y=1/(1+exp(-x)).

But neither of these approaches deals with the case where the target
may move in the middle of the animation.  I've had to deal with this a
few times, and finally ended up using a simple model of acceleration
and braking.

I have this partially written up and demoed for a book I'm
(occasionally) working on -- it's a bit much to post here, but if
anyone wants to see the write-up and demo, ask me off-list.

Best,
- Joe
 
--
Joe Strout -- joe at strout dot net
Strout Custom Solutions, LLC

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


From  Sat 29 Sep 2007 07:16:21 -0600
Return-Path: <realbasic-nug-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 3A94D453AA5C; Sat, 29 Sep 2007 06:16:29 -0700 (PDT)
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on 
        www.realsoftware.com
X-Spam-Level: 
X-Spam-Status: No, score=-3.1 required=4.5 tests=ALL_TRUSTED,AWL,BAYES_00,
        NO_REAL_NAME autolearn=ham version=3.1.1
Received: from lists.realsoftware.com (m.realsoftware.com [66.116.103.65])
        by xmail.realsoftware.com (Postfix) with ESMTP id 3D709453AA52;
        Sat, 29 Sep 2007 06:16:28 -0700 (PDT)
Received: from real-software-mini.local (localhost [127.0.0.1])
        by lists.realsoftware.com (Postfix) with ESMTP id 5CA5A6E7959;
        Sat, 29 Sep 2007 08:16:10 -0500 (CDT)
X-Original-To: realbasic-nug at lists dot realsoftware dot com
Delivered-To: realbasic-nug 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 D20636E794E
        for <realbasic-nug at lists dot realsoftware dot com>;
        Sat, 29 Sep 2007 08:16:06 -0500 (CDT)
Received: from [66.116.103.197] (localhost [127.0.0.1])
        by mail.verex.com (Postfix) with SMTP id DE74F7D1261
        for <realbasic-nug at lists dot realsoftware dot com>;
        Sat, 29 Sep 2007 07:16:21 -0600 (MDT)
Date: Sat, 29 Sep 2007 07:16:21 -0600
Subject: Re: asyncKeyDown requring shift or capslock
From: joe at strout dot net
To: realbasic-nug at lists dot realsoftware dot com
In-Reply-To: <46FDE671 dot 3000107 at rpgportland dot com>
X-Mailer: VerEx Email Gateway
Message-Id: <20070929131621 dot DE74F7D1261 at mail dot verex dot com>
X-BeenThere: realbasic-nug at lists dot realsoftware dot com
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: realbasic-nug-bounces at lists dot realsoftware dot com
Errors-To: realbasic-nug-bounces at lists dot realsoftware dot com

On Sep 29, 2007, at 05:45 UTC, Fargo wrote:

> So, yeah. If I don't have shift down, or capslock on, 
> keyboard.asynckeydown(anything) won't evaluate to true.

Mighty peculiar.  I have a lot of games that would be broken if this
were true, but I haven't tried most of them on Linux, so it's probably
a bug peculiar to Linux or maybe even Ubuntu in particular.  I
recommend filing a bug report.

Best,
- Joe

--
Joe Strout -- joe at strout dot net
Strout Custom Solutions, LLC

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


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