在 Windows Phone 7 模拟器上上传/模拟一组歌曲
我正在编写一款 Windows Phone 7 游戏,该游戏涉及从歌曲中提取频谱并基于此构建游戏关卡。到目前为止,我遇到的唯一问题是我无法使用 Zune 媒体库中的任何歌曲,因为模拟器上没有任何歌曲。我还没有设备。我下载了模拟器的解锁版本,其中有更多应用程序,包括 zune,但当我打开 Zune 时,它似乎是空的。
我可以以某种方式上传或模拟(在运行时将歌曲添加到媒体库)歌曲集,以便我可以使用模拟器测试游戏吗?
PS 我认为有一个工具可以让您将设备同步到 PC 上的 Zune 客户端,但我不确定它是否可以与模拟器一起使用。
请帮忙。
I am writing a windows phone 7 game that deals with extracting the spectrum out of a song and building the game level based on that. The only problem I have so far, though is that I cannot use any song out of the Zune media library, because there aren't any on the emulator. I do not have a device yet. I downloaded an unlocked build of the emulator, which has more apps, including zune, but when I open Zune, it seems to be empty.
Can I somehow upload or simulate (add songs to the medialibrary at runtime) a song collection so that I can test the game with the emulator?
P.S. I think that there's a tool that let's you sync your device to the Zune client on the PC, but I'm not sure whether it will work with the emulator.
Please, help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不,您无法在 PC 和模拟器之间同步。
不过,我默认在模拟器中看到 3 首歌曲。
您可以通过 MediaLibrary.Songs 访问它们 集合。只需添加对
Microsoft.Xna.Framework
的引用(是的,即使您有一个基于 Silverlight 的项目。),就可以开始了。您必须拥有该工具的 RTM 版本,因为 Beta 或 CTP 版本中没有这些工具。
No you can't sync between your PC and the emulator.
I, however see 3 songs available in the emulator by default though.
You can access them via the MediaLibrary.Songs collection. Simply add a reference to
Microsoft.Xna.Framework
(Yes, even if you've got a Silverlight based project.) and you're good to go.You must have the RTM version of the tools though as they weren't there in the Beta or CTP versions.