realbasic-games
[Top] [All Lists]

Timer fixed in RB2007r1

To: REALbasic Games <realbasic-games at lists dot realsoftware dot com>
Subject: Timer fixed in RB2007r1
From: Jeff Quan <jquan at mindspring dot com>
Date: Tue, 2 Jan 2007 12:30:04 -0800
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-games at lists dot realsoftware dot com
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=mindspring.com; b=PWmDnEYZoV7KfKk4IT49T2EmeaYATm8W+00rAZQTooORaIss7TYnDYgOhqFJImeo; h=Received:Mime-Version:To:Message-Id:Content-Type:From:Subject:Date:X-Mailer:X-ELNK-Trace:X-Originating-IP;
Just noticed that the timer fires much faster now in the latest RB release (an OS X fix, according to the release notes). Makes it even more suitable for games (ie: higher frame rates). I just watched a timer-based test app of mine jump from around 60FPS to nearly 120 (1.8 GHz G4).

==
Jeff Quan
jquan at mindspring dot com
http://www.jcquan.com/JQportfolio


_______________________________________________
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  Thu 4 Jan 2007 11:32:25 -0600 (CST)
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 F0CD315A2620; Thu,  4 Jan 2007 09:32:39 -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.6 required=4.5 tests=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 9222415A261A;
        Thu,  4 Jan 2007 09:32:35 -0800 (PST)
Received: from lists.realsoftware.com (localhost [127.0.0.1])
        by lists.realsoftware.com (Postfix) with ESMTP
        id 75C5A17C3272; Thu,  4 Jan 2007 11:32:28 -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 apdmxux11.athenet.net (smtp-server1.athenet.net [69.28.3.2])
        by lists.realsoftware.com (Postfix) with ESMTP id 9AE4617C3264
        for <realbasic-games at lists dot realsoftware dot com>;
        Thu,  4 Jan 2007 11:32:25 -0600 (CST)
Received: from mail.athenet.net (localhost [127.0.0.1])
        by apdmxux11.athenet.net (8.13.6/8.13.6) with ESMTP id l04HWPUr026299
        for <realbasic-games at lists dot realsoftware dot com>;
        Thu, 4 Jan 2007 11:32:25 -0600
Received: from 216.56.22.34 (SquirrelMail authenticated user tornado)
        by mail.athenet.net with HTTP; Thu, 4 Jan 2007 11:32:25 -0600 (CST)
Message-ID: <61092 dot 216 dot 56 dot 22 dot 34 dot 1167931945 dot squirrel at 
mail dot athenet dot net>
Date: Thu, 4 Jan 2007 11:32:25 -0600 (CST)
From: tornado at athenet dot net
To: realbasic-games at lists dot realsoftware dot com
User-Agent: SquirrelMail/1.4.8
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
References: In-Reply-To: Subject: Looking at the origin in 3D
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

The user can move the camera around my object in a circle but it always
views in the same direction. I want the camera to always be facing the
object which happens to be at the origin. The radius of the circle is 750.

This is the code for the camera movement:
   Zangle=Zangle+.1//a property as double
   Rb3DSpace1.Camera.Position.X=Rb3DSpace1.Camera.Position.X//this line
is not strictly necessary buy I keep it here for consistency
   Rb3DSpace1.Camera.Position.Y=(750*(Sin(Zangle)))
   Rb3DSpace1.Camera.Position.Z=(750*(Cos(Zangle)))

After that I want the camera to point towards the origin.

What would be even better is if the user could click and drag their mouse
on the RB3DSpace to move the camera.

I need to keep the object stationary to test for loctions.

Any suggections would be great.

Thanks!



_______________________________________________
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>
  • Timer fixed in RB2007r1, Jeff Quan <=