Computer Science Canada How do you draw a picture on top of a backgr... |
Author: | Bains [ Wed May 19, 2004 5:41 pm ] |
Post subject: | 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 |
Author: | Paul [ Wed May 19, 2004 5:48 pm ] |
Post subject: | |
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*? |
Author: | Bains [ Wed May 19, 2004 5:53 pm ] |
Post subject: | |
what is dansprite? *cough*Paul*cough* lol |
Author: | Paul [ Wed May 19, 2004 5:55 pm ] |
Post subject: | |
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 |
Author: | Bains [ Wed May 19, 2004 5:59 pm ] |
Post subject: | |
so all i ahev to do is import it and just use the Dan Sprite commans? |
Author: | Paul [ Wed May 19, 2004 6:18 pm ] |
Post subject: | |
yea, though it's glitchy when u have 2 sprites overlapping, so you COULD use an occasionaly cls to clear that problem up. |
Author: | Bains [ Wed May 19, 2004 6:19 pm ] |
Post subject: | |
thx Paul this is gonna save me a lot of time Bains |
Author: | Dan [ Wed May 19, 2004 6:23 pm ] |
Post subject: | |
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. |
Author: | Bains [ Wed May 19, 2004 6:33 pm ] |
Post subject: | |
thx for the tip Dan if i have any quetion on DanSprites i'l PM or e-mail u Bains |
: |