Old 09-21-2009, 08:31 PM   #1 (permalink)
Experienced Zuner
 
lilborat724's Avatar
 
Join Date: Jan 2008
Posts: 155
lilborat724 is on a distinguished road
Default Basic Code

What is the code for a white background and black text that reads "Hello! I am a Zune!" with the Hello and the I am a Zune being separate character that can either respond to my finger or being tilted?

I'm going to edit this code until I get it, then move on to bigger and tougher things
__________________



Quote:
Originally Posted by Deagle View Post
It's completely impossible. Thanks for letting me crush your dreams.



lilborat724 is offline   Reply With Quote

Advertisement [Remove Advertisement]
Old 09-22-2009, 05:06 PM   #2 (permalink)
Jr. Member
 
BlackFox's Avatar
 
Join Date: Mar 2009
Posts: 489
BlackFox is on a distinguished road
Default

Hmm, that part with the responding to finger was a little confusing, could you explain?
__________________




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

protectedoverridevoid Draw(GameTime gameTime)
{
GraphicsDevice.Clear(
Color.White);
spriteBatch.Begin(SpriteBlendMode.AlphaBlend);


spriteBatch.DrawString(font, "Hello! I am a Zune!".ToString(),
new Vector2 (20, 50), Color.Black);

spriteBatch.End();
base.Draw(gameTime);
}
__________________
--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

Last edited by Berty; 09-22-2009 at 05:25 PM.






Berty is online now   Reply With Quote
Old 09-22-2009, 08:57 PM   #4 (permalink)
Experienced Zuner
 
lilborat724's Avatar
 
Join Date: Jan 2008
Posts: 155
lilborat724 is on a distinguished road
Default

Quote:
Originally Posted by BlackFox View Post
Hmm, that part with the responding to finger was a little confusing, could you explain?
For the ZuneHD.
__________________



Quote:
Originally Posted by Deagle View Post
It's completely impossible. Thanks for letting me crush your dreams.



lilborat724 is offline   Reply With Quote
Old 09-23-2009, 11:55 AM   #5 (permalink)
Experienced Member
 
Join Date: May 2008
Posts: 860
Berty is on a distinguished road
Default

he means, how does he code for input on either touch or accelerameter

im still a rookie on that subject, still learning myself
__________________
--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 online now   Reply With Quote
Old 09-23-2009, 03:24 PM   #6 (permalink)
Jr. Member
 
BlackFox's Avatar
 
Join Date: Mar 2009
Posts: 489
BlackFox is on a distinguished road
Default

Pretty sure everyone's still learnin that. You'll have to add a spritefont and load it in the load content method.
__________________




BlackFox is offline   Reply With Quote
Old 09-28-2009, 09:49 PM   #7 (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

Here, I threw together a "game" for you so you can get your grips.

No guarantees this works though... I haven't debugged it.

Basically, accelerometer moves text, and touching controls text.

If more than one finger is touching, it will go to the finger furthest away from point (0,0)

http://www.mediafire.com/file/ynzjzn...loIAmAZune.zip
__________________
Invisible Text. =P



ShotgunSnipist is offline   Reply With Quote
Reply

Bookmarks

Thread Tools