Space Invaders, or maybe GridRunner...
Bamse
Posts: 561
Anyone done this yet ?
I've playing with my 6502 system for a while but it's time to get back to the Hydra...
My first game "Mercury Mission" was pretty much just an exercise to get up and running with Spin.
I want to learn how to write my own driver and renderer for NTSC so this time I guess I have to tackle Assembler...
Guess one good start is the "SimpleNTSC_256x192_256_colors_002.spin", it's pretty basic...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Living on the planet Earth might be expensive but it includes a free trip around the sun every year...
Experience level:
[noparse][[/noparse] ] Let's connect the motor to pin 1, it's a 6V motor so it should be fine.
[noparse][[/noparse] ] OK, I got my resistors hooked up with the LEDs.
[noparse][[/noparse]X] I got the Motor hooked up with the H-bridge and the 555 is supplying the PWM.
[noparse][[/noparse] ] Now, if I can only program the BOE-BOT to interface with he Flux Capacitor.
[noparse][[/noparse] ] I dream in SX28 assembler...
/Bamse
Post Edited (Bamse) : 1/4/2008 6:47:36 AM GMT
I've playing with my 6502 system for a while but it's time to get back to the Hydra...
My first game "Mercury Mission" was pretty much just an exercise to get up and running with Spin.
I want to learn how to write my own driver and renderer for NTSC so this time I guess I have to tackle Assembler...
Guess one good start is the "SimpleNTSC_256x192_256_colors_002.spin", it's pretty basic...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Living on the planet Earth might be expensive but it includes a free trip around the sun every year...
Experience level:
[noparse][[/noparse] ] Let's connect the motor to pin 1, it's a 6V motor so it should be fine.
[noparse][[/noparse] ] OK, I got my resistors hooked up with the LEDs.
[noparse][[/noparse]X] I got the Motor hooked up with the H-bridge and the 555 is supplying the PWM.
[noparse][[/noparse] ] Now, if I can only program the BOE-BOT to interface with he Flux Capacitor.
[noparse][[/noparse] ] I dream in SX28 assembler...
/Bamse
Post Edited (Bamse) : 1/4/2008 6:47:36 AM GMT
Comments
oh and SimpleNTSC_256x192_256_colors_002.spin is a great starting point, but will remove any option of a PAL version. guess I really must have a look at converting that to PAL some time, when my to-do list is small enough lol.
Baggers.
The NTSC_256x192.... was a great help for me to understand how to generate a page.
I still haven't figured out the itty bitty details but I managed to understand the principle...
The calculation on what to put in the VSCL and Waitvid is still a little bit of a mystery to me...
Just need to stop playing Frogger and Unterwelt and get back to the code...
I do agree that it would probably not be a good starting point since it's NTSC only, but it really helped me getting started...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Living on the planet Earth might be expensive but it includes a free trip around the sun every year...
Experience level:
[noparse][[/noparse] ] Let's connect the motor to pin 1, it's a 6V motor so it should be fine.
[noparse][[/noparse] ] OK, I got my resistors hooked up with the LEDs.
[noparse][[/noparse]X] I got the Motor hooked up with the H-bridge and the 555 is supplying the PWM.
[noparse][[/noparse] ] Now, if I can only program the BOE-BOT to interface with he Flux Capacitor.
[noparse][[/noparse] ] I dream in SX28 assembler...
/Bamse
Hope I don't disappoint to many people...
Another game just came into my mind, Jeff Minters GridRunner...
This is one of my favorites and I think it would be much more fun for me to remake this game rather than Space Invaders...
Guess I have to start up the C64 emulator and get some inspiration...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Living on the planet Earth might be expensive but it includes a free trip around the sun every year...
Experience level:
[noparse][[/noparse] ] Let's connect the motor to pin 1, it's a 6V motor so it should be fine.
[noparse][[/noparse] ] OK, I got my resistors hooked up with the LEDs.
[noparse][[/noparse]X] I got the Motor hooked up with the H-bridge and the 555 is supplying the PWM.
[noparse][[/noparse] ] Now, if I can only program the BOE-BOT to interface with he Flux Capacitor.
[noparse][[/noparse] ] I dream in SX28 assembler...
/Bamse
Baggers.
Andre'
The mapping is a little bit weird, but hey, it's a game, not a word processor...
All 64 chars have been added to the Video Driver...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Living on the planet Earth might be expensive but it includes a free trip around the sun every year...
Experience level:
[noparse][[/noparse] ] Let's connect the motor to pin 1, it's a 6V motor so it should be fine.
[noparse][[/noparse] ] OK, I got my resistors hooked up with the LEDs.
[noparse][[/noparse]X] I got the Motor hooked up with the H-bridge and the 555 is supplying the PWM.
[noparse][[/noparse] ] Now, if I can only program the BOE-BOT to interface with he Flux Capacitor.
[noparse][[/noparse] ] I dream in SX28 assembler...
/Bamse
Post Edited (Bamse) : 2/8/2008 7:08:22 AM GMT
Now the fun part begins [noparse]:)[/noparse]
At least the main loop is there, but not much else is done...
I think it's time for some "inspiration" and start playing the game in Vice...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Living on the planet Earth might be expensive but it includes a free trip around the sun every year...
Experience level:
[noparse][[/noparse] ] Let's connect the motor to pin 1, it's a 6V motor so it should be fine.
[noparse][[/noparse] ] OK, I got my resistors hooked up with the LEDs.
[noparse][[/noparse]X] I got the Motor hooked up with the H-bridge and the 555 is supplying the PWM.
[noparse][[/noparse] ] Now, if I can only program the BOE-BOT to interface with he Flux Capacitor.
[noparse][[/noparse] ] I dream in SX28 assembler...
/Bamse
Post Edited (Bamse) : 2/8/2008 7:08:46 AM GMT
But the old shed is torn down, the dogs got a new dog run and the gutters are cleaned...
I also found a couple of LCD displays that I had been looking for and finished up a couple of projects for my Replica One, a 6502 system...
So it's time to get back to Gridrunner...
Got the missile to shot and some Centipedes running all over the screen...
I also need to start looking into sound effects, it's pretty boring without sound...
The whole weekend is booked up for a family event so I wont be getting back to Gridrunner until Monday...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Living on the planet Earth might be expensive but it includes a free trip around the sun every year...
Experience level:
[noparse][[/noparse] ] Let's connect the motor to pin 1, it's a 6V motor so it should be fine.
[noparse][[/noparse] ] OK, I got my resistors hooked up with the LEDs.
[noparse][[/noparse]X] I got the Motor hooked up with the H-bridge and the 555 is supplying the PWM.
[noparse][[/noparse] ] Now, if I can only program the BOE-BOT to interface with he Flux Capacitor.
[noparse][[/noparse] ] I dream in SX28 assembler...
/Bamse
Post Edited (Bamse) : 2/14/2008 5:48:25 AM GMT
Did anyone notice that the centipedes where turning a little bit weird when climbing up ?
I guess this was due to a conversion problem between bytes and longs.
I eliminated the use of -1 in my array of bytes and now it all works...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Living on the planet Earth might be expensive but it includes a free trip around the sun every year...
Experience level:
[noparse][[/noparse] ] Let's connect the motor to pin 1, it's a 6V motor so it should be fine.
[noparse][[/noparse] ] OK, I got my resistors hooked up with the LEDs.
[noparse][[/noparse]X] I got the Motor hooked up with the H-bridge and the 555 is supplying the PWM.
[noparse][[/noparse] ] Now, if I can only program the BOE-BOT to interface with he Flux Capacitor.
[noparse][[/noparse] ] I dream in SX28 assembler...
/Bamse
Post Edited (Bamse) : 3/9/2008 7:03:43 AM GMT
But this project is not dead yet...
Got the side swipers to fire and also the bombs to work.
Still a lot of work to do, but slow progress is better than no progress...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Living on the planet Earth might be expensive but it includes a free trip around the sun every year...
Experience level:
[noparse][[/noparse] ] Let's connect the motor to pin 1, it's a 6V motor so it should be fine.
[noparse][[/noparse] ] OK, I got my resistors hooked up with the LEDs.
[noparse][[/noparse]X] I got the Motor hooked up with the H-bridge and the 555 is supplying the PWM.
[noparse][[/noparse] ] Now, if I can only program the BOE-BOT to interface with he Flux Capacitor.
[noparse][[/noparse] ] I dream in SX28 assembler...
/Bamse
Post Edited (Bamse) : 3/11/2008 5:22:03 AM GMT
Good to see you back on the circuit
Keep up the good work!
You can now crash and the lives are counted down, the scores can be set, they are no longer hard coded...
Time to start working on the actual game logic a little bit...
And maybe even add some sound...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Living on the planet Earth might be expensive but it includes a free trip around the sun every year...
Experience level:
[noparse][[/noparse] ] Let's connect the motor to pin 1, it's a 6V motor so it should be fine.
[noparse][[/noparse] ] OK, I got my resistors hooked up with the LEDs.
[noparse][[/noparse]X] I got the Motor hooked up with the H-bridge and the 555 is supplying the PWM.
[noparse][[/noparse] ] Now, if I can only program the BOE-BOT to interface with he Flux Capacitor.
[noparse][[/noparse] ] I dream in SX28 assembler...
/Bamse
Post Edited (Bamse) : 3/14/2008 3:52:28 AM GMT
I need to figure out how to split the Centipede...
But that seem to be a task for the weekend...
Looks pretty cool now that the Centipedes actually turns...
By the way, does anyone want to help out with the sound ?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Living on the planet Earth might be expensive but it includes a free trip around the sun every year...
Experience level:
[noparse][[/noparse] ] Let's connect the motor to pin 1, it's a 6V motor so it should be fine.
[noparse][[/noparse] ] OK, I got my resistors hooked up with the LEDs.
[noparse][[/noparse]X] I got the Motor hooked up with the H-bridge and the 555 is supplying the PWM.
[noparse][[/noparse] ] Now, if I can only program the BOE-BOT to interface with he Flux Capacitor.
[noparse][[/noparse] ] I dream in SX28 assembler...
/Bamse
Post Edited (Bamse) : 3/16/2008 3:23:30 AM GMT
The look and feel is pretty much there...
Finally got the Centipede to split properly...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Living on the planet Earth might be expensive but it includes a free trip around the sun every year...
Experience level:
[noparse][[/noparse] ] Let's connect the motor to pin 1, it's a 6V motor so it should be fine.
[noparse][[/noparse] ] OK, I got my resistors hooked up with the LEDs.
[noparse][[/noparse]X] I got the Motor hooked up with the H-bridge and the 555 is supplying the PWM.
[noparse][[/noparse] ] Now, if I can only program the BOE-BOT to interface with he Flux Capacitor.
[noparse][[/noparse] ] I dream in SX28 assembler...
/Bamse
Post Edited (Bamse) : 6/12/2008 3:23:45 AM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
Anyone up for helping me out with sound effects ???
Currently that is the biggest hurdle...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Living on the planet Earth might be expensive but it includes a free trip around the sun every year...
Experience level:
[noparse][[/noparse] ] Let's connect the motor to pin 1, it's a 6V motor so it should be fine.
[noparse][[/noparse] ] OK, I got my resistors hooked up with the LEDs.
[noparse][[/noparse]X] I got the Motor hooked up with the H-bridge and the 555 is supplying the PWM.
[noparse][[/noparse] ] Now, if I can only program the BOE-BOT to interface with he Flux Capacitor.
[noparse][[/noparse] ] I dream in SX28 assembler...
/Bamse
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
I got a basic sound effect engine running using the Hydra sound drivers.
I'm not really happy with the sound effects but at least they seem to work so I'll get back to them later.
Time to work on the game logic a little bit more and clean up the code.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Living on the planet Earth might be expensive but it includes a free trip around the sun every year...
Experience level:
[noparse][[/noparse] ] Let's connect the motor to pin 1, it's a 6V motor so it should be fine.
[noparse][[/noparse] ] OK, I got my resistors hooked up with the LEDs.
[noparse][[/noparse]X] I got the Motor hooked up with the H-bridge and the 555 is supplying the PWM.
[noparse][[/noparse] ] Now, if I can only program the BOE-BOT to interface with he Flux Capacitor.
[noparse][[/noparse] ] I dream in SX28 assembler...
/Bamse
Post Edited (Bamse) : 6/14/2008 11:48:49 PM GMT
Andre'
Job well done!
Baggers.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
http://www.propgfx.co.uk/forum/·home of the PropGFX Lite
·
I would imagine this would be Level 20 or something...
That will be the weekend project, to start at level 1 and get harder and harder up to this level...
Here are some "screenshots", I will have to convert the driver to allow for that screen capture tool that is available somewhere...
I'll try do this once the game is done...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Living on the planet Earth might be expensive but it includes a free trip around the sun every year...
Experience level:
[noparse][[/noparse] ] Let's connect the motor to pin 1, it's a 6V motor so it should be fine.
[noparse][[/noparse] ] OK, I got my resistors hooked up with the LEDs.
[noparse][[/noparse]X] I got the Motor hooked up with the H-bridge and the 555 is supplying the PWM.
[noparse][[/noparse] ] Now, if I can only program the BOE-BOT to interface with he Flux Capacitor.
[noparse][[/noparse] ] I dream in SX28 assembler...
/Bamse
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
http://www.propgfx.co.uk/forum/·home of the PropGFX Lite
·
Dedicated to Baggers since the level system works and it no longer starts out with two long Centipedes...
I had enough for today but there is a good chance I'll get some time tomorrow to continue work on it...
I'm still looking for someone to help out with the sound effects, just reply if you are interested...
Have fun...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Living on the planet Earth might be expensive but it includes a free trip around the sun every year...
Experience level:
[noparse][[/noparse] ] Let's connect the motor to pin 1, it's a 6V motor so it should be fine.
[noparse][[/noparse] ] OK, I got my resistors hooked up with the LEDs.
[noparse][[/noparse]X] I got the Motor hooked up with the H-bridge and the 555 is supplying the PWM.
[noparse][[/noparse] ] Now, if I can only program the BOE-BOT to interface with he Flux Capacitor.
[noparse][[/noparse] ] I dream in SX28 assembler...
/Bamse
Post Edited (Bamse) : 6/16/2008 4:09:33 AM GMT
As for sound effects, I'd help out, but I'm no musician, I have enough trouble trying to do sound effects for my own games lol.
I guess cos I've been spoilt with real musicians doing music for my work games, so I know how bad my sounds are in comparison :P
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
http://www.propgfx.co.uk/forum/·home of the PropGFX Lite
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
http://www.propgfx.co.uk/forum/·home of the PropGFX Lite
·
I've attached a copy that is fixed for Demoboard/Protoboard users.
(If they have a NES controller attached to the same pins as the Hydra)
I've also taken the liberty of adding a dummy sound driver to keep the game from crashing.
(For those who haven't made the investment in the Hydra book/system yet.)
@AndreL: If the dummy version of NS_sound_drv_052_22khz_16bit is an annoyance,
let me know and I'll yank it. It's an empty shell with a good plug for the Hydra Book
in the comments.
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with the Protoboard? - Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card? - PropDOS
Need a part? Got spare electronics? - The Electronics Exchange
Here is a minor update that will hopefully easy the port to the Demoboard/Protoboard users.
If I got it right, all you need to do is to change the parameters below and recompile, no need to change the code in the Graphic driver...
Baggers,
I'm going to give you full artistic freedom with the sound effects.
Please feel free to use the included silly little sound engine or write a better one.
Also let me know if you think we are missing any sound effects, these are the ones I have defined so far,
SOUND_LEVEL_START = 129 ' Sound effect for "ENTERING GRID AREA", 1 + 128
SOUND_GRID = 129 ' Sound effect for drawing grid, 1 + 128
SOUND_SWIPE = 130 ' Sound effect for Side Swiper, 2 + 128
SOUND_MISSILE = 131 ' Sound effect for Missile, 3 + 128
SOUND_SHIP_EXPLODE = 132 ' Sound effect for exploding ship, 4 + 128
Thanks for playing...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Living on the planet Earth might be expensive but it includes a free trip around the sun every year...
Experience level:
[noparse][[/noparse] ] Let's connect the motor to pin 1, it's a 6V motor so it should be fine.
[noparse][[/noparse] ] OK, I got my resistors hooked up with the LEDs.
[noparse][[/noparse]X] I got the Motor hooked up with the H-bridge and the 555 is supplying the PWM.
[noparse][[/noparse] ] Now, if I can only program the BOE-BOT to interface with he Flux Capacitor.
[noparse][[/noparse] ] I dream in SX28 assembler...
/Bamse