Email
 Microcontroller and PC projects Forum Index : Microcontroller and PC projects         Section -- Select Forum -- Off grid living and renewables   - Windmills   - Solar   - EV's Electronics and Microcontrollers   - Electronics   - Microcontroller and PC projects   - PCB Manufacturing Miscellaneous   - Other Stuff   - Site News   - Off topic archive. Classifieds   - Price Watch   - Wanted   - For Sale Guest Book   - Guest Book
 Page 1 2 3 4 5 6 of 6 Next >>
Author
 Message << Prev Topic | Next Topic >>
darthmite
Senior Member

Joined: 20 November 2011
Location: France
Online Status: Offline
Posts: 240
 Posted: 03 January 2012 at 12:52am | IP Logged Copy link to clipboard
Hi ,

This morning i have want some fun ,
then i program me a little Space Invaders
No Mistery ship and Bunkers atm .. but it's playable.
I have use AniMite to create the Invaders sprites.

they are 3 buttons:
PIN 13 : Left
PIN 14 : Right
PIN 15 : Fire

Enjoy

__________________
Theory is when we know everything but nothing work ...
Practice is when everything work but no one know why ;)

darthmite
Senior Member

Joined: 20 November 2011
Location: France
Online Status: Offline
Posts: 240
 Posted: 03 January 2012 at 2:37am | IP Logged Copy link to clipboard
Hi again ,

I have made some improvements in the game.
And now we have the Mistery ship too ...

__________________
Theory is when we know everything but nothing work ...
Practice is when everything work but no one know why ;)

Olimex
Senior Member

Joined: 02 October 2011
Location: Bulgaria
Online Status: Offline
Posts: 226
 Posted: 03 January 2012 at 7:03am | IP Logged Copy link to clipboard
cool :)

if one want to use keyboard instead of buttons the modification is as follows:

670 PRINT "press ANY key"
680 DO WHILE (INKEY\$ = ""): LOOP
1115 KEY\$ = INKEY\$
1120 IF (ASC(KEY\$) = 130) THEN
1180 IF (ASC(KEY\$) = 131) THEN
1240 IF (ASC(KEY\$) = 32) AND (Fire = 0) THEN

so you can go left and right with the PS2 keyboard left and right arrow and fire with the Spacebar

darthmite
Senior Member

Joined: 20 November 2011
Location: France
Online Status: Offline
Posts: 240
 Posted: 03 January 2012 at 8:03am | IP Logged Copy link to clipboard
He he , i was sure someone will found this cool

I made all other needed improvements.
bunkers are here , and the menu screen is
most like the original one

Now the correct line for play with Kb are :

 1130 IF (ASC(KEY\$) = 130) THEN  1190 IF (ASC(KEY\$) = 131) THEN 1250 IF (ASC(KEY\$) = 32) AND (Fire = 0) THEN ... 6100 DO WHILE (INKEY\$ = "") ... 6800 LOOP

if you just use the KB then you can delete this too :
 610  'Setting the joystick pins  620  'PIN 13 = LEFT  630 SETPIN 13,2  640  'PIN 14 = RIGHT  650 SETPIN 14,2  660  'PIN 15 = Fire Button 1  670 SETPIN 15,2

Cheer.

__________________
Theory is when we know everything but nothing work ...
Practice is when everything work but no one know why ;)

CircuitGizmos
Guru

Joined: 08 September 2011
Location: United States
Online Status: Offline
Posts: 1106
 Posted: 03 January 2012 at 8:08am | IP Logged Copy link to clipboard
That is really cool...

__________________
Micromites and Maximites! - Beginning Maximite

rhamer
Senior Member

Joined: 06 June 2011
Location: Australia
Online Status: Offline
Posts: 174
 Posted: 03 January 2012 at 9:30am | IP Logged Copy link to clipboard
Ive been writing software for nearly 30 years for all sorts of platforms and all sorts of tasks, but never games.

If you offered me \$1,000,000 I wouldnt know where to start to achieve that.

Well done!

Cheers

Rohan

__________________
Rohan Hamer
HAMFIELD Software & Hardware Solutions

Makers of the Maximite Expander.

http://www.hamfield.com.au

Olimex
Senior Member

Joined: 02 October 2011
Location: Bulgaria
Online Status: Offline
Posts: 226
 Posted: 03 January 2012 at 7:38pm | IP Logged Copy link to clipboard
this is amazing I will put link to this in next DuinoMite user manual :)

djuqa
Guru

Joined: 23 November 2011
Location: Australia
Online Status: Offline
Posts: 447
 Posted: 03 January 2012 at 7:42pm | IP Logged Copy link to clipboard
Great game
In the early 1980's I was a technician/programmer for TAITO Australia
and our number 1 game was the Original "Space Invader" machine.
I have loved the game since then.
C'est Magnifique!
I have linked to it on my Maximite site.

Edited by djuqa on 03 January 2012 at 7:42pm

__________________
VK4MU MicroController Units

crackerjack
Senior Member

Joined: 11 July 2011
Location: Australia
Online Status: Offline
Posts: 164
 Posted: 03 January 2012 at 8:18pm | IP Logged Copy link to clipboard
Wow! What a start to the new year!! MMBasic 3, Space Invaders and the CGMMSTICK1. I can hardly wait to see what happens next. Well done all. And big respect to you Darthmite.

darthmite
Senior Member

Joined: 20 November 2011
Location: France
Online Status: Offline
Posts: 240
 Posted: 03 January 2012 at 8:18pm | IP Logged Copy link to clipboard
@djuga,

in the latest zip i have posted they are the source and the 2 fonts
On your page it's the 1st version and not completed game.

Cheer.

Edited by darthmite on 03 January 2012 at 8:20pm

__________________
Theory is when we know everything but nothing work ...
Practice is when everything work but no one know why ;)

VK6MRG
Guru

Joined: 08 June 2011
Location: Australia
Online Status: Offline
Posts: 347
 Posted: 03 January 2012 at 8:22pm | IP Logged Copy link to clipboard
Job well done!
Thank you for your hard work.

__________________
Its easier to ask forgiveness than to seek permission!
............VK6MRG.............VK3MGR............

djuqa
Guru

Joined: 23 November 2011
Location: Australia
Online Status: Offline
Posts: 447
 Posted: 03 January 2012 at 8:23pm | IP Logged Copy link to clipboard
darthmite wrote:
 @djuga, in the latest zip i have posted they are the source and the 2 fonts i have made. On your page it's the 1st version and not completed game. Cheer.
fixed thanks

__________________
VK4MU MicroController Units

Page of 6 Next >>

 You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot delete your posts in this forumYou cannot edit your posts in this forumYou cannot create polls in this forumYou cannot vote in polls in this forum