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 : BLIT command Demo
Author | Message | ||||
Nick Guru Joined: 09/06/2011 Location: AustraliaPosts: 512 |
Knocked this up on a rainy Saturday afternoon... Just a demonstration of some of the possible uses for the BLIT command, especially in the use of scrolling data display windows. Download the ZIP file here and unpack the 2 files in the same directory. RUN"BLITDEMO" to start. 2013-01-26_094308_BLITDEMO.zip Don't forget to check out my new game "Donut Dilemma" here at my website. Donut Dilemma |
||||
paceman Guru Joined: 07/10/2011 Location: AustraliaPosts: 1329 |
Nick, Just tried out your BLITDEMO. That's pretty impressive, I never would have thought of using the BLIT command those ways. Haven't mastered Level 1 of DONUT yet - think I must have been born a little bit early, I'm spending a lot of time landing on my head! Greg |
||||
Nick Guru Joined: 09/06/2011 Location: AustraliaPosts: 512 |
Blit is a powerful command for screen manipulation. That's why I created this demo to try show it off a bit. Still stuck on Level 1 of Donut Dilemma? Hmmm, I tried to adjust the difficulty level to be balanced. I know joystick control makes a big difference to the ease of use. I can actually do all 10 levels in one game so I was worried the game was too easy. My kids play keyboard control (they're use to it on their PC) and they seem to go a fair way. Someone needs to make and sell a low cost joystick interface for the maximite. Any entrepreneurial takers? |
||||
CircuitGizmos Guru Joined: 08/09/2011 Location: United StatesPosts: 1425 |
I documented (in upcoming Beginning Maximite document) the joystick connections as follows: Software pin Joystick signal J1 on CGMMSTICK J9 on CGCOLORMAX Pin(11) Up 21 4 Pin(12) Down 22 6 Pin(13) Left 23 8 Pin(14) Right 24 10 Pin(15) Fire Button 25 12 Pin(10) Pot Y 20 3 Pin(9) Pot X 19 5 Micromites and Maximites! - Beginning Maximite |
||||
Nick Guru Joined: 09/06/2011 Location: AustraliaPosts: 512 |
Yes. This good. It supports analogue X/Y pots and digital switched inputs. I have an idea for a simple and low cost joystick interface. The idea is to have a really small PCB soldered directly to the pins of the IDC (?) maximite connector. A 9 pin D type connector will also attach directly to the PCB by wedging the PCB between the D connector pins. The whole thing is very small. Just need someone to make up a professional PCB. Nick |
||||
CircuitGizmos Guru Joined: 08/09/2011 Location: United StatesPosts: 1425 |
I could do that. Micromites and Maximites! - Beginning Maximite |
||||
Bill.b Senior Member Joined: 25/06/2011 Location: AustraliaPosts: 226 |
how about on of these http://dx.com/p/shd-jk-arduino-joystick-shield-v2-0-module-w hite-140957 Bill In the interests of the environment, this post has been constructed entirely from recycled electrons. |
||||
vegipete Guru Joined: 29/01/2013 Location: CanadaPosts: 1109 |
Getting a bit off topic from the BLIT command but could the joystick port be specified with respect to say the PC pinout, using a 15 pin D-SUB instead of a 9 pin. Allows for 2 joysticks (4 analog channels) and 4 buttons, good for 2 player games. All pinouts.org has a nice write up. 5 volt pins would be 3.3 volts instead. Visit Vegipete's *Mite Library for cool programs. |
||||
Geoffg Guru Joined: 06/06/2011 Location: AustraliaPosts: 3194 |
That is a great demo Nick. You especially show what can be done by BBLITing selected colours. It took me some time to figure out why the gridlines of the scrolling graph did not move but that was the secret. It would be good if Hugh could add the demo to the MMBasic Library. BTW I am still at level 3 of Donut but I am making progress!! Geoff Geoff Graham - http://geoffg.net |
||||
shoebuckle Senior Member Joined: 21/01/2012 Location: AustraliaPosts: 189 |
Nick, Is it ok if I grab a copy of BLIT Demo from your web site and add it to the MMLib? Cheers, Hugh |
||||
Nick Guru Joined: 09/06/2011 Location: AustraliaPosts: 512 |
Certainly. Nick. |
||||
shoebuckle Senior Member Joined: 21/01/2012 Location: AustraliaPosts: 189 |
Also Donut Dilemma? Hugh |
||||
Nick Guru Joined: 09/06/2011 Location: AustraliaPosts: 512 |
Not Donut Dilemma. I want to keep that on my site. Once it enters the library, it loses the connection back to the originators site and doesn't get the promotion that a dedicated site gives with pictures and video and the "voice" of the developer. Same goes with all 3rd party distributors. My site is available all over the world via the internet. It's not necessary it be available anywhere else, just a link to my site. Nick |
||||
paceman Guru Joined: 07/10/2011 Location: AustraliaPosts: 1329 |
Same goes with all 3rd party distributors. My site is available all over the world via the internet. It's not necessary it be available anywhere else, just a link to my site. Nick Hugh/Nick, Maybe the library should have a section with links to 3rd party developer sites like yours Nick. The developers could put a short description of the program on the library. Greg |
||||
Nick Guru Joined: 09/06/2011 Location: AustraliaPosts: 512 |
Yes. Good idea. A developer site can offer more info and support, especially for the larger and more involved projects. Nick |
||||
shoebuckle Senior Member Joined: 21/01/2012 Location: AustraliaPosts: 189 |
Same goes with all 3rd party distributors. My site is available all over the world via the internet. It's not necessary it be available anywhere else, just a link to my site. Nick Hugh/Nick, Maybe the library should have a section with links to 3rd party developer sites like yours Nick. The developers could put a short description of the program on the library. Greg Sound idea. I will add a links file to MMLib containing a list of Developer and other software/firmware sites. I will also add things like Donut Dilemma to the list of software and point to its source in the ReadMe file. Anyone who has completed software on line, be it stand alone or dependent on attached hardware, who would like their web site added, just let me know. Cheers, Hugh p.s. The new MMLib version (1-Feb-2013) on Geoff's web site has a Links section in the ReadMe file. I didn't add a separated Links file. Format and content suggestions are welcome. |
||||
Print this page |