Page 1 of 1

Beast Tribute Demo

Posted: Tue May 22, 2018 7:19 pm
by _aNdy_
I have been carrying on my learning of the graphic and sprite functions in PureBasic. Thus, here is a simple old-school style demo that I've called 'Beast Tribute'.

Image

The demo can be downloaded from the Cosine website here:

http://www.cosine.org.uk/products.php?p ... _2&4mat=pc

Like my previous demo (Old School Demo 1), the source is included and is very heavily commented to explain what each bit is doing. Unlike the last demo, I've not converted the graphics into data and included in the source. This time the graphics are in their original formats so you can see how it all slots together. Also, I wrote some brand new music - although it loads into the demo as an ogg file, the original 4 channel mod file is included so you can load that into whatever tracker and pull that apart too!

All other thanks, credits and information is contained in the demo scrolling message.

Please enjoy!

aNdy/AL/Cosine

Re: Beast Tribute Demo

Posted: Tue May 22, 2018 11:33 pm
by StarBootics
With minimal change to the source code, it work on Linux OS (Ubuntu 18.04 x64)

Nice job by the way.

Best regards
StarBootics

Re: Beast Tribute Demo

Posted: Wed May 23, 2018 9:58 am
by Kwai chang caine
Very nice !!! :D
Thanks for sharing 8)

Re: Beast Tribute Demo

Posted: Wed May 23, 2018 10:01 am
by RSBasic
Nice. Image

Re: Beast Tribute Demo

Posted: Wed May 23, 2018 10:33 am
by _aNdy_
Thanks for the kind words!
StarBootics wrote:With minimal change to the source code, it work on Linux OS (Ubuntu 18.04 x64)
Can I ask what changes had to be made? I can then keep this in mind for the future and make sure my code is as compatible as possible across the board...

Re: Beast Tribute Demo

Posted: Wed May 23, 2018 2:18 pm
by StarBootics
_aNdy_ wrote:Can I ask what changes had to be made? I can then keep this in mind for the future and make sure my code is as compatible as possible across the board...
I have to comment a Windows OS specific command ; ShowCursor_()
I have added this line : ImportC "-no-pie" : EndImport ; Fix Compiled Program flagged as Shared library
Finally, in the Compiler options : unckeck Use compiler

And that's it.

Best regards
StarBootics

Re: Beast Tribute Demo

Posted: Wed May 23, 2018 9:59 pm
by _aNdy_
@StarBootics: Thanks for the feedback!

I haven't used ShowCursor_() before and only used it this time because I saw it in other code and liked the effect. Never again! I'll add the additional line you used to the source now and comment out with an instruction for Linux users to uncomment before compile, along with a comment to disable compiler.

I'll then get a new zip file together and upload to the Cosine website, so other (if there are any) can benefit. I've added a credit to you in the ReadMe.