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 Discussion / noobish sprites qusetion

Author
Message
That1Smart Guy
16
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Somewhere...... yep
Posted: 25th May 2009 17:23
ok, I have a matrix working perfectly, until I introduce sprites to the screen, then everything on the screen except the sprites disappears

how do I solve this, If you need the code I can provide but its so short Ive pretty much told you everything that's been done

There are only 10 kinds of people in the world, those who understand binary and those who dont
TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 25th May 2009 18:12
Post the exact code please

TheComet


Make the path of your enemies easier with Waypoint Pro!
t10dimensional
16
Years of Service
User Offline
Joined: 22nd Mar 2009
Location: Code Cave, USA
Posted: 25th May 2009 21:11
off subject but Comet did you finish your "kirby" game?

If at first you don't succeed-Pause-Go to last checkpoint
TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 25th May 2009 22:04
Sorry for hijacking your thread, That1Smart Guy...

Which kirby game would that be? Do you mean TombStone?

TheComet


Make the path of your enemies easier with Waypoint Pro!
That1Smart Guy
16
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Somewhere...... yep
Posted: 26th May 2009 01:49
np, this thread should be asnwered quickly so no big deal if u hijack it

heres the code and image


There are only 10 kinds of people in the world, those who understand binary and those who dont

Attachments

Login to view attachments
Caleb1994
16
Years of Service
User Offline
Joined: 10th Oct 2008
Location: The Internet you idiot!
Posted: 26th May 2009 06:15
I changed it to using a db made image and all see is the 2 sprites on the left side, a red box covering most of the screen and, the blue backdrop behind it. i don't know where the red box is coming from.


Wait if you take out "Fill Matrix" then the red box becomes a dark blue box, i think somehow it might be a matrix tile... hmmm havn't done 3d in a while.

New Site! Check it out \/
thenerd
16
Years of Service
User Offline
Joined: 9th Mar 2009
Location: Boston, USA
Posted: 27th May 2009 01:38 Edited at: 27th May 2009 01:40
I get this:
(taking screenie)

WTF! the sprites are there and everything works, but in the screenshot the sprites disappear!

(edit) nevermind, here is the screenie...

Now is better than never.
Although never is often better than *right* now.

Attachments

Login to view attachments
Libervurto
18
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 27th May 2009 01:47
Is this for Dark Noobs? If so a 3D matrix isn't the best thing to use.

There is an eight letter word. You can insert a letter into it or remove a letter from it without changing its meaning. Answer
That1Smart Guy
16
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Somewhere...... yep
Posted: 27th May 2009 05:07
what happens for me is when you press shift they show up and kind of flicker, sorta like text does wen u use:

do
print "text"
cls
loop

without sync on + sync

is that happening for you?

There are only 10 kinds of people in the world, those who understand binary and those who dont
Latch
18
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 28th May 2009 11:21
@That1Smart Guy
I believe hide all sprite and show all sprites are 2 very glitchy commands. It's best to avoid them.

Better to use a loop and hide/show the sprites or hide/show individual sprites as you need to.

@thenerd
Sprites aren't captured in screen shots. You'd have to paste them to the screen before taking the screen shot for them to appear.

Enjoy your day.
That1Smart Guy
16
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Somewhere...... yep
Posted: 28th May 2009 22:23
right on the sprites dont show in screen shots part

and I didnt know those commands were glitchy, I just saw them as an easy way to hide or show all, ill try changing that and see what happens

There are only 10 kinds of people in the world, those who understand binary and those who dont

Login to post a reply

Server time is: 2025-05-15 13:10:59
Your offset time is: 2025-05-15 13:10:59