#115773 - HyperHacker - Fri Jan 19, 2007 12:55 am
I posted a simple demo recently of how to use the PSG to play tones. The DS has more advanced methods if you want them, but this should be enough for the task at hand - it's all they had on the NES and Game Boy to make their music with, and some games (Pok?mon G/S) did a heck of a job with that. (Well, Game Boy had a bit more than just tone generators, but DS has 8 times as many of them and loads more processing power, so it evens out if nothing else. ;-))
The "multiple points on the square" could simply be a pixel offset. You don't make any change to the internal logic, but you keep an X and Y offset in pixels and add this to the position of the ball sprite being drawn. For movement/acceleration by tilt sensor, adjust the offsets instead of the actual coords, and once they get high/low enough that the ball is halfway onto another square, adjust the actual coords (move to the next square) and "wrap" the offsets to get it showing in the correct position. I can make a simple animated GIF to demonstrate if you don't understand what I mean.
Also, some console emulators - I think a SNES emu for Xbox, among others - can fake analog input despite the console they emulate having only digital input. They do this by toggling the direction buttons. Say you move the analog stick 50% to the left, the emulator toggles the virtual Left button so it's down 50% of the time - on one frame and off the next. At 75%, it toggles faster, so it may be on 3 frame and off one. At 100% it just simulates holding the button. This works fairly well for driving games, and may be of some use here if you define a "100%" point - say when the system is tilted 90 degrees or more.
_________________
I'm a PSP hacker now, but I still <3 DS.
#116594 - tepples - Sat Jan 27, 2007 5:54 am
I see ds.gba (for NOR cards) and sc.nds (for SuperCard/M3). Do you plan on adding support for plain .nds as used by MAX Media Dock and by M2 (GBA Movie Player CF and SD)?
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.