Go Back   Zune Boards > Zune Discussions > Zune Games > Development Discussions > Development Help

Development Help For help from coding to error finding to that one thing you just can't get right

Reply
 
LinkBack Thread Tools
Old 09-20-2009, 08:44 AM   #1 (permalink)
Experienced Member
 
Join Date: May 2008
Posts: 860
Berty is on a distinguished road
Question HELP ME!!! All ZuneHD Devs!!!!

ok, im trying to port port one of my games over to ZuneHD, but everytime i go to deploy, i get a

Error 1 The XNA Framework runtime required by this game project is not available on 'Berty'. The following information may provide more detail: There is no runtime registered for the target device that matches the required runtime version. The target device is not supported by the installed version of XNA Game Studio Platform Tools. 0 0


i dont get this error when i am deploying the platformer sample........so........help me please!
__________________
--new--zGuitarTuner2.1--new--
Now Works With All Zune Models!
Quote:
We talked about this. Bypass the word filter again and you'll be infracted.
-Seb






Berty is offline   Reply With Quote

Advertisement [Remove Advertisement]
Old 09-20-2009, 09:23 AM   #2 (permalink)
Experienced Member
 
ShotgunSnipist's Avatar
 
Join Date: May 2008
Location: Colorado
Posts: 803
ShotgunSnipist has a spectacular aura aboutShotgunSnipist has a spectacular aura about
Send a message via AIM to ShotgunSnipist
Default

Quote:
Originally Posted by Berty View Post
ok, im trying to port port one of my games over to ZuneHD, but everytime i go to deploy, i get a

Error 1 The XNA Framework runtime required by this game project is not available on 'Berty'. The following information may provide more detail: There is no runtime registered for the target device that matches the required runtime version. The target device is not supported by the installed version of XNA Game Studio Platform Tools. 0 0


i dont get this error when i am deploying the platformer sample........so........help me please!
It sounds like the game you are porting was made in 3.0.

If you right click on the Zune logo in the solutions explorer
(The panel on the right side of the screen),
one of the options will be upgrade project. Just click that
and you're good to go.
__________________
Invisible Text. =P



ShotgunSnipist is offline   Reply With Quote
Old 09-20-2009, 09:28 AM   #3 (permalink)
Super Zuner
 
theguywholoveszunehd's Avatar
 
Join Date: Sep 2008
Posts: 1,781
theguywholoveszunehd will become famous soon enough
Default

Quote:
Originally Posted by ShotgunSnipist View Post
It sounds like the game you are porting was made in 3.0.

If you right click on the Zune logo in the solutions explorer
(The panel on the right side of the screen),
one of the options will be upgrade project. Just click that
and you're good to go.
and when you get it to work, let us all download it!
__________________
"Because We're aliens, and that's how we roll." - Alec Baldwin




theguywholoveszunehd is offline   Reply With Quote
Old 09-20-2009, 03:17 PM   #4 (permalink)
Experienced Member
 
Join Date: May 2008
Posts: 860
Berty is on a distinguished road
Default

Thats a big 10 4 to the two of u!!!


thanx, will post within the week


3.1 does work on previous gens right, im sure it is but just in case, i dont wanna delete wat i have
__________________
--new--zGuitarTuner2.1--new--
Now Works With All Zune Models!
Quote:
We talked about this. Bypass the word filter again and you'll be infracted.
-Seb






Berty is offline   Reply With Quote
Old 09-20-2009, 03:41 PM   #5 (permalink)
Zuner
 
Join Date: Aug 2009
Posts: 78
ShakeNBake22 is on a distinguished road
Default

what game did you make?



ShakeNBake22 is offline   Reply With Quote
Old 09-20-2009, 04:26 PM   #6 (permalink)
Experienced Member
 
Join Date: May 2008
Posts: 860
Berty is on a distinguished road
Default

zGuitarTuner, im porting it over to the ZuneHD.

Im making it so one download works with both the ZuneHD and ZuneSD
__________________
--new--zGuitarTuner2.1--new--
Now Works With All Zune Models!
Quote:
We talked about this. Bypass the word filter again and you'll be infracted.
-Seb






