Beast Tribute Demo

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
User avatar
_aNdy_
User
User
Posts: 40
Joined: Fri Jun 17, 2016 12:06 am
Contact:

Beast Tribute Demo

Post 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
User avatar
StarBootics
Addict
Addict
Posts: 984
Joined: Sun Jul 07, 2013 11:35 am
Location: Canada

Re: Beast Tribute Demo

Post 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
The Stone Age did not end due to a shortage of stones !
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5353
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: Beast Tribute Demo

Post by Kwai chang caine »

Very nice !!! :D
Thanks for sharing 8)
ImageThe happiness is a road...
Not a destination
User avatar
RSBasic
Moderator
Moderator
Posts: 1218
Joined: Thu Dec 31, 2009 11:05 pm
Location: Gernsbach (Germany)
Contact:

Re: Beast Tribute Demo

Post by RSBasic »

Nice. Image
Image
Image
User avatar
_aNdy_
User
User
Posts: 40
Joined: Fri Jun 17, 2016 12:06 am
Contact:

Re: Beast Tribute Demo

Post 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...
User avatar
StarBootics
Addict
Addict
Posts: 984
Joined: Sun Jul 07, 2013 11:35 am
Location: Canada

Re: Beast Tribute Demo

Post 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
The Stone Age did not end due to a shortage of stones !
User avatar
_aNdy_
User
User
Posts: 40
Joined: Fri Jun 17, 2016 12:06 am
Contact:

Re: Beast Tribute Demo

Post 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.
Post Reply