Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : MM-Basic Sprite Editor
Page 1 of 2 | |||||
Author | Message | ||||
Martin H. Guru Joined: 04/06/2022 Location: GermanyPosts: 1113 |
To make the work a little easier I wrote a small sprite editor. Sprites can be loaded in the own program by Using the SPRITE LOAD Command It is controlled via the keyboard: Cursor to select the Pixel 0 to f set the Pixelcolor F1 Load Sprite F2 Save Sprite n New Sprite q w o k move the Sprite s save to Clipboard p past from Clipboard l Rotate Left R Rotate Right H Flip horizontal V Flip Vertical Rotation might fail if the Sprite is not squared Tested on PicomiteVGA and MMB4W so it should also run on ColorMaximite Here the Code with some example Sprites: SprEd.zip Have Fun Cheers Mart!n Edited 2022-12-02 01:11 by Martin H. 'no comment |
||||
lizby Guru Joined: 17/05/2016 Location: United StatesPosts: 3150 |
Very nice. Thank you. PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
thwill Guru Joined: 16/09/2019 Location: United KingdomPosts: 4036 |
+1 from me too. Can we hope for Lemmings on the PicoMite ? Best wishes, Tom Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
Martin H. Guru Joined: 04/06/2022 Location: GermanyPosts: 1113 |
sure, if we get DMA Design,and/or Psygnosis to program in mm-Basic Cheers Mart!n 'no comment |
||||
Amnesie Guru Joined: 30/06/2020 Location: GermanyPosts: 396 |
Really really cool! Can't wait to try it tomorrow! :) -Daniel |
||||
Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 4223 |
Nice Martin !!! This will definitely help in designing new games... I already see use for it for the new programming challenge..... Volhout PicomiteVGA PETSCII ROBOTS |
||||
Martin H. Guru Joined: 04/06/2022 Location: GermanyPosts: 1113 |
Hi Daniel, have Fun crating some Icons / Sprites. you will see, there is not a single GOTO in the Sourcecode reference to your Video V 1.001 will also have LCD Support(ILI9341) for PicoMite (non VGA).. a view little optical Changes and, (if i can remove my thinking block) the ability to rotate non Squared Sprites. cu Mart!n 'no comment |
||||
Martin H. Guru Joined: 04/06/2022 Location: GermanyPosts: 1113 |
I was missing such a small tool, and since I haven't found it, I just programmed it myself. btw.: isn't it a part of the challenge-rules, that you have to use one single File? But ok, it should be no problem for you to store them in Data Statements with a little practice you can get something like this in 15 minutes 44,1,32 0000000000000000000000000000000CCCCCC0000000 00000000000000000000000000000CCCCCCCCC000000 0000000000000000000000000000CCCCCCCEEE000000 000000000000000000000000C444CCCCCEEEEEE00000 0000000000000000000004444CCCCCCCEEEE77E00000 000000000000000000044CCCCCCCCEECCEEE7CECC000 0000000000000000004CCCCCCCCCEEEECCEEEEEEEE00 000000000000000004CCCC44CCCCEEEECCCEEEEEEEE0 00000000000000004CCCCC4CCCCCCCECCCCCEEEEEEE0 00000000000000004CCCCC4CCCCCCCEECCCEEEEEEEEE 0000000000000004CCCCCC4CCCCCCCCEECEEEECCCCCE 0000000000000004CCCCCC4CCCCCCCCCEEEEECEEEEE0 0000000000000004CCCCCC4CCCCCCCCCCEEECEEEEE00 0000000000000044CCCCCC44CCCCCCCCCEEEEEEEE000 000000000000004CCCCCCCC4CCCCCCCCCCEEEE000000 000000000000044CCCCCCCC44CCCCCCCCCC000000000 0000000000004CCCCCCCCCCC44CCCCCCCCCC00000000 000000000004CCCCCCCCCCCCC44CCCCCCCCC00000000 0000000000CCCCCCCCCCCCCCCC44CCCCCCCCC0000000 000000000CCCCCCCCCCCCCCCCCEECCCCCCCCC0000000 00000000CCCCCCCCCCCCCCCCCCEEECCCCCCCCC000000 00000000CCCCCCCCCCCCCCCC444E4ECCCCCCCCC00000 00000000CCCCCCCCCCCCCC444444EE0CCCCCCCC00000 00000044CCCCCCCCCCCC444444EEECC0CCCCCCCC0000 00ECC44CCCCCCCCCCC4444444ECCCCCC0CCCCCCCEEE0 04ECCCCCCCCCCCCCC4444444CCCCCCCC00CCCCCEEEE0 04EECCCCCCCCCCCCC44444CCCCCCCCCCC00CCCCCEE00 04EECCCCCCCCCCCC00000000CCCCCCCCC00CCCCCEE00 04ECCCCCCCCCCCC000000000CCCCCCCC0000CEEEEEE0 00ECECCC000000000000000CCEECCECCE4E00EEE4EEE 00EEECEEE00000000000000CEEEEEEEECE4E00EEE4EE 000EEE4E4E0000000000000EEEEEEEEEEE4E0000EEE0 Cheers Mart!n Edited 2022-12-02 22:04 by Martin H. 'no comment |
||||
thwill Guru Joined: 16/09/2019 Location: United KingdomPosts: 4036 |
We allowed multiple files up to 5K for the 2022 Challenge. Best wishes, Tom Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
Martin H. Guru Joined: 04/06/2022 Location: GermanyPosts: 1113 |
Hi Tom Ok, then I misunderstood. But to keep the 5k limit, it would be better to compress the Sprites As I mentiond in the "on The Road again" Post best Mart!n 'no comment |
||||
thwill Guru Joined: 16/09/2019 Location: United KingdomPosts: 4036 |
Yes, so there's your first feature request, add sprite compression to your utility ;-) Best wishes, Tom Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
Martin H. Guru Joined: 04/06/2022 Location: GermanyPosts: 1113 |
ok, this comes on the enhancement List for V 1.001 Merging my compress Function wouldn't be a big deal, *but I have to write a full user Dialog. *we will lose the SPRITE LOAD compatiblity with those Files As we can only use them in combination with the Expand Function. also seen in the On the Road again Post I would'nt have the Time for this, this weekend as I'll went 61 tomorrow Cheers Mart!n Edited 2022-12-03 00:43 by Martin H. 'no comment |
||||
thwill Guru Joined: 16/09/2019 Location: United KingdomPosts: 4036 |
Many happy returns for tomorrow then! Best wishes, Tom Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 4223 |
Congratulations Martin.! PicomiteVGA PETSCII ROBOTS |
||||
Martin H. Guru Joined: 04/06/2022 Location: GermanyPosts: 1113 |
Thank you .. btw here is the dissolution of the picture puzzle above: 'no comment |
||||
Martin H. Guru Joined: 04/06/2022 Location: GermanyPosts: 1113 |
V1.01: enhancement * Added LCD ILI9341 Support * Size now Up to 64x64 Pixel Bugfix: * Centered Sprite in Preview window * fixed Rotaton for non squared Sprites sprEdV101.zip 'no comment |
||||
Hans Senior Member Joined: 18/10/2022 Location: CanadaPosts: 116 |
Sprites can be loaded in the own program by Using the SPRITE LOAD Command Mart!n Thank you sooooooooo much for this fabulous program Martin! Hans ... |
||||
Martin H. Guru Joined: 04/06/2022 Location: GermanyPosts: 1113 |
Yes, so there's your first feature request, add sprite compression to your utility ;-) Best wishes, Tom So here it is: New in V1.02: Enhancement *Save and load Sprites to/from compressed Sprite Format *selectable BG Color for New Sprite Bugfix * removed an unnessecary "ELSE" Statement SprEd.V1.02.zip Cheers Mart!n Edited 2022-12-13 22:50 by Martin H. 'no comment |
||||
Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 4223 |
Hi Martin, This is a GREAT tool !!! I used it for 1 week now, and really appreciate it. This really works well. The only negative point I found so far is that <ctrl-C> is needed to Quit (I did not find any other way so far). Is there any documentation on the "compressed format" ? So I can implement the compressed sprite reader in MMbasic in my program. Regards, Volhout PicomiteVGA PETSCII ROBOTS |
||||
hhtg1968 Senior Member Joined: 25/05/2023 Location: GermanyPosts: 123 |
hello. my picomitevga will be ready in a few days. i tried to start your programm on my cmm2. the colours myrtle, cobalt etc. are no keywords for mmbasic on cmm2. where can i get the numbers for the colour names? |
||||
Page 1 of 2 |
Print this page |