Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using multiple sprites with SUB's
#11
Quote:hmm I have WinXP with QBasic v 4.5 I think, its encrypted or something when I open with notepad:

Code:
ü  ‚ Qÿÿ$ ´ ¾Ó ƒ >¿ ®   ‡      Â¦ñ   s  V ÷ ’ º Ä OÚ _ Î    t { h     ¬              Â»R H rightÉ @delayÅ¡  Victoria   Day¤  left²@scene1   z WHEN   color2   color1ß @firework S   C T   xY yä  COL) Wë  d3 joec BF   y2| delay1

heh that's just part of it

Go into QB, open the file, choose Save As... in the File menu, and save it in "Text" format. Right now, you have it saved as "QuickBASIC" format. In that menu, it explains what those are Wink
earn.
Reply
#12
Quote:Then I tried putting the entire array into the main program, and only left GET in the subs, so then it says "array not defined", of course.

Instead of DIM Array(50) use DIM SHARED Array(50). This will give all your subs access to it. (The problem was the array wasn't defined in that particular sub.)

Of course, it will be better when the whole DATA thing is straigtened out, but until then....
Reply
#13
it's possible to autoload everything, but it takes loads of time to code and mad skillz...

(no, I wasn't being helpful)
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."

Visit www.neobasic.net to see rubbish in all its finest.
Reply
#14
thanks a lot guys, sorry i didn't reply but had some stuff to take care of, will get to those suggestions in a bit.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)