IonicWind Software

Creative Basic => 2D/3D => Topic started by: GWS on November 23, 2007, 03:24:39 PM

Title: Early Christmas Wish
Post by: GWS on November 23, 2007, 03:24:39 PM
Just a little program for fun - bit early, but what the heck ..  :)

best wishes,

Graham
Title: Re: Early Christmas Wish
Post by: GWS on December 08, 2007, 03:06:43 PM
Here's a version using the Resources facility, which places all the images and music into the compiled .exe file.

Note that a .wav file requires a custom file type, and it's 'Custom Type' when adding it into the Resources needs to be allocated a numeric value greater than 255.  Type 0 - 255 are allocated to Windows.

Once it's compiled, it has to be run directly from the .exe (outside the IDE) - it doesn't work from the IDE. So when you compile it, uncheck the 'Execute after Compile' box.

You may find if you look at the resources in the IDE, that they are still pointing to the directory on my machine.  If so, you need to modify the file locations to the location on your own machine.

best wishes, :)

Graham
Title: Re: Early Christmas Wish
Post by: GWS on December 09, 2007, 01:46:17 AM
And if folk don't have the time to fiddle with code at this time of year, here's the complete .exe

all the best, :)

Graham
Title: Re: Early Christmas Wish
Post by: Doc on December 11, 2007, 04:53:20 AM
Very nice Graham,
Thank you!
:)
Title: Re: Early Christmas Wish
Post by: GWS on December 11, 2007, 08:01:38 AM
You're welcome Doc ..  :)

Graham
Title: Re: Early Christmas Wish
Post by: Ficko on December 11, 2007, 08:35:27 AM
Nice, thanks it's put me in the mood! :D