Operation : PewPew! A new game for 68040 and soon... 68030

DW1992

6502
Pew! Pew!Pew! Pew!Pew! Pew!Pew! Pew!Pew! Pew!Pew! Pew!Pew! Pew!Pew! Pew!Pew! Pew!Pew! Pew!Pew! Pew!Pew! Pew!Pew! Pew!Pew! Pew!Pew!

Hi Everyone,

What started out as a little fun experiment to get more familiar with CodeWarrior by making a parallax horizontally scrolling star field, like I'm on an Amiga in 1987... has somehow turned into a little mini-space shooter game that's become way more fun to work on then it should be. 😊

OPERATION : PewPew!
Due to a clerical error and absence of a real space hero, you've been given a ship and are Earth's last hope for survival!
The evil right to left floating asteroids are attacking and the pesky alien's in their UFOs keep trying to shoot you down and steal your pizza! (avoiding the Noid didn't help!) 👽🍕

Worse yet,just when you think things can't get any worse, every 500 or so points, a scary alien jelly fish lookin' thing attacks you, and gets meaner the more you shoot at it! 👾

001.png

Click to fire your laser and destroy those evil space rocks!
Don't let them touch you, or your shield power will decrease!
Oh, and avoiding them isn't enough... if a rock gets past you, somehow your shield energy still decreases! So unfair... 😇

004.png

Around increments of 500 points, the scary Jelly boss (trademarked!) will appear.
The more you shoot at it, the angrier it becomes!

006.png

At least there are random Shield Energy pods floating around in space...
Shoot one for a quick shield boost, or run into one for a greater gain!

005.png

The ultimate goal is to earn the highest score (stored internally in the resource, so you won't lose your score when you exit the game.. but you never will exit because you'll be addicted! :geek::coffee:🤪


007.png


Press [ESC] at any time to be brought back to the main menu and regain your sanity.

000.png


Ok, the nerdy spec type stuff...

Originally, I wrote the star field as a way to learning more about graphics in CodeWarrior pro 4 and targeted my SE/30.
I quickly fell in love with adding more and more and more features and ideas to this and it became the little game before you.

But... as such, and because I'm still very much just learning (I'm lern-d-ing...) the in's and out's of graphics tricks on the 68030, I fully admit I have long since run out of CPU cycles for a stock SE/30 to play this. Yes, it will run... but it won't be fun...

So, instead of sitting on it for the next month until I have time to learn about CopyBits and VBL, you're stuck with my slow GWorld back buffer trickery.
I've tested this on a real LC475 and LC575 (Colour Classic Mystic technically) and it runs perfectly. both has 68LC040 processors.
I made sure NOT to use any FLOAT or other FPU requiring functions, as well as all SIN motions are pre-calculated in a table. So no soft FPU slowdowns there.

Operation : PewPew is B&W (1bit) graphics.
It runs in a window 490 x 280
I've tested it on Systems 7.5.5 and it works no problem (on 040 CPUs for proper speed)

This is beta 0.75
There WILL be a v1.0 at some point (ah, free time...) 🫣
But I can't promise when.

I'll post all updated versions in this thread.

For now, enjoy in Basilisk II for full speed shenanigans, or a 040 based MAC.

There WILL be a playable version for the SE/30, that's my ultimate goat for the project.

Any feature requests, comments, high score screen shots, etc.. please post or PM me!
Would love to hear.

Aaron/DW
Dark Systems BBS
 

Attachments

Last edited:
Excellent work! So you're at the optimisation stage now then! Is the small window (rather than 512x342) a function of getting it to perform better? Would it help to have a code review - maybe some of the big brains here will be able to identify efficiency improvements?

I kind of fancy writing a Canabalt type game for the Plus or SE - but I think I'm going to need to work out how to clone myself first!
 
Back
Top