Announcement

Collapse
No announcement yet.

conect 2 or more visi surfaces

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16


    A 'state' of TOUCH_PRESSED just means the screen was pressed, it occurs regardless of whether images are enabled or disabled, it is just 'TOUCH_PRESSED' nothing more.

    As I said below you need to use img_Touched to figure out if something was touched that you are looking for, it is img_Touched that takes into account images and their enable/disabled state.
    Mark

    Comment


    • #17


      alright thx

      Comment


      • #18


        ok i resolved my disable problem with a simple gfx_Cls command at the beginning of every function!
        but now if there are more than 20 pushes ,it is ERROR 15?

        Comment


        • #19


          If you use a goto to exit a function the stack space that is allocated at the start of the function will not be released and eventually you will get an error 15.



          Of course, I'm just guessing that that is what you are going.
          Mark

          Comment


          • #20


            how can i release that stack?

            Comment


            • #21


              If you call a function, you should return from it and everything will be ok.



              If you need to change the execution of your code based on something the function did/does, then return a result. OR if you are lazy and want to create confusing code, set a global variable.
              Mark

              Comment

              Working...
              X