|
  
|
|
|||||||
| Development Discussions All developers who are coding games may stop by here for any help, suggestions, and everything development related. |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Jr. Member
Join Date: May 2008
Posts: 325
Reputation: 91
|
Hey does any one know how to see if the zune is a v1 or v2?
__________________
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. |
|
|
|
|
|
#3 (permalink) |
|
Jr. Member
Join Date: May 2008
Posts: 325
Reputation: 91
|
Oh Thank you very much, I forgot about that wiki. I am going to bookmark it.
I would give you rep but it says I spread to spread it around.
__________________
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. |
|
|
|
|
|
#4 (permalink) |
|
zB Programmer
Jr. Member Join Date: May 2008
Location: Bremen, germany
Posts: 454
Reputation: 246
|
Undead, its ok to use this to determine if you can support touchpads, but I guess you want to know this to determine how "fast" your game should calc its updates. Thats the wrong way then. You should not calc different things depending on the Zune version.
If I am wrong, then all is good If I am right, just ask what I mean...Greetings, Dirk
__________________
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. ![]() ![]() ![]() ![]() |
|
|
|
|
|
#5 (permalink) |
|
Jr. Member
Join Date: May 2008
Posts: 325
Reputation: 91
|
yea you are right, what I was going to do was just double my variables if it was a v2. Because the v2 runs at half the speed of v1.
__________________
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. |
|
|
|
|
|
#6 (permalink) |
|
Jr. Member
Join Date: May 2008
Posts: 410
Reputation: 60
|
Just make all motion time based instead. So in your update where you might have done:
position += velocity; Just put in the elapsed game time: position += velocity * (float)gameTime.ElapsedGameTime.TotalSeconds; Now instead of your character moving "velocity" amount per frame, it moves "velocity" amount per second. So now it doesn't matter how many frames per second it renders, because your characters will all move based on time rather than frames. |
|
|
|
|
|
#7 (permalink) | |
|
Jr. Member
Join Date: May 2008
Posts: 325
Reputation: 91
|
Quote:
Edit- I tried it but it gave a float error, so I changed it an int and now it doesnt work at all
__________________
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. Last edited by The Undead : 07-14-2008 at 11:41 PM. |
|
|
|
|
|
|
#8 (permalink) |
|
zB Programmer
Jr. Member Join Date: May 2008
Location: Bremen, germany
Posts: 454
Reputation: 246
|
Yea, thats exactly what I wanted to tell you, but I was in a hurry (needed to get my $%§& to the office
)In Nicks example: position += velocity * (float)gameTime.ElapsedGameTime.TotalSeconds; position and velocity are both Vector2... How did you define your movement/position variables?
__________________
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. ![]() ![]() ![]() ![]() |
|
|
|
|
|
#9 (permalink) | |
|
Jr. Member
Join Date: May 2008
Posts: 325
Reputation: 91
|
Quote:
__________________
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. |
|
|
|
|
![]() |
| Thread Tools | |
|
|
| |