XNA Game Development Forums
2012/05/21 20:08:42 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Search Calendar Login Register  
Pages: [1]
  Print  
Author Topic: GameTime issues  (Read 2021 times)
Mike2
Newbie
*
Offline Offline

Posts: 16


View Profile
« on: 2007/09/09 07:55:28 »

Hey Guys,

I'm little bother with a thing or two as it concerns XNA, first off all, the GameTime...
I can:

mygametime = new GameTime();

But for the rest...times stands still. I know with the hectic life we all live in, everybody would like the time to stand still, but in a game, its pretty stupid Wink
How can I "start" the GameTime...

Greetz
Mike
Logged
Nemo Krad
Global Moderator
Hero Member
*****
Offline Offline

Posts: 512


I have seen the fnords


View Profile WWW
« Reply #1 on: 2007/09/09 12:08:23 »

I think, what you should do is use the instance that comes with the Game object, it is managed for you. So instead of creating anew instance of the class just point yours at Game.game.Time
Logged
Mike2
Newbie
*
Offline Offline

Posts: 16


View Profile
« Reply #2 on: 2007/09/14 15:22:07 »

Hey Nemo,

Thx for your input, but a few days I started wondering about the game-Time "update"... in editor mode I don't need no tume evolution, so if I put an animated model in the scene. that won't have any effect on the rendering of it...
Thx anyway for the input, highly appreciated!

Greetz
Logged
Pages: [1]
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Having issues with tutorial 3 Hazy Mind XNA Engine siferion 4 2377 Last post 2006/11/26 14:04:03
by mikeschuld
Not good - issues in the first tutorial. Hazy Mind XNA Engine « 1 2 » Jeddak 20 5375 Last post 2007/03/26 19:31:08
by mikeschuld
Camera Issues Hazy Mind XNA Engine minich21 6 3047 Last post 2007/08/14 21:27:30
by mikeschuld
J.I Styles skin shader implementation issues Hazy Mind 3D Engine DX 1 2117 Last post 2007/03/30 07:53:25
by Nemo Krad
Camera Issues Hazy Mind XNA Engine Trano 3 2811 Last post 2008/09/17 08:27:25
by mikeschuld
Tutorial 9 - issues with some code Hazy Mind XNA Engine Mike2 3 2003 Last post 2007/08/31 22:30:19
by ChunkyBrewster
Mouse Input Issues Hazy Mind XNA Engine Silvo 3 2465 Last post 2008/09/15 00:10:11
by mikeschuld
Camera rotation issues (z-axis drift solved!) Hazy Mind XNA Engine ppardee 10 4271 Last post 2008/11/19 11:22:49
by inbreed
Powered by MySQL Powered by PHP Powered by SMF 1.1.12 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.38 seconds with 19 queries.