UnderwareDESIGN

PlayBASIC => Show Case => Topic started by: kevin on April 20, 2006, 03:07:02 PM

Title: Axis
Post by: kevin on April 20, 2006, 03:07:02 PM
 Axis


Here's a bit of shooter i started working on a few hours ago.  Just setting up the player/bullets and base particles currently.  

 It'll just have a bunch of ships at the top and you blast them and they blast you.  Mostly adding it since it's a bit more up to date than the existing game examples.


Video




Links

    https://www.PlayBASIC.com/ (https://www.playbasic.com/)



Download

 [plink] Download Axis (Exe & Source Code) (http://www.underwaredesign.com/getfile.php?file=pub/PlayBasic/Examples/UW/Axis.zip)[/plink] (1.9meg)



(updated version pictured bellow)
Title: Axis
Post by: Big C. on April 20, 2006, 03:38:53 PM
great, your description listens to itself after the old space invaders...
Title: Axis
Post by: kevin on April 21, 2006, 03:40:25 PM
Todays WIP screenie.  Haven't really done much on it tonight, but it's coming along.  it's just about playable.  Aliens and Collision are in.  The aliens need some roaming and firing code mainly so it can play a game as such.  Currently i've just toying with particle effects.  Looks pretty good running.  Pretty simple though
 
 The Alien artwork is from some very odl Spac Attack prototypes that INDI did.  Will  prolly replace them.  If i can find something else.
Title: Axis
Post by: thaaks on April 22, 2006, 05:36:34 PM
Looks promising!
And looks like I will go through the source code line by line to learn a lot of nice stuff  :P

Cheers,
Tommy
Title: Axis
Post by: kevin on April 23, 2006, 07:05:38 AM
Ohhh, On that case then,  i think i'll make it closed source.. :)

 it's comng along pretty well, onyl had limited time ot work on it since friday.      But you can now kill the bad guys, just have to return the favor and add some crappy roaming AI and that'll do for the time being.
Title: Axis
Post by: kevin on April 23, 2006, 03:56:22 PM
Here's today's AXIS screen shot. The game now plays, what's missing is some more AI logic for the Aliens (perhaps), the players death/restart/collision and perhaps some thruster particles for the player .

 I've also been messing with blending modes. The entire screen is using BlitImage Alpha sub to help create the blur effect on everything.   Which i kinda like.   Been also messing with different modes for the Aliens and it turns out they look like glowing blobs when set to Alpha ADD.   So that's a keeper too.  It's Not the most elegant looking thing i've ever seen, nor does it play well..   but it'll serve it's purpose well enough..
Title: Axis
Post by: kevin on April 28, 2006, 02:09:33 PM
Current AXIS shot from the PB1.33 demo pack
Title: Axis
Post by: Ian Price on April 28, 2006, 04:53:27 PM
Those effects are looking very tasty :)
Title: Axis
Post by: thaaks on April 29, 2006, 07:01:28 PM
And the source code looks nice too.
Source code split over several files, good function names, code pretty much cleaned up - this is a very good demo game!

On my first quick browse it seems there is some good stuff to learn from - thanks a lot!

Cheers,
Tommy
Title: Re: Axis
Post by: kevin on June 28, 2007, 05:39:03 PM
  Axis V005


        Those who've installed PlayBasic over the past 14 or so months would have no doubt played the original AXIS example.  The example is really more of a framework than fully playable game.   Recently,  I've been using the frame work in a successor demo called 'forest blaster'.    In the process of writing the new example certain new features have been added to the original frame work.  So effectively what i'm doing here, is cut'n'pasting some of the new routines from 'Forest Blast back into AXIS.   The most notable include the screen shake and homing missiles code.   Interestingly the screen shake makes the alpha blur  much more noticeable in the static shots.

        See pictures.


Title: Re: Axis
Post by: kevin on June 30, 2007, 06:12:52 PM
Axis V006

     Been tinkering with this most of yesterday, basically just wanted to get it into something that resembles a game for PB1.62b media pack.  So there's a chessy menu (with a whole two options (Start/Quit) :) ), music, sound fx and some clearer art.  The art is just throw together tidbits really,  most of which is proportionally all over the place.  It's a pity i don't have hi-res versions of them.  Oh well.         In shot i'm trialing adding some perspective to the backdrop.   While it works, i'm really that keen on it atm.  We'll see..

    Actually, If any GFX minded people are reading this, then I wouldn't mind a logo.   


Title: Re: Axis
Post by: Draco9898 on June 30, 2007, 06:26:01 PM
Hey there, kev. I might do you a logo for practice.
What dimensions?
Title: Re: Axis
Post by: kevin on June 30, 2007, 06:40:46 PM
   I'm not really fussed,  in the pic bellow is the mock up of where the logo will go (the red box)  that box is 400x*100y  which looks about right

  Style wise it'll need to fit what i've already got.   Was just going use a 3D style.   Used to have app for that, but I can't find it.  A bit like this http://www.grsites.com/logo/ (http://www.grsites.com/logo/)


w=200
h=50
y=100
boxc 400-w,y-h,400+w,y+h,true,rgb(255,0,0)

Title: Re: Axis
Post by: Draco9898 on June 30, 2007, 07:09:48 PM
How's this?
If you don't like it, goto http://cooltext.com, render something you like, send it to me and I'll optimize it and remove the outside anti-aliasing.
Title: Re: Axis
Post by: kevin on June 30, 2007, 08:34:45 PM

It's ok i guess.


Quoterender something you like,

If I do it, then wouldn't that defeat the purpose of wanting an Artist to do it ?



Title: Re: Axis
Post by: Draco9898 on June 30, 2007, 09:10:37 PM
QuoteIf I do it, then wouldn't that defeat the purpose of wanting an Artist to do it ?

No, because the site renders the images with many many colors and the edges are all super-anti-aliased, making for ugly black-greyish jaggies on all edges.
Or if you really really want I can try to make an image for you pixel-by-pixel, although you might not like it.
Title: Re: Axis
Post by: kevin on July 06, 2007, 07:05:39 AM

Here's an interesting Bug

Title: Re: Axis
Post by: Draco9898 on July 06, 2007, 08:14:40 PM
The strange colors in the alpha/after images blending? does look odd.  :D
Title: Re: Axis
Post by: kevin on July 08, 2007, 02:33:29 AM

  It's a bi product of applying the wrong mask to destination pixel when doing the average.   
Title: Re: Axis
Post by: kevin on July 09, 2007, 12:53:04 AM
 Axis Demo

   Here's the updated source code of the new Axis demo.  I'm uploading this now since  I'm currently stuck updating the rest of the example pack (some of which are really out of date) and figured you'd like something to play with in the mean time.  

   Most of the changes have been cosmetic, from adding a very simple front end, some music & sound fx to cleaning up code the media.    
   
   While the update was written in PB1.62c demo, it should work in much older editions of PlayBASIC also.




Download

 [plink] Download Axis (Exe & Source Code) (http://www.underwaredesign.com/getfile.php?file=pub/PlayBasic/Examples/UW/Axis.zip)[/plink] (1.9meg)