BBC BASIC for Windows
« "Alien Eliminator" -- A new BB4W game »

Welcome Guest. Please Login or Register.
Apr 5th, 2018, 10:19pm



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

If you require a dump of the post on your message board, please come to the support board and request it.


Thank you Conforums members.

BBC BASIC for Windows Resources
Online BBC BASIC for Windows documentation
BBC BASIC for Windows Beginners' Tutorial
BBC BASIC Home Page
BBC BASIC on Rosetta Code
BBC BASIC discussion group
BBC BASIC for Windows Programmers' Reference

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: "Alien Eliminator" -- A new BB4W game  (Read 1436 times)
David Williams
Developer

member is offline

Avatar

meh


PM

Gender: Male
Posts: 452
xx "Alien Eliminator" -- A new BB4W game
« Thread started on: Feb 26th, 2010, 03:28am »

OK, it's essentially 'Space Invaders'.

You can opt to run the program in either 640x512 'Windowed mode', or 'Fullscreen mode' (recommended!).

Although *not* required for Windowed mode, you will need to have DirextX 9 installed on your system to play the game in fullscreen mode (this, I believe, is the first BB4W game to offer a 'true' DirectX fullscreen playing experience! Do try it, if you can.).

Oh, another thing: I suggest you turn your volume down a bit first, as the music and sound effects may be a bit loud.


Download link:

http://www.bb4w-games.com/temp/alien_eliminator_1_0beta2.zip

