Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Image not being drawn correctly

Author
Message
Madscientist
16
Years of Service
User Offline
Joined: 23rd Aug 2009
Location: Between a rock and a hard place
Posted: 13th May 2010 23:55 Edited at: 13th May 2010 23:55
Hi, I'm trying to draw some basic 2d images to the screen but for some reason this code doesn't work. Button 1 doesn't Show up and it crashes after you hit a key saying BLA BLA BLA HAS ENCOUNTERED A PROBLEM AND NEEDS TO CLOSE...
Any reason why?


If it hasn't exploded yet, I haven't touched it.
The Slayer
Forum Vice President
16
Years of Service
User Offline
Joined: 9th Nov 2009
Playing: (Hide and) Seek and Destroy on my guitar!
Posted: 14th May 2010 00:04
Hum, that's weird, Madscientist. It runs fine on my machine.
The code is not the cause. Must be some other problem that causes the error.

Slayer rules!!! Yeaaah, man!
=PRoF=
23
Years of Service
User Offline
Joined: 17th Mar 2003
Location: Milton Keynes, UK
Posted: 14th May 2010 00:09 Edited at: 14th May 2010 00:11
It runs fine for me also, running under Win 7.



Madscientist
16
Years of Service
User Offline
Joined: 23rd Aug 2009
Location: Between a rock and a hard place
Posted: 14th May 2010 00:35 Edited at: 14th May 2010 00:36
It doesn't work on my computer though.


If it hasn't exploded yet, I haven't touched it.
Madscientist
16
Years of Service
User Offline
Joined: 23rd Aug 2009
Location: Between a rock and a hard place
Posted: 14th May 2010 04:29 Edited at: 14th May 2010 04:32
Well since it's my computer, can someone test this for me?


If it hasn't exploded yet, I haven't touched it.
BMacZero
20
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 14th May 2010 06:07
That code works fine for me.

Post an EXE? Then we can tell if it's a computer problem or a compiler problem.

Madscientist
16
Years of Service
User Offline
Joined: 23rd Aug 2009
Location: Between a rock and a hard place
Posted: 14th May 2010 21:39
Okay here it is.

If it hasn't exploded yet, I haven't touched it.
chafari
Valued Member
20
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 14th May 2010 21:58
your exe goes perfect !!

cheers

I'm not a grumpy grandpa
Madscientist
16
Years of Service
User Offline
Joined: 23rd Aug 2009
Location: Between a rock and a hard place
Posted: 14th May 2010 22:34
GRRR My COMPUTER IS BROKEN
Ohh well at least I succeded in making a 3d object have an interactive 2d display. That's what matters the most!

If it hasn't exploded yet, I haven't touched it.
Sepnon
16
Years of Service
User Offline
Joined: 7th Feb 2010
Location: Brazil
Posted: 15th May 2010 05:39 Edited at: 15th May 2010 05:42
haha yeah..
try updating your GC drivers, DX, bla bla bla..

btw, the button's click is not accurate, if i click on the corners it does nothing
Madscientist
16
Years of Service
User Offline
Joined: 23rd Aug 2009
Location: Between a rock and a hard place
Posted: 17th May 2010 01:27
I know it's not that accurate but I was just testing the concept.

If it hasn't exploded yet, I haven't touched it.

Login to post a reply

Server time is: 2026-07-25 11:47:50
Your offset time is: 2026-07-25 11:47:50