Pure Racer Demo

Advanced game related topics
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

Post by GPI »

Paul wrote:So, everyone repeat after me...
New cards good.... old cards crap. :)
I have the same result with a old card...
Tomcat
User
User
Posts: 15
Joined: Sat Apr 26, 2003 6:59 am
Location: Germany

Post by Tomcat »

GPI wrote:AND the Speedometer is transparent! So it works, but not with the Trees.
Yes, the background of the speed-meter is black, but I used another blendingmode, so the edge of the speed-meter looks smooth. This has nothing to do with transparent color.

Well, here are the new textures (~300 kb) with a pure black background for the trees. Maybe this helps you, but now I got myself problems with the trees, because the transparent color is definitly pink. In case it won't work, lets think about something to replace the trees. Any ideas? :)

Bye
Johan_Haegg
User
User
Posts: 60
Joined: Wed Apr 30, 2003 2:25 pm
Location: Västerås
Contact:

Post by Johan_Haegg »

works fine on a AMD 2400+ with GeForce 2 MX200 32MB
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

Post by GPI »

Tomcat wrote:Well, here are the new textures (~300 kb) with a pure black background for the trees. Maybe this helps you,
No it doesn't. Maybe, when the TransparentSpriteColor()-Command is removed...

When you have a function code, which i can test, contact me.

It is a little bit funny, that the half has transparent background, the other half of the textures not...
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

Post by GPI »

The Problem is TransparentSpriteColor() ! It seems, that this function is buggy.

I have chance to get the code of the XMas-Game viewtopic.php?t=8701 , where the same problem is: Some are transparent, other not.

I remove all transparentSpriteColor() and set the background to true black (RGB(0,0,0)) and where a black color is needed, i change it to RGB(1,1,1). And now it works!

@All:
Please don't use TransparentSpriteColor() or it will don't run on all systems perfekt. When you need a black in your Programm, use RGB(1,1,1). I don't bleave, that somebody can see the diffrent.
dontmailme
Enthusiast
Enthusiast
Posts: 537
Joined: Wed Oct 29, 2003 10:35 am

Post by dontmailme »

@GPI I don't understand !?

What is transparent then ? If you don't use the colour command ?
Paid up PB User !
Proteus
Enthusiast
Enthusiast
Posts: 113
Joined: Wed Sep 17, 2003 8:04 pm
Location: The Netherlands

Post by Proteus »

Standard transparent color is RGB(0, 0, 0).
P4 2.4GHz, 256 MB, WinXP Pro, onboard video&audio.
The Programmer's Drinking Song:
"99 little bugs in the code,
99 little bugs.
Fix one bug, recompile
100 little bugs in the code."
merendo
Enthusiast
Enthusiast
Posts: 449
Joined: Sat Apr 26, 2003 7:24 pm
Location: Germany
Contact:

Post by merendo »

Just downloaded this example. Crashes :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry:
It says can't open fullscreen and in windowed it crashes after a few secs.

What could be wrong?

Mainboard: Shuttle AK32E
CPU: AMD Duron 1300
RAM: 256MB SDRAM
GFX: ATI Radeon 9200SE
SND: Creative SB 16 PCI
OS: Win98SE
dontmailme
Enthusiast
Enthusiast
Posts: 537
Joined: Wed Oct 29, 2003 10:35 am

Post by dontmailme »

I think I was confused and though this might solve my problem with non-transparent 3dsprites....... but it probably wont :(
Paid up PB User !
DriakTravo
Enthusiast
Enthusiast
Posts: 346
Joined: Fri Oct 10, 2003 12:42 am
Location: Tampa,FL,USA
Contact:

Post by DriakTravo »

Hi here is what I am using:

P4 2.4
512 Mb Ram
ATI RADEON 9800 Pro

I get the pink background on all purebasic programs that have a screen debth of 16. 32 is just fine and I think we can all agree my video card is NOT old.

By the way I love pressing Z and X in the game ;)
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

Post by GPI »

DriakTravo wrote:By the way I love pressing Z and X in the game ;)
Here is a little problem: German keylayout has swap y and z. So make a config-dialog or ask for the scan-codes for the key.
LarsG
Enthusiast
Enthusiast
Posts: 713
Joined: Mon Jun 02, 2003 1:06 pm
Location: Norway
Contact:

Post by LarsG »

GPI wrote:
DriakTravo wrote:By the way I love pressing Z and X in the game ;)
Here is a little problem: German keylayout has swap y and z. So make a config-dialog or ask for the scan-codes for the key.
Here's another solution: change from german to a normal keyboard layout!! :lol:

AMD Athlon XP2400, 512 MB RAM, Hercules 3D Prophet 9600 256MB RAM, WinXP
PIII 800MHz, 320 MB RAM, Nvidia Riva Tnt 2 Mach 64 (32MB), WinXP + Linux
17" iMac, 1.8 GHz G5, 512 MB DDR-RAM, 80 GB HD, 64 MB Geforce FX 5200, SuperDrive, OSX
Tomcat
User
User
Posts: 15
Joined: Sat Apr 26, 2003 6:59 am
Location: Germany

Post by Tomcat »

LarsG wrote:
GPI wrote:
DriakTravo wrote:By the way I love pressing Z and X in the game ;)
Here is a little problem: German keylayout has swap y and z. So make a config-dialog or ask for the scan-codes for the key.
Here's another solution: change from german to a normal keyboard layout!! :lol:
Only the scan-codes are saved, so the keyboard layout doesn't matter (even if displayed wrong in the configurations).

I think DriakTravo is just playing with the camera, because you can adjust its height with 'x' and 'z'. This version was not meant to be released, so this 'feature' is still active :)
DriakTravo
Enthusiast
Enthusiast
Posts: 346
Joined: Fri Oct 10, 2003 12:42 am
Location: Tampa,FL,USA
Contact:

Post by DriakTravo »

Are there any other 'features' that we can play with?
DriakTravo
Enthusiast
Enthusiast
Posts: 346
Joined: Fri Oct 10, 2003 12:42 am
Location: Tampa,FL,USA
Contact:

Post by DriakTravo »

ROFL!!! Ok right after the first tunnel, turn your car all the way around and you will find an odd suprise up in the mountain!
Post Reply