[EDIT: File removed. You can download the latest version from http://www.bb4w-games.com]

Consider reading the accompanying 'Read Me' file first, as it contains some important information.

As usual, and especially as this is a beta release, I'd appreciate any feedback. Thank you.


Known issues:

* The code (very kindly devised and contributed by Michael Hutton) which sets up the optional DirectX Fullscreen requires DirectX 9; sorry about this. He did put considerable effort into trying to get a DirectX 8 version up and running, but soon discovered that this task is somewhat less than straightforward.

* Aspect ratio in fullscreen mode. The 'internal' 640x512 bitmap onto which *all* the graphics are rendered is hardware-stretched up to whatever your screen resolution happens to be (mine's 1280x800). You'll probably notice that the fullscreen image looks a little squashed. Or very squashed. Personally, I don't find this a distraction (much), but it's something I'll bear in mind in future projects.

* No joystick/gamepad support (and none is planned).


Happy zapping.

One more thing (as Lieutenant Columbo would say): I did try to make a lengthy Demo Mode (as once suggested to me by Richard), but ran into problems due to various random processes going on "under the bonnet". Actually, it's down to poor program design, but...


Regards,
David.

dwilliams64 AT hotmail DOT com
http://www.bb4w-games.com
« Last Edit: Mar 14th, 2010, 11:46pm by David Williams » User IP Logged

David Williams
Developer

member is offline

Avatar

meh


PM

Gender: Male
Posts: 452
xx Re: "Alien Eliminator" -- A new BB4W gam
« Reply #1 on: Feb 27th, 2010, 09:15am »

2nd beta released:

http://www.bb4w-games.com/temp/alien_eliminator_1_0beta2.zip

[EDIT: File removed. You can download the latest version from http://www.bb4w-games.com]
« Last Edit: Mar 14th, 2010, 11:47pm by David Williams » User IP Logged

Michael Hutton
Developer

member is offline

Avatar




PM

Gender: Male
Posts: 248
xx Re: "Alien Eliminator" -- A new BB4W game
« Reply #2 on: Mar 4th, 2010, 05:09am »

David,

I have completed version 1.00 of GFXD3D9LIB which will (hopefully!) interest you.

http://tech.groups.yahoo.com/group/bb4w/files/%22Temp%20Folder%22/MDCH/DirectX/DirectX%209%20with%20GFXLIB/GFXD3D9LIB.bbc

(Obviously, goes in @lib$)

It 'seemlessly' (ahem!) integrates DirectX9 with GFXLIB. You can request it conserves the GFX aspect ratio or not. There is NO D3DX9 support and does require that DirectX9 has been previously installed on the target machine. So should work with XP (is it SP 2??) and above.

I will leave it in my temp area until I get some feed back.

And here is a little demo to show it works.

http://tech.groups.yahoo.com/group/bb4w/files/%22Temp%20Folder%22/MDCH/DirectX/DirectX%209%20with%20GFXLIB/GFXLIB%20with%20DirectX9%20-%20Demo%20using%20GFXD3D9LIB.bbc

Michael
User IP Logged

David Williams
Developer

member is offline

Avatar

meh


PM

Gender: Male
Posts: 452
xx Re: "Alien Eliminator" -- A new BB4W gam
« Reply #3 on: Mar 4th, 2010, 05:53am »

on Mar 4th, 2010, 05:09am, Michael Hutton wrote:
David,

I have completed version 1.00 of GFXD3D9LIB which will (hopefully!) interest you.

http://tech.groups.yahoo.com/group/bb4w/files/%22Temp%20Folder%22/MDCH/DirectX/DirectX%209%20with%20GFXLIB/GFXD3D9LIB.bbc


I do have a feeling that this might interest me.


on Mar 4th, 2010, 05:09am, Michael Hutton wrote:
And here is a little demo to show it works.

http://tech.groups.yahoo.com/group/bb4w/files/%22Temp%20Folder%22/MDCH/DirectX/DirectX%209%20with%20GFXLIB/GFXLIB%20with%20DirectX9%20-%20Demo%20using%20GFXD3D9LIB.bbc


Ah! Correct aspect ratio, too. laugh

I am very pleased that we (well, you) have managed to remedy the DirectX fullscreen aspect ratio issue (much to Simon's delight, no doubt!).

Don't consider this as 'feedback', Michael; I'll get back to you soon with something hopefully more useful to say.

[ EDIT: Anyone wishing to download and run the demo program will have to download and install the GFXLIB II package from here (GFXLIB II is still in the BETA stage, bear in mind): http://www.bb4w-games.com/gfxlib2/gfxlib2page.html ]

Regards,

David.
--
« Last Edit: Mar 4th, 2010, 06:16am by David Williams » User IP Logged

Michael Hutton
Developer

member is offline

Avatar




PM

Gender: Male
Posts: 248
xx Re: "Alien Eliminator" -- A new BB4W game
« Reply #4 on: Mar 4th, 2010, 06:32am »

Version 1.01

http://tech.groups.yahoo.com/group/bb4w/files/%22Temp%20Folder%22/MDCH/DirectX/DirectX%209%20with%20GFXLIB/GFXD3D9LIB.bbc

Now, windowed or fullscreen mode can be selected but beware windowed mode will not preserve aspect ration when the size of the window is changed by dragging the window frame. I suppose you could set up code to only change to acceptable aspect ratios by subclassing the window but I suspect that is a bit fiddly.

Michael
User IP Logged

admin
Administrator
ImageImageImageImageImage


member is offline

Avatar




PM


Posts: 1145
xx Re: "Alien Eliminator" -- A new BB4W gam
« Reply #5 on: Mar 4th, 2010, 08:12am »

on Mar 4th, 2010, 05:09am, Michael Hutton wrote:
So should work with XP (is it SP 2??) and above.

Stating the obvious, I guess, but it's largely irrelevant what facilities are provided by a Service Pack. If somebody has a Service Pack it almost certainly means they have an internet connection (OK, I know they can be purchased on CD but rarely are) so they can download DirectX9 too!

The continuing importance of DirectX8 is that it comes with Windows XP so anybody with Windows XP, even those very many without any kind of internet connection, have it. Only yesterday I received an enquiry about BB4W from somebody with no internet connection.

If you want to advertise a program as "will work with XP and above" (out of the box) then it must not rely on anything later than DirectX8.

Richard.
User IP Logged

admin
Administrator
ImageImageImageImageImage


member is offline

Avatar




PM


Posts: 1145
xx Re: "Alien Eliminator" -- A new BB4W gam
« Reply #6 on: Mar 4th, 2010, 10:13am »

on Mar 4th, 2010, 06:32am, Michael Hutton wrote:
Now, windowed or fullscreen mode can be selected but beware windowed mode will not preserve aspect ration when the size of the window is changed by dragging the window frame. I suppose you could set up code to only change to acceptable aspect ratios by subclassing the window but I suspect that is a bit fiddly.

I suggested to David using ON MOVE and adjusting the scaling dynamically to suit the size of the window. If the window was resized to the wrong aspect ratio black bars would automatically appear. No need for anything complicated like subclassing!

Richard.
User IP Logged

David Williams
Developer

member is offline

Avatar

meh


PM

Gender: Male
Posts: 452
xx Re: "Alien Eliminator" -- A new BB4W game
« Reply #7 on: Mar 8th, 2010, 6:35pm »

I'm pleased to announce the release of "Alien Eliminator" (version 1.0):

http://www.bb4w-games.com/alieneliminator.zip


A fast PC with DirectX 9 installed is recommended - though not required - to run this program.

Please read the "Read Me" file before running the program.

Happy zapping smiley


David.
« Last Edit: Mar 8th, 2010, 6:51pm by David Williams » User IP Logged

81RED
Guest
xx Re: "Alien Eliminator" -- A new BB4W game
« Reply #8 on: Mar 8th, 2010, 8:24pm »

Congratulations on the 1.0 release David! cheesy
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls