LordKraken Posted December 7, 2020 Share Posted December 7, 2020 21 minutes ago, karri said: outside the competition That's a good question... is the deadline really mportant for a competition without ranking.. that is almost metaphysical Quote Link to comment Share on other sites More sharing options...
Igor Posted December 7, 2020 Author Share Posted December 7, 2020 Yes it is @LordKraken! It means everyone will strive to finish by the deadline and it gives it more of a sense of purpose I think. @Turbo Laser Lynx I've not done a whole lot here yet either, so pretty much the same boat, but I'm still aiming to produce something! 2 Quote Link to comment Share on other sites More sharing options...
+karri Posted December 8, 2020 Share Posted December 8, 2020 As there seems to be no time... So I fell for a traditional Xmas tune. Jingle Lynx Bells in a jazzy setting. Using only 3 channels. But there is no chance to get to the level @Fadest and @Nop90 are showing. I also dicovered a new workflow! By playing one track at a time on the piano I can then export the tune to MusicXML and from the net I found a tool xml2abc.py that creates ABCmusic out of it. 2 Quote Link to comment Share on other sites More sharing options...
Igor Posted December 8, 2020 Author Share Posted December 8, 2020 Well I've got the title screen, but it's progress! 5 Quote Link to comment Share on other sites More sharing options...
42bs Posted December 8, 2020 Share Posted December 8, 2020 (edited) 3 minutes ago, Igor said: Well I've got the title screen, but it's progress! Title + title screen! Edited December 8, 2020 by 42bs 1 Quote Link to comment Share on other sites More sharing options...
Fadest Posted December 8, 2020 Share Posted December 8, 2020 (edited) 5 hours ago, karri said: So I fell for a traditional Xmas tune. Jingle Lynx Bells in a jazzy setting. Using only 3 channels. [...] I also dicovered a new workflow! By playing one track at a time on the piano I can then export the tune to MusicXML and from the net I found a tool xml2abc.py that creates ABCmusic out of it. Right now, I'm trying to convert Jingle Bells and some others Christmas songs into ABC, it is a such a pain for may poor skills... Tried xml2abc but it gives me something unreadable (don't know for you, but in France, we never used ABS notation but Do, Ré, Mi... at school, and I was not very attentive in music courses) and replay very bad. Seems like ABCExplorer get better results (it can import midi files also), but till, I think that there are some conventions of ABC that are not managed in your library ? I know you send me years ago a small documentation for ABCMusic, do you still have it ? Edited December 8, 2020 by Fadest Quote Link to comment Share on other sites More sharing options...
Turbo Laser Lynx Posted December 8, 2020 Share Posted December 8, 2020 (edited) 27 minutes ago, Fadest said: I know you send me years ago a small documentation for ABCMusic, do you still have it ? @Fadest My abc notes from back in the day for both cc65 versions are attached here on the first post (it's furthest down on the first post). Probably containing mostly info I've gotten from Karri in the first place. https://atariage.com/forums/topic/256753-atari-lynx-game-development-tools-and-tutorials-wip/ Edited December 8, 2020 by Turbo Laser Lynx 1 Quote Link to comment Share on other sites More sharing options...
+karri Posted December 8, 2020 Share Posted December 8, 2020 19 minutes ago, Fadest said: Right now, I'm trying to convert Jingle Bells and some others Christmas songs into ABC, it is a such a pain for may poor skills... Tried xml2abc but it gives me something unreadable (don't know for you, but in France, we never used ABS notation but Do, Ré, Mi... at school, and I was not very attentive in music courses) and replay very bad. Seems like ABCExplorer get better results (it can import midi files also), but till, I think that there are some conventions of ABC that are not managed in your library ? I know you send me years ago a small documentation for ABCMusic, do you still have it ? I could not find it... But I will keep my eyes open. Perhaps I published something on AtariAge? But I might publish a python script to convert MusicXML stuff to Lynx ABC format. In any case I need it myself as well. 1 Quote Link to comment Share on other sites More sharing options...
Clint Thompson Posted December 8, 2020 Share Posted December 8, 2020 (edited) There's actually a charming uniqueness to these very colorful and playful type of graphics and it's kind of refreshing and cool to see. Look forward to seeing the end result! On 12/3/2020 at 2:52 AM, Nop90 said: Refined the mockup. My gfx skills are terrible, aren't they? ? Someone will make it look better one day. Now I'm coding the tiles animation and the game logic to test if the game is as good as I think in my head. Edited December 8, 2020 by Clint Thompson 1 Quote Link to comment Share on other sites More sharing options...
Nop90 Posted December 8, 2020 Share Posted December 8, 2020 (edited) 1 hour ago, Fadest said: Tried xml2abc but it gives me something unreadable ABC tools use as base time a note of a quarter and shorter notes are written as a fraction like A/2 that is a chrome. A/2 can be also written A/ Lynx driver doesn't use the divider sign, so you have to multiply the notes lenght to have the shortest note as base and adjust the playing time. So CDE/CDE/ needs to be converted in C2D2EC2D2E . This is what I learned in the weeked end and now writing/converting tunes for the Lynx ABC driver is super easy. Edited December 8, 2020 by Nop90 1 Quote Link to comment Share on other sites More sharing options...
+karri Posted December 8, 2020 Share Posted December 8, 2020 I found the manual ' It was in the comments of the code. What a silly place for it. ; The Lynx hardware keeps the sound going on without CPU support. ; During music interrupts the CPU will control the volume changes for fadeing ; out the instrument sounds. ; ; You can interrupt a sound playing by starting a new sound with abcplay() ; ; The numbers work on bytes currently. Setting delays should be capped at 255 ; ;---------------------------------------------------------------------------- ; ; C entrypoints ; ; You need to call abcstop() at init time before using abcmusic ; ; ; extern void abcplay(char chan, char *tune); ; extern void abcstop(); ; extern unsigned char abcactive[4]; ; ; The tune supports the following elements: ; Notes CDEFGAB ; Octave higher cdefgab ; Sharp notes ^C ^D... ; Flat notes _D _E... ; You can also make a note one octave lower by a comma C, D, ; Or one octave higher with an apostrophe c' d' ; Break in the music is z z2 z3 ; Longer notes C2 C3 C4 ; ; For direct sound control there is also a few exposer internals ; extern void __fastcall__ abcoctave(unsigned char chan, unsigned char val); ; extern void __fastcall__ abcpitch(unsigned char chan, unsigned char val); ; extern void __fastcall__ abctaps(unsigned char chan, unsigned int val); ; extern void __fastcall__ abcintegrate(unsigned char chan, unsigned char val); ; extern void __fastcall__ abcvolume(unsigned char chan, unsigned char val); ; 1 Quote Link to comment Share on other sites More sharing options...
+karri Posted December 8, 2020 Share Posted December 8, 2020 I wonder if I can upload the music. It is not exactly a concerto by Rahmaninov, but hopefully good enough for my title. Jingle_Lynx_Bells.mp3 3 Quote Link to comment Share on other sites More sharing options...
Nop90 Posted December 8, 2020 Share Posted December 8, 2020 (edited) This is a modified version of the ABC Music driver that supports tunes longer than 256 chars: abcmusic.s I could make only a quick test, so use it at your own risk ? Edited December 8, 2020 by Nop90 1 1 Quote Link to comment Share on other sites More sharing options...
No One You Know Posted December 8, 2020 Share Posted December 8, 2020 15 hours ago, Igor said: Well I've got the title screen, but it's progress! Seeing that reminds me of the MS-DOS/windows elf bowling game where they moon at you when you miss. 1 1 Quote Link to comment Share on other sites More sharing options...
+karri Posted December 9, 2020 Share Posted December 9, 2020 Music done. Finally. The workflow for me was Musescore3 -> Export to MusicXML -> xml2abc.py -d 8 Jingle_Lynx_Bells.musicxml This provides a fairly usable dump like below. The V:1 is voice 1 V:1 Ge- e2 d2 c2 | G8 | Ge- e2 d2 f2 | A8 | Af- f2 e2 d2 | B8 | ggzf z dze- | e4- ee- e2 |$ %8 Ge- e2 d2 c2 | G8 | Ge- e2 d2 c2 | G8 | Af- f2 e2 d2 | ggzg z g2 ^g | a2 g2 e2 dc- |$ %15 c2 z g- g4 |: e'2 e'2 e'4 | e'e'ze'- e'4 | e' g'3 c'2 d'2 | g'8 | z f' f'2 f'2 f'2 | %21 f'e'ze'- e'4 |1$ e'2 d'2 d'e'- e'2 | d'4 f4 :|2 g'2 g'2 f' d'2 c'- || c'2 z c'' c'c'' c'2 | %26 c''2 z2 z4 | z d''^d'' z e''c''g'f' |$ e'f'^f'a' g'e'c'd' | _e'c'd'c' z4 | z4 z _a (3=ac'a' | %31 g'e'c'b gedc | dgef _ac'e'g' |$ _b' z _a'g' g'2 z f' | e'2 z c'' b'2 z a' | %35 ^g'2 z f'' e''2 z d'' | c''2 z c''' b''2 a''2 | g''a''b''_e''- e''4 | z2 z e' f'e'f'g' |$ %39 e'c'_af ecd^d | efe'_e' d'gbc' | z2 z _B- B4 |] %42 V:2 E z z2 E2 z2 | z8 | E z z2 A2 z2 | E3 F- F4 | F z z2 G2 z2 | B2 c2 B2 c2 | ^c2 d2 e2 d2 | %7 A2 B2 A2 G2 |$ E z z2 E2 z2 | z A z z D z3 | E z G2 A2 z2 | z8 | F z z2 G2 z2 | cczc z c2 z | %14 ^f2 e2 _B2 AG- |$ G2 z _e- e4 |: b2 b2 c'4 | bbzc'- c'4 | g g3 c2 d2 | e'8 | z a a2 a2 a2 | %21 _agzg- g4 |1$ g2 ^f2 f^g- g2 | a4 z4 :|2 g2 g2 a f2 e- || e2 z2 z4 | z2 D z3 D2 | D3 D- D4 |$ %28 D2 z D4 z | z3 _E4 z | z2 A2 z2 A2 | z D3 z B2 z | z2 _A2 z2 A2 |$ g z f_e e2 z d | %34 z D- D2 z D- D2 | D3 D- D4 | z D- D2 z D- D2 | z2 F2 z2 F2 | z2 F2 z2 F2 |$ z z z2 z _A z2 | %40 z z z B- B4 | z2 z F- F4 |] %42 You still have to combine binds like e- e2 should be e3. My abcmusic is not clever enough to combine the notes. Plus double ,, and double '' is not supported. If you want it change the octave. O2 e'' is equal to O1 e' or O0 e. Plus all extra stuff with % and $ marks should be deleted. The python module is now in my game repo with my Musescore3 tune. In case you have similar needs. Perhaps I need to figure out what happens in the game now. After all, gameplay matters... And then the last thing is the graphics. And the size is still just 18377 bytes. No worries 2 Quote Link to comment Share on other sites More sharing options...
Nop90 Posted December 9, 2020 Share Posted December 9, 2020 (edited) Attached there is a test rom with the complete tune of my game (no video, only the audio) in infinite loop. The tune was converted from a free (Creative Common license) tune found on The Mod Archive site. I can try to make some gfx icons when needed, but there is no way I can compose original musics. My creative part in making this tune was adapting the ABC driver, tha seems to work as expected. Happy listening: ABCTest.lnx Edit: This is the tune transcription. All the game code will be released as open source after the Jam char tune0_A[] = "X7 O1 I1 V80 T7 R0 H0 K3 |: c2c4 G2c2c4 G2f2e2d2c2B2c2d2G2c2c4 G2c2c4 G2F2G2A2c2B2c2d2G2 c2c4 G2c2c4 G2f2e2d2c2B2c2d2G2c2c4 G2c2c4 G2F2G2A2c2B2c2d2G2 c2c4 G2c2c4 G2f2e2d2c2B2c2d2G2c2c4 G2c2c4 G2F2G2A2c2B2c2d2G2 c2c4 G2c2c4 G2f2e2d2c2B2c2d2G2c2c4 G2c2c4 G2F2G2A2c2B2c2d2G2 aecAaecAaecAaecAafcAafcAafcAafcAgecGgecGgecGgecGgdBGgdBGgdBGgdBG aecAaecAaecAaecAafcAafcAafcAafcAgecGgecGgecGgecGgdBGgdBGgdBGgdBG aecAaecAaecAaecAafcAafcAafcAafcAgecGgecGgecGgecGgdBGgdBGgdBGgdBG aecAaecAaecAaecAafcAafcAafcAafcAgecGgecGgecGgecGgdBGgdBGgdBGgdBG :"; char tune0_B[] = "X7 O3 I1 V60 T7 R0 H0 K3 |: C2C4 CcC2C2c2G2F2F4 FfG2G2g2G2C2C4 CcC2C2c2G2F2F4 FfG2G2g2G2 C2C4 CcC2C2c2G2F2F4 FfG2G2g2G2C2C4 CcC2C2c2G2F2F4 FfG2G2g2G2 C2C4 CcC2C2c2G2F2F4 FfG2G2g2G2C2C4 CcC2C2c2G2F2F4 FfG2G2g2G2 C2C4 CcC2C2c2G2F2F4 FfG2G2g2G2C2C4 CcC2C2c2G2F2F4 FfG2G2g2G2 A2A4 AaA2A2a2A2f2f4ff'f2f2f'2f2c2c4cc'c2c'2c2c2g2g4gg'g2g2g'2g2 A2A4 AaA2A2a2A2f2f4ff'f2f2f'2f2c2c4cc'c2c'2c2c2g2g4gg'g2g2g'2g2 A2A4 AaA2A2a2A2f2f4ff'f2f2f'2f2c2c4cc'c2c'2c2c2g2g4gg'g2g2g'2g2 A2A4 AaA2A2a2A2f2f4ff'f2f2f'2f2c2c4cc'c2c'2c2c2g2g4gg'g2g2g'2g2 :"; char tune0_C[] = "X7 O1 I1 V100 T7 R0 H6 K3 |: zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz z2g2e2c4 G2c2e2f4 g4 d10 g2e2c8 c2a2g2f2a2g8 z2g2e2c4 G2c2e2f4 g4 d10 g2e2c8 c2a2g2f2a2g8 e10 ddccGGf10 efeeGGe10 ddccGGd10 ddccdd e10 ddccGGf10 efeeGGe10 ddccGGd10 ddccdd z2ggeecc3 GGcceeff3 g3 gd4 d6 ggeecc7 ccaaggffaag4 g4 z2ggeecc3 GGcceeff3 g3 gd4 d6 ggeecc7 ccaaggffaaggffeedd :"; Edited December 9, 2020 by Nop90 4 Quote Link to comment Share on other sites More sharing options...
LordKraken Posted December 9, 2020 Share Posted December 9, 2020 Sounds quite good, really interesting to see this ABCMusic revival Great work @Nop90 (and kudos for Karri for creating this lightweight lib) (still not to the point where I'll be putting music in my game but who knows) 1 Quote Link to comment Share on other sites More sharing options...
+karri Posted December 9, 2020 Share Posted December 9, 2020 4 hours ago, Nop90 said: The tune was converted from a free (Creative Common license) tune found on The Mod Archive site. I can try to make some gfx icons when needed, but there is no way I can compose original musics. This is a good find. I also tend to go with original tunes when the time is limited. Of course this year I composed a completely new tune "Jingle Lynx Bells". It has no connection to any known Xmas tunes, ? -- just kidding -- Quote Link to comment Share on other sites More sharing options...
LordKraken Posted December 9, 2020 Share Posted December 9, 2020 (edited) Seems like there will be a game after all, or at least an animated intro title ( and yes the code name became the real name, there might be a reason for that ) Edited December 9, 2020 by LordKraken 3 Quote Link to comment Share on other sites More sharing options...
KevinMos3 Posted December 9, 2020 Share Posted December 9, 2020 On 12/8/2020 at 1:42 AM, Igor said: Well I've got the title screen, but it's progress! That is NUTS! 3 Quote Link to comment Share on other sites More sharing options...
Igor Posted December 10, 2020 Author Share Posted December 10, 2020 More progress, got Santa moving and some of his walk animation is in place Quote Link to comment Share on other sites More sharing options...
+karri Posted December 10, 2020 Share Posted December 10, 2020 2 hours ago, Igor said: More progress, got Santa moving and some of his walk animation is in place We seem to have a very similar approach this year snapshop.mp4 Quote Link to comment Share on other sites More sharing options...
Igor Posted December 10, 2020 Author Share Posted December 10, 2020 Don't be mistaken, mine's not a fighting game, but it does involve an angry squirrel called Horatio ?? (you can tell he is angry because he has red eyes!) 2 4 Quote Link to comment Share on other sites More sharing options...
+karri Posted December 10, 2020 Share Posted December 10, 2020 Red eyes... I have to check the makeup of my naughty girl. Perhaps green mascara could be right? snap.mp4 1 Quote Link to comment Share on other sites More sharing options...
Igor Posted December 10, 2020 Author Share Posted December 10, 2020 I think that will be a must with the mascara! I like the snow splash on landing effect there! 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.