Berty is offline   Reply With Quote
Old 09-20-2009, 04:31 PM   #7 (permalink)
Super Zuner
 
theguywholoveszunehd's Avatar
 
Join Date: Sep 2008
Posts: 1,781
theguywholoveszunehd will become famous soon enough
Default

Quote:
Originally Posted by Berty View Post
Thats a big 10 4 to the two of u!!!


thanx, will post within the week


3.1 does work on previous gens right, im sure it is but just in case, i dont wanna delete wat i have
yeah 3.1 still works with older gens
__________________
"Because We're aliens, and that's how we roll." - Alec Baldwin




theguywholoveszunehd is offline   Reply With Quote
Old 09-20-2009, 08:57 PM   #8 (permalink)
Yes. I am a male =__=;
GFX Crew
Premium Member
Global Moderator
Expert Zuner
 
Sebbeh♥'s Avatar
 
Join Date: Jan 2008
Location: New York City
Posts: 3,186
Sebbeh♥ has much to be proud ofSebbeh♥ has much to be proud ofSebbeh♥ has much to be proud ofSebbeh♥ has much to be proud ofSebbeh♥ has much to be proud ofSebbeh♥ has much to be proud ofSebbeh♥ has much to be proud of
Send a message via MSN to Sebbeh♥ Send a message via Skype™ to Sebbeh♥
Awards Showcase
Most Flamboyant Personality 
Total Awards: 1
Default

I'll just move this to zune games...
__________________

Alternative Sig
Charge's Super Awesome Zune Wallpaper Site
Isn't it funny? You hear a phone ring, and it could be anybody...
but a ringing phone has to be answered, doesn't it?
-The caller




Sebbeh♥ is offline   Reply With Quote
Old 09-21-2009, 12:57 PM   #9 (permalink)
Experienced Member
 
Join Date: May 2008
Posts: 860
Berty is on a distinguished road
Default

ok, one more question about touch screen coding

I have set up a menu system where if u click on menuoption one, it brings up another menu with a menuoption located right behind it.

When i click on just the first menu option, it reads it as clicking the first menu option and the ones behind it. Does that make any sense?

i tried using a thread.sleep action to disable the touchscreen for just a second so it doesnt double click (for lack of better words)

uh, if this makes no sense, i can post some coding (id have to get on my other computer)
__________________
--new--zGuitarTuner2.1--new--
Now Works With All Zune Models!
Quote:
We talked about this. Bypass the word filter again and you'll be infracted.
-Seb






Berty is offline   Reply With Quote
Old 09-21-2009, 01:10 PM   #10 (permalink)
Purger of Ignorance
zB Programmer
Retired Staff
Expert Zuner
 
Netrix's Avatar
 
Join Date: Jun 2008
Location: In my own world
Posts: 2,804
Netrix is a name known to allNetrix is a name known to allNetrix is a name known to allNetrix is a name known to allNetrix is a name known to all
Send a message via MSN to Netrix
Default

Quote:
Originally Posted by Berty View Post
ok, one more question about touch screen coding

I have set up a menu system where if u click on menuoption one, it brings up another menu with a menuoption located right behind it.

When i click on just the first menu option, it reads it as clicking the first menu option and the ones behind it. Does that make any sense?

i tried using a thread.sleep action to disable the touchscreen for just a second so it doesnt double click (for lack of better words)

uh, if this makes no sense, i can post some coding (id have to get on my other computer)
You should have a variable called "MenuState" or something that keeps track of what menu is at the top so when the screen is touched, it knows the menu to which it should react.
__________________
"Against logic there is no armor like ignorance." - Laurence J. Peter

Solitaire for your Zune! http://www.zuneboards.com/forums/dow...ne-v2-0-a.html

Zune Book Reader! http://www.zuneboards.com/forums/app...ew-thread.html




Netrix is offline   Reply With Quote
Old 09-21-2009, 02:08 PM   #11 (permalink)
Experienced Member
 
