Deuxième petit programme pour la DS ... Hier matin, un peu avant le temps de midi, j'entends passer la musique que mon frère avait écrit pour un jeu jamais réalisé:
XMASMAN vs Packs ... un concept de tetris ou le père noël doit empiler des cadeaux qui dégringolent...
J'avais fait des super petits sprites (vous savez ce que c'est, hein, maintenant) avec un chouette programme (Delux Paint II, je l'avais déjà sur mon 8086, celui-là!), et je les ai toujours... alors je me dit "voilà le petit jeu que je pourrais facilement avoir réalisé pour noël!". Il marcherait nickel avec 2 écrans, pas trop még-à-l'eau ni rien. Mais bon, ce serait ridicule de devoir redessiner tout avec le SpriteEditor DS qui n'est pas encore au dixième des possibilités de DP2.
Donc je rebidouille un petit "sprite grabber", un outil qui affiche une image complète et qui permet d'en récupérer des morceaux. Première esquisse sur le temps de midi. Ca tourne dans l'émulateur. cool.
Je reviens le soir @home et ma fée est toujours à Maastricht pour la-journée-ou-les-magasins de-bricolages-sont-ouverts-jusque-21h ... Et je rattaque. A 20h30, j'ai intégré le code de
Chishm et DragonMinded, et je fais le premier essai "temps réel" d'écriture de fichiers sur ma petite carte SD.
Et ça marche, les gars! Sortez les cotillons, c'est la journée du code qui fonctionne (après une semaine de combat avec les codes à redondance cycliques de ma carte-réseau-qui-tue qui s'est enfin mise à fonctionner le matin)!
Donc voilà, y'aura encore un peu de boulot pour qu'on puisse choisir n'importe qu'elle image et sauver dans plusieurs fichiers, mais le départ est là ^_^
Second tiny program for the DS ... Yesterday morning, a bit before lunchtime, there's my brother's tune playing, that one he wrote for yet-another-never-coded-game : XMASMAN vs Packs, a tetris-like game where Santa has to stack up gifts that fall off the screen.
There were cute small sprites with a great tool (Delux Paint II enhanced, which was already running on my 8086!) back then, and it hearing the song made me think "now, that'd be a game i could easily have running by christmas!". It would nicely run on dual-screen too, and it wouldn't be overkill. But well, that'd be plain silly to repaint every sprite with my yet-to-fix Sprite Editor DS 0.0 which doesn't achieve 1/10 of what DP2E could do ...
So i wrote a small "grabbing" tool that displays a PCX file, and allows me to pick small parts of it as sprite. First test on lunchtime, It works on the emulator. Great.
Back at home in the evening and my fairy is still at Maaastricht for the day-where-shop-stay-open-later, so the coder strikes back. On 20h30, code from Chishm and DragonMinded (for FAT access) is integrated and i'm running the first live test for writing on the SD flash card.
And it works, dudes! Champain! that's code-that-works day (and it was time, after a whole week of why-doesn't-CRC-work on ENP2611 card). So here we are. There's still a bit of work to allow edition of any picture and support of multiple sprite files, but we have a good starting point, no?