A demo of PureBasic's GFX possiblities

Developed or developing a new product in PureBasic? Tell the world about it.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by webmatze.

You are right!

Sprite3D.pb crashes. So it could be a bug in PureBasic.

Registered Purebasic User.
Using Windows XP on an AMD System...
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by tinman.
You are right!

Sprite3D.pb crashes. So it could be a bug in PureBasic.
I get the same problems - the MIDI works for a while then the demo kills my system. Sprite3d.pb example runs for a short time than crashes horribly.


--
It's not minimalist - I'm increasing efficiency by reducing input effort.
(Win98first ed. + SP1, PB3.10)
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Rings.
You are right!

Sprite3D.pb crashes. So it could be a bug in PureBasic.

Registered Purebasic User.
Using Windows XP on an AMD System...
It could be a bug in PureBasic or a crappy Video-Driver almost.I Think we should ask fred what to do.
I have the same problem with the Sprite3D Stuff while installing a new fresh OS.
After i reinstalled a newer graphics-driver (NVidea GeoForce2) all worked well.
So i think its not a problem of PureBasic, its a Bug in the videodriver.perhaps.

Its a long way to the top if you wanna .....CodeGuru
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Rings.

You can found the Source and the needed pictures and sound's
at Paul' site (Maybe):
http://www.reelmediaproductions.com/pb/

or at:
http://www.srings.com/Itcanbesource.zip

Feel free to learn something..........

Its a long way to the top if you wanna .....CodeGuru

Edited by - Rings on 18 May 2002 18:19:14
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by fweil.

...,

As I told some time ago it works fine on my W2K ... except when something activates itself in background (not always but often) which start a DrWatson.

Does it mean that W2K can crash running such a program on a server ! Maybe ...

The easiest way to get a DrWatson is to launch the app and to switch back to another task ie using ALT-Tab.

Should other testers make some tests to understand the issue. But it seems not to be really a PB only issue more something difficult to manage from the OS.

...

Francois Weil
14, rue Douer
F64100 Bayonne
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Rings.
...,

As I told some time ago it works fine on my W2K ... except when something activates itself in background (not always but often) which start a DrWatson.

Does it mean that W2K can crash running such a program on a server ! Maybe ...

The easiest way to get a DrWatson is to launch the app and to switch back to another task ie using ALT-Tab.

Should other testers make some tests to understand the issue. But it seems not to be really a PB only issue more something difficult to manage from the OS.

...

Francois Weil
14, rue Douer
F64100 Bayonne
yes i know what you want to say.This is a unknown bug we found while this small demo is released.we should talk to fred to find a so
lution for this.

Its a long way to the top if you wanna .....CodeGuru
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Danilo.

Its not a bug, its a coding question.

You have check that the Screen is active
and draw only when the screen is active.
If Screen is not active, dont draw anything.

Code: Select all

InitSprite()
InitKeyboard()


OpenScreen(800,600,32,"TEST")


Repeat
  FlipBuffers()
   If IsScreenActive()
         ClearScreen(0,0,0)
         StartDrawing(ScreenOutput())
          For a = 0 To 1000
           FrontColor(Random(255),Random(255),Random(255))
           Line(Random(800),Random(600),Random(800),Random(600))
          Next a
         StopDrawing()
         ExamineKeyboard()
   Else
         sleep_(200)
   EndIf
sleep_(1)
Until KeyboardPushed(#PB_KEY_ESCAPE)
This works fine here, on Win2k SP2.

cya,
...Danilo

(registered PureBasic user)
Post Reply