It is currently Sat Jul 04, 2020 10:10 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 19 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Kill Birds
PostPosted: Thu Mar 13, 2014 10:52 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Sep 21, 2011 9:11 am
Posts: 608
Location: France
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).

_________________

➽ Windows 10 - PB 5.62 & PB 5.70 LTS

Sorry for my bad english and the Dunning–Kruger effect.


Last edited by falsam on Sun Mar 16, 2014 4:14 pm, edited 2 times in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: Kill Birds
PostPosted: Thu Mar 13, 2014 11:03 pm 
Offline
Addict
Addict
User avatar

Joined: Tue Nov 09, 2010 10:15 pm
Posts: 1670
Nice.
Works with W7-64, using the 32-bit PB.

Are you planning to expand it?


Top
 Profile  
Reply with quote  
 Post subject: Re: Kill Birds
PostPosted: Thu Mar 13, 2014 11:09 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Sep 21, 2011 9:11 am
Posts: 608
Location: France
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 10 - PB 5.62 & PB 5.70 LTS

Sorry for my bad english and the Dunning–Kruger effect.


Top
 Profile  
Reply with quote  
 Post subject: Re: Kill Birds
PostPosted: Thu Mar 13, 2014 11:51 pm 
Offline
Enthusiast
Enthusiast

Joined: Mon Sep 10, 2012 10:41 am
Posts: 138
Location: Savoie
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 13" Retina - 16 Gb - OSX 10.14 - Iphone X - iPad at home
...and unfortunately... Windows at work...


Top
 Profile  
Reply with quote  
 Post subject: Re: Kill Birds
PostPosted: Thu Mar 13, 2014 11:54 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Sep 21, 2011 9:11 am
Posts: 608
Location: France
Thank Mindphaser :)

_________________

➽ Windows 10 - PB 5.62 & PB 5.70 LTS

Sorry for my bad english and the Dunning–Kruger effect.


Top
 Profile  
Reply with quote  
 Post subject: Re: Kill Birds
PostPosted: Fri Mar 14, 2014 8:14 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Mon May 12, 2008 1:25 pm
Posts: 374
Location: The Netherlands
#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!


Top
 Profile  
Reply with quote  
 Post subject: Re: Kill Birds
PostPosted: Fri Mar 14, 2014 11:24 am 
Offline
Addict
Addict

Joined: Fri Nov 09, 2012 11:04 pm
Posts: 1766
Location: Uttoxeter, UK
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


Top
 Profile  
Reply with quote  
 Post subject: Re: Kill Birds
PostPosted: Fri Mar 14, 2014 11:33 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Sep 21, 2011 9:11 am
Posts: 608
Location: France
Good New. Thank Davido :)

_________________

➽ Windows 10 - PB 5.62 & PB 5.70 LTS

Sorry for my bad english and the Dunning–Kruger effect.


Top
 Profile  
Reply with quote  
 Post subject: Re: Kill Birds
PostPosted: Fri Mar 14, 2014 9:39 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Fri Jun 11, 2004 7:07 am
Posts: 635
I hear no ambient sound, only a loud noise, Mac OS X


Top
 Profile  
Reply with quote  
 Post subject: Re: Kill Birds
PostPosted: Fri Mar 14, 2014 10:18 pm 
Offline
PureBasic Team
PureBasic Team
User avatar

Joined: Fri Apr 25, 2003 6:14 pm
Posts: 1841
Location: Germany (Saxony, Deutscheinsiedel)
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)


Top
 Profile  
Reply with quote  
 Post subject: Re: Kill Birds
PostPosted: Fri Mar 14, 2014 10:29 pm 
Offline
Always Here
Always Here
User avatar

Joined: Thu Jun 24, 2004 2:44 pm
Posts: 5755
Location: Berlin - Germany
Works fine on linux x64 :D

_________________
PureBasic 5.71 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 19.3 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image


Top
 Profile  
Reply with quote  
 Post subject: Re: Kill Birds
PostPosted: Fri Mar 14, 2014 11:11 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Sep 21, 2011 9:11 am
Posts: 608
Location: France
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 10 - PB 5.62 & PB 5.70 LTS

Sorry for my bad english and the Dunning–Kruger effect.


Top
 Profile  
Reply with quote  
 Post subject: Re: Kill Birds
PostPosted: Fri Mar 14, 2014 11:25 pm 
Offline
Always Here
Always Here
User avatar

Joined: Thu Jun 24, 2004 2:44 pm
Posts: 5755
Location: Berlin - Germany
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.71 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 19.3 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image


Top
 Profile  
Reply with quote  
 Post subject: Re: Kill Birds
PostPosted: Sat Mar 15, 2014 12:46 pm 
Offline
Addict
Addict
User avatar

Joined: Tue Mar 21, 2006 12:31 am
Posts: 1773
Location: Canada
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


Top
 Profile  
Reply with quote  
 Post subject: Re: Kill Birds
PostPosted: Sat Mar 15, 2014 3:30 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Fri Jun 11, 2004 7:07 am
Posts: 635
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...


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ]  Go to page 1, 2  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye