Kill Birds

Advanced game related topics
User avatar
falsam
Enthusiast
Enthusiast
Posts: 630
Joined: Wed Sep 21, 2011 9:11 am
Location: France
Contact:

Kill Birds

Post 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).
Last edited by falsam on Sun Mar 16, 2014 4:14 pm, edited 2 times in total.

➽ Windows 11 64-bit - PB 6.0 x64 - AMD Ryzen 7 - NVIDIA GeForce GTX 1650 Ti

Sorry for my bad english and the Dunning–Kruger effect.
User avatar
Tenaja
Addict
Addict
Posts: 1949
Joined: Tue Nov 09, 2010 10:15 pm

Re: Kill Birds

Post by Tenaja »

Nice.
Works with W7-64, using the 32-bit PB.

Are you planning to expand it?
User avatar
falsam
Enthusiast
Enthusiast
Posts: 630
Joined: Wed Sep 21, 2011 9:11 am
Location: France
Contact:

Re: Kill Birds

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

➽ Windows 11 64-bit - PB 6.0 x64 - AMD Ryzen 7 - NVIDIA GeForce GTX 1650 Ti

Sorry for my bad english and the Dunning–Kruger effect.
User avatar
Mindphazer
Enthusiast
Enthusiast
Posts: 341
Joined: Mon Sep 10, 2012 10:41 am
Location: Savoie

Re: Kill Birds

Post 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
MacBook Pro 14" M1 Pro - 16 Gb - MacOS 14 - Iphone 15 Pro Max - iPad at home
...and unfortunately... Windows at work...
User avatar
falsam
Enthusiast
Enthusiast
Posts: 630
Joined: Wed Sep 21, 2011 9:11 am
Location: France
Contact:

Re: Kill Birds

Post by falsam »

Thank Mindphaser :)

➽ Windows 11 64-bit - PB 6.0 x64 - AMD Ryzen 7 - NVIDIA GeForce GTX 1650 Ti

Sorry for my bad english and the Dunning–Kruger effect.
User avatar
Crusiatus Black
Enthusiast
Enthusiast
Posts: 389
Joined: Mon May 12, 2008 1:25 pm
Location: The Netherlands
Contact:

Re: Kill Birds

Post 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 :)
Image
Bas Groothedde,
Imagine Programming

I live in a philosophical paradoxal randome filled with enigma's!
davido
Addict
Addict
Posts: 1890
Joined: Fri Nov 09, 2012 11:04 pm
Location: Uttoxeter, UK

Re: Kill Birds

Post 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.
DE AA EB
User avatar
falsam
Enthusiast
Enthusiast
Posts: 630
Joined: Wed Sep 21, 2011 9:11 am
Location: France
Contact:

Re: Kill Birds

Post by falsam »

Good New. Thank Davido :)

➽ Windows 11 64-bit - PB 6.0 x64 - AMD Ryzen 7 - NVIDIA GeForce GTX 1650 Ti

Sorry for my bad english and the Dunning–Kruger effect.
Lebostein
Addict
Addict
Posts: 807
Joined: Fri Jun 11, 2004 7:07 am

Re: Kill Birds

Post by Lebostein »

I hear no ambient sound, only a loud noise, Mac OS X
User avatar
Andre
PureBasic Team
PureBasic Team
Posts: 2058
Joined: Fri Apr 25, 2003 6:14 pm
Location: Germany (Saxony, Deutscheinsiedel)
Contact:

Re: Kill Birds

Post 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
Bye,
...André
(PureBasicTeam::Docs & Support - PureArea.net | Order:: PureBasic | PureVisionXP)
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: Kill Birds

Post by ts-soft »

Works fine on linux x64 :D
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
User avatar
falsam
Enthusiast
Enthusiast
Posts: 630
Joined: Wed Sep 21, 2011 9:11 am
Location: France
Contact:

Re: Kill Birds

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

➽ Windows 11 64-bit - PB 6.0 x64 - AMD Ryzen 7 - NVIDIA GeForce GTX 1650 Ti

Sorry for my bad english and the Dunning–Kruger effect.
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: Kill Birds

Post 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 ...
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
User avatar
Thunder93
Addict
Addict
Posts: 1788
Joined: Tue Mar 21, 2006 12:31 am
Location: Canada

Re: Kill Birds

Post by Thunder93 »

I found this cute. Thanks for sharing.
ʽʽSuccess is almost totally dependent upon drive and persistence. The extra energy required to make another effort or try another approach is the secret of winning.ʾʾ --Dennis Waitley
Lebostein
Addict
Addict
Posts: 807
Joined: Fri Jun 11, 2004 7:07 am

Re: Kill Birds

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