
-----------------------------------
Bains
Wed May 19, 2004 5:41 pm

How do you draw a picture on top of a backgr...
-----------------------------------
How do you draw a picture on to of the background without having to  use the "cls" command to ensure that the picture does not get smeared accross the screen?

Will i have to use the Sprite commands in OOT to do this?

Im trying to make a Mario game, with teh background being the level, and im trying to get Mario to run across the screen, but to do this i have to redraw the background, is there any other way to avoid this:?: 


Also

Why is it that turing 4.0.4 have the Sprite commands but they dont work:?: 


thx
Bains

-----------------------------------
Paul
Wed May 19, 2004 5:48 pm


-----------------------------------
You can draw a box that is the same color as the bg color to cover the pic everytime u move it to a new location. And sprites only work for 3.11 of turing, if u want to u can use dansprite, but its kinda buggy.
ok *cough*gurjit*cough*?

-----------------------------------
Bains
Wed May 19, 2004 5:53 pm


-----------------------------------
what is dansprite?

*cough*Paul*cough* lol

-----------------------------------
Paul
Wed May 19, 2004 5:55 pm


-----------------------------------
DanSprite is made by dan, once u include it, you can move ur pictures without cls or w/e, like using sprites.
http://www.compsci.ca/mx/index.php?page=58

-----------------------------------
Bains
Wed May 19, 2004 5:59 pm


-----------------------------------
so all i ahev to do is import it and just use the Dan Sprite commans?

-----------------------------------
Paul
Wed May 19, 2004 6:18 pm


-----------------------------------
yea, though it's glitchy when u have 2 sprites overlapping, so you COULD use an occasionaly cls to clear that problem up.

-----------------------------------
Bains
Wed May 19, 2004 6:19 pm


-----------------------------------
thx Paul this is gonna save me a lot of time

Bains

-----------------------------------
Dan
Wed May 19, 2004 6:23 pm


-----------------------------------
I am plaing on updating that some day, but with exames and stuff coming up. ... May be i will get some time this week end since it is a long one.

Realy all you got to know to make your own sprites system is that u need some how save your backgorund then redraw it when it is coved up.

-----------------------------------
Bains
Wed May 19, 2004 6:33 pm


-----------------------------------
thx for the tip Dan if i have any quetion on DanSprites i'l PM or e-mail u

Bains