Join Date: May 2008
Posts: 860
Berty is on a distinguished road
Default

yeah, i have that, the problem is, i click on the first menu option and it loads so quickly that i dont have enough time to release my finger and it takes it that i have pressed the second menu too
__________________
--new--zGuitarTuner2.1--new--
Now Works With All Zune Models!
Quote:
We talked about this. Bypass the word filter again and you'll be infracted.
-Seb






Berty is offline   Reply With Quote
Old 09-21-2009, 02:12 PM   #12 (permalink)
Purger of Ignorance
zB Programmer
Retired Staff
Expert Zuner
 
Netrix's Avatar
 
Join Date: Jun 2008
Location: In my own world
Posts: 2,804
Netrix is a name known to allNetrix is a name known to allNetrix is a name known to allNetrix is a name known to allNetrix is a name known to all
Send a message via MSN to Netrix
Default

Quote:
Originally Posted by Berty View Post
yeah, i have that, the problem is, i click on the first menu option and it loads so quickly that i dont have enough time to release my finger and it takes it that i have pressed the second menu too
Have it so it only selects the menu option if there is a new touch point.
__________________
"Against logic there is no armor like ignorance." - Laurence J. Peter

Solitaire for your Zune! http://www.zuneboards.com/forums/dow...ne-v2-0-a.html

Zune Book Reader! http://www.zuneboards.com/forums/app...ew-thread.html




Netrix is offline   Reply With Quote
Old 09-21-2009, 02:18 PM   #13 (permalink)
Experienced Member
 
Join Date: May 2008
Posts: 860
Berty is on a distinguished road
Default

hmmmm, lemme give a code, cause im lost


Quote:
if (zhd == true)
{
touchState =
TouchPanel.GetState();
foreach (TouchLocation location in touchState)
{
switch (location.State)
{
caseTouchLocationState.Pressed:
{
if (screen == 1)
{
if (location.Position.Y < 150 && location.Position.Y > 90)
{
screen = 10;
}
if (location.Position.Y < 230 && location.Position.Y > 170)
{
screen = 20;
}
if (location.Position.Y < 310 && location.Position.Y > 250)
{
this.Exit();
}
}
if (screen == 10)
{
if (location.Position.Y < 150 && location.Position.Y > 90)
{
screen = 2;
}
if (location.Position.Y < 230 && location.Position.Y > 170)
{
screen = 3;
}
if (location.Position.Y < 310 && location.Position.Y > 250)
{
screen = 1;
}
}
}
break;
caseTouchLocationState.Moved:
{
}
break;
}
}
}
the problem is, when i click on menuoption 1 on screen 1, it sends me to screen 2, instead of screen 10.

it is clicking menu option 1 on page 10 while it is clicking on menu option 1 on page 1

tell me if im making sense
__________________
--new--zGuitarTuner2.1--new--
Now Works With All Zune Models!
Quote:
We talked about this. Bypass the word filter again and you'll be infracted.
-Seb






Berty is offline   Reply With Quote
Old 09-21-2009, 02:38 PM   #14 (permalink)
Purger of Ignorance
zB Programmer
Retired Staff
Expert Zuner
 
Netrix's Avatar
 
Join Date: Jun 2008
Location: In my own world
Posts: 2,804
Netrix is a name known to allNetrix is a name known to allNetrix is a name known to allNetrix is a name known to allNetrix is a name known to all
Send a message via MSN to Netrix
Default

Quote:
Originally Posted by Berty View Post
hmmmm, lemme give a code, cause im lost

the problem is, when i click on menuoption 1 on screen 1, it sends me to screen 2, instead of screen 10.

it is clicking menu option 1 on page 10 while it is clicking on menu option 1 on page 1

tell me if im making sense
It is doing exactly what you are telling it to:

