Page 1 of 2

Kill Birds

Posted: Thu Mar 13, 2014 10:52 pm
by falsam
Image

Code, image and source in this file.
:arrow: Download killbirds.zip

Can you test this code on Windows, Linux and Mac OS and tell me if the images appear normally.

Select bird(s) : Your mouse.
Shoot             : Left mouse button.

I was informed that the images are not correct on Mac OS (Solved).

Re: Kill Birds

Posted: Thu Mar 13, 2014 11:03 pm
by Tenaja
Nice.
Works with W7-64, using the 32-bit PB.

Are you planning to expand it?

Re: Kill Birds

Posted: Thu Mar 13, 2014 11:09 pm
by falsam
Tenaja wrote:Are you planning to expand it?
It was just a test on the transparency of PNG images with these Operating system. But Why not :)

Thank for your feed back Tenaja.

Re: Kill Birds

Posted: Thu Mar 13, 2014 11:51 pm
by Mindphazer
falsam wrote: I was informed that the images are not correct on Mac OS.
It's my fault.
I didn't use the right bird.png file
It works fine.
Sorry about that

Re: Kill Birds

Posted: Thu Mar 13, 2014 11:54 pm
by falsam
Thank Mindphaser :)

Re: Kill Birds

Posted: Fri Mar 14, 2014 8:14 am
by Crusiatus Black
#background was an existing constant on my 5.21 LTS x86 installation,
but when I changed all those occurrences to #background1, the game
runs fine on Windows 7 Professional x64 :)

Re: Kill Birds

Posted: Fri Mar 14, 2014 11:24 am
by davido
Looks and works the same on:

1. Windows 7-64bit with PureBasic 5.22 beta 2 64bit
2. MacBook Pro PureBasic 5.21 Lts 64bit

I cannot see any differences at all. That's amazing!
Very nice, thank you.

Re: Kill Birds

Posted: Fri Mar 14, 2014 11:33 am
by falsam
Good New. Thank Davido :)

Re: Kill Birds

Posted: Fri Mar 14, 2014 9:39 pm
by Lebostein
I hear no ambient sound, only a loud noise, Mac OS X

Re: Kill Birds

Posted: Fri Mar 14, 2014 10:18 pm
by Andre
It works well on my MacBook with MacOS 10.5.8 and PB 5.22 LTS beta1.
The graphic looks nice and I can't see any gfx errors. On the sound side I hear only the gun noise, but no background sound...

Anyway well done! :D

Re: Kill Birds

Posted: Fri Mar 14, 2014 10:29 pm
by ts-soft
Works fine on linux x64 :D

Re: Kill Birds

Posted: Fri Mar 14, 2014 11:11 pm
by falsam
Lebostein wrote:I hear no ambient sound
Andre wrote:On the sound side I hear only the gun noise, but no background sound
This is normal. There is no ambient sound. :wink:
ts-soft wrote:Works fine on linux x64 :D
Thank for your feedback ts-soft. :)

Test scrolling.pb to hear ambient sound. Use left and right key.

Re: Kill Birds

Posted: Fri Mar 14, 2014 11:25 pm
by ts-soft
Crusiatus Black wrote:#background was an existing constant on my 5.21 LTS x86 installation, ...
This comes from ProGUI.res. Chris would changed this, but ...

Re: Kill Birds

Posted: Sat Mar 15, 2014 12:46 pm
by Thunder93
I found this cute. Thanks for sharing.

Re: Kill Birds

Posted: Sat Mar 15, 2014 3:30 pm
by Lebostein
falsam wrote:Test scrolling.pb to hear ambient sound. Use left and right key.
That I mean! I hear only a loud and annoying noise...
But the PB sound library on Mac OS is very, very buggy. I have posted some bugs, but Fred does not seem to care...