Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 02:49 27 Nov 2024 Privacy Policy
Jump to

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: Australia
Posts: 512
Posted: 11:31pm 25 Jan 2013
Copy link to clipboard 
Print this post

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


Edited by Nick 2013-01-27
 
paceman
Guru

Joined: 07/10/2011
Location: Australia
Posts: 1329
Posted: 01:55am 28 Jan 2013
Copy link to clipboard 
Print this post

  Nick said  
Just a demonstration of some of the possible uses for the BLIT command, especially in the use of scrolling data display windows.


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: Australia
Posts: 512
Posted: 09:06am 29 Jan 2013
Copy link to clipboard 
Print this post

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 States
Posts: 1425
Posted: 09:45am 29 Jan 2013
Copy link to clipboard 
Print this post

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: Australia
Posts: 512
Posted: 09:55am 29 Jan 2013
Copy link to clipboard 
Print this post

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 States
Posts: 1425
Posted: 09:56am 29 Jan 2013
Copy link to clipboard 
Print this post

  Nick said   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


I could do that.
Micromites and Maximites! - Beginning Maximite
 
Bill.b

Senior Member

Joined: 25/06/2011
Location: Australia
Posts: 226
Posted: 12:12pm 29 Jan 2013
Copy link to clipboard 
Print this post

how about on of these

http://dx.com/p/shd-jk-arduino-joystick-shield-v2-0-module-w hite-140957

BillEdited by Bill.b 2013-01-30
In the interests of the environment, this post has been constructed entirely from recycled electrons.
 
vegipete

Guru

Joined: 29/01/2013
Location: Canada
Posts: 1109
Posted: 02:22pm 29 Jan 2013
Copy link to clipboard 
Print this post

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: Australia
Posts: 3194
Posted: 10:00pm 29 Jan 2013
Copy link to clipboard 
Print this post

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!!

GeoffEdited by Geoffg 2013-01-31
Geoff Graham - http://geoffg.net
 
shoebuckle
Senior Member

Joined: 21/01/2012
Location: Australia
Posts: 189
Posted: 10:33pm 29 Jan 2013
Copy link to clipboard 
Print this post

  Geoffg said  
It would be good if Hugh could add the demo to the MMBasic Library.

Geoff


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: Australia
Posts: 512
Posted: 10:42pm 29 Jan 2013
Copy link to clipboard 
Print this post

  shoebuckle said  
Is it ok if I grab a copy of BLIT Demo from your web site and add it to the MMLib?
Cheers,
Hugh


Certainly.

Nick.
 
shoebuckle
Senior Member

Joined: 21/01/2012
Location: Australia
Posts: 189
Posted: 12:26pm 30 Jan 2013
Copy link to clipboard 
Print this post

  Nick said  
  shoebuckle said  
Is it ok if I grab a copy of BLIT Demo from your web site and add it to the MMLib?
Cheers,
Hugh


Certainly.

Nick.


Also Donut Dilemma?
Hugh
 
Nick

Guru

Joined: 09/06/2011
Location: Australia
Posts: 512
Posted: 12:56pm 30 Jan 2013
Copy link to clipboard 
Print this post

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: Australia
Posts: 1329
Posted: 02:29pm 30 Jan 2013
Copy link to clipboard 
Print this post

  Nick said   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


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: Australia
Posts: 512
Posted: 03:15pm 30 Jan 2013
Copy link to clipboard 
Print this post

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: Australia
Posts: 189
Posted: 06:24pm 30 Jan 2013
Copy link to clipboard 
Print this post

  paceman said  
  Nick said   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


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.Edited by shoebuckle 2013-02-01
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024