Code:
...
if (screen == 1)
{
if (location.Position.Y < 150 && location.Position.Y > 90)
{
screen = 10;
}
...
if (screen == 10)
{
if (location.Position.Y < 150 && location.Position.Y > 90)
{
screen = 2;
}
...
__________________
"Against logic there is no armor like ignorance." - Laurence J. Peter

Solitaire for your Zune! http://www.zuneboards.com/forums/dow...ne-v2-0-a.html

Zune Book Reader! http://www.zuneboards.com/forums/app...ew-thread.html




Netrix is offline   Reply With Quote
Old 09-21-2009, 02:59 PM   #15 (permalink)
Experienced Member
 
Join Date: May 2008
Posts: 860
Berty is on a distinguished road
Default

so how do i change it? im really confused by this touch screen stuff
__________________
--new--zGuitarTuner2.1--new--
Now Works With All Zune Models!
Quote:
We talked about this. Bypass the word filter again and you'll be infracted.
-Seb






Berty is offline   Reply With Quote
Old 09-21-2009, 05:31 PM   #16 (permalink)
Purger of Ignorance
zB Programmer
Retired Staff
Expert Zuner
 
Netrix's Avatar
 
Join Date: Jun 2008
Location: In my own world
Posts: 2,804
Netrix is a name known to allNetrix is a name known to allNetrix is a name known to allNetrix is a name known to allNetrix is a name known to all
Send a message via MSN to Netrix
Default

Quote:
Originally Posted by Berty View Post
so how do i change it? im really confused by this touch screen stuff
The touch screen stuff has nothing to do with your problem. You have screen being set to 10, then 2. You need to add break; right after you assign screen a value, otherwise it might get assigned another value, such as what is happening to you right now.
__________________
"Against logic there is no armor like ignorance." - Laurence J. Peter

Solitaire for your Zune! http://www.zuneboards.com/forums/dow...ne-v2-0-a.html

Zune Book Reader! http://www.zuneboards.com/forums/app...ew-thread.html




Netrix is offline   Reply With Quote
Old 09-21-2009, 06:59 PM   #17 (permalink)
Experienced Member
 
Join Date: May 2008
Posts: 860
Berty is on a distinguished road
Default

ok, i think i know what u mean.do u think u can show me what u mean in code form?
__________________
--new--zGuitarTuner2.1--new--
Now Works With All Zune Models!
Quote:
We talked about this. Bypass the word filter again and you'll be infracted.
-Seb






Berty is offline   Reply With Quote
Old 09-21-2009, 09:08 PM   #18 (permalink)
Zuner
 
Join Date: Jan 2008
Posts: 81
Manticore-X will become famous soon enough
Default

Try changing if (screen == 10) to else if (screen == 10)



Manticore-X is offline   Reply With Quote
Old 09-21-2009, 09:58 PM   #19 (permalink)
Purger of Ignorance
zB Programmer
Retired Staff
Expert Zuner
 
Netrix's Avatar
 
Join Date: Jun 2008
Location: In my own world
Posts: 2,804
Netrix is a name known to allNetrix is a name known to allNetrix is a name known to allNetrix is a name known to allNetrix is a name known to all
Send a message via MSN to Netrix
Default

Quote:
Originally Posted by Manticore-X View Post
Try changing if (screen == 10) to else if (screen == 10)
That would work too.
__________________
"Against logic there is no armor like ignorance." - Laurence J. Peter

Solitaire for your Zune! http://www.zuneboards.com/forums/dow...ne-v2-0-a.html

Zune Book Reader! http://www.zuneboards.com/forums/app...ew-thread.html




Netrix is offline   Reply With Quote
Old 09-22-2009, 12:09 PM   #20 (permalink)
Experienced Member
 
Join Date: May 2008
Posts: 860
Berty is on a distinguished road
Default

no, its doesnt change a thing.

The only thing that (seems) to work, is to put the "if (screen == 1) {....screen = 10}" , after the "if (screen == 10)"

but this is gunna get really messy!
If u have any other ideas please post
__________________
--new--zGuitarTuner2.1--new--
Now Works With All Zune Models!
Quote:
We talked about this. Bypass the word filter again and you'll be infracted.
-Seb






Berty is offline   Reply With Quote
Reply

Bookmarks

Thread Tools