realbasic-games
[Top] [All Lists]

Re: Zombie Invasion in 3D!

To: REALbasic Games <realbasic-games at lists dot realsoftware dot com>
Subject: Re: Zombie Invasion in 3D!
From: William Squires <wsquires at satx dot rr dot com>
Date: Sat, 30 Apr 2005 19:38:33 -0500
Cc:
Delivered-to: realbasic-games at lists dot realsoftware dot com
References: <BE98B503 dot D06C%larsjensen at rcn dot com> <c4ac797ce65b9b3f1384e2dfcde817b5 at mac dot com>

On Apr 30, 2005, at 8:31 AM, dazz wrote:

sorry but i have a nilexeption here :

it starts i hear the amb sound then :

  Dim obj As Object3D
  obj = LoadUnmaskedPicture( "grass512x512.jpg" )
  obj.Scale = Max( mMap.Height, mMap.Width )
  obj.Position.X = obj.Scale/2 - 0.5
  obj.Position.z = obj.Scale/2 - 0.5
  obj.Pitch -kPiOver2
  obj.RenderBackFaces = true
  obj.NullShader = true
  Objects.Append o

?? What is 'Objects', and what is 'o'? I'm guessing 'Objects' is a property of a window or class, but where did 'o' come from? Maybe you mean:

Object.Append obj

instead?

end sub  <=== nil

both obj and self seems to be initiated corectly

powerbook 1,33 RB 5.5.5, X.3.9 dual screen

_______________________________________________
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>


William H Squires Jr
wsquires at satx dot rr dot com dot nospam <- remove the .nospam

_______________________________________________
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>