Monday, May 10, 2010

Summer of code (not so much)

Hard to get focused on writing code with the nice weather, and being uber-busy.   Started with this, though, since the Windows Phone CTP is out.  So far, it seems to work full speed, though getting sound out will be a fuss.   This is XNA for Windows Phone 7, haven't played with the silverlight for the phone yet.  Exposing the emulations video and audio as a muxed stream might just be the ticket, and something I've thought about before.  (ie; the NES actually outputs an .avi which is then plugged into 'media player' of choice)


Drawing is only a bit of a chafe, I have to keep at least two textures, and swap them out (one texture is drawn, while the other is filled via SetData<>()).  You can't be manipulating the same piece of memory with both CPU and GPU at the same time, this is logical.  It's nice that XNA now hands my textures "back" after rendering, so I can call SetData again, before I was having to Dispose() of the old and create a new one each time to get them to update dynamically, which is hardly how to do it.

Controls..  The TouchPanel interface is easy to work with, just need to draw myself a control pad on screen, and map touches to it.

Audio...  Eh.. Not sure how well it will work, I'll try creating WAVs in memory, and see if I can schedule them in a tricky enough way to make it sound decent.

I should be able to get something people can use on their Phones in the fall, and maybe it'll be this Christmas' shopping seasons must have killer app?

No comments: