0 Members and 1 Guest are viewing this topic.
:if (pxl-test(X,Y+8) or pxl-test(X+5,Y+8)=0)
:!If pxl-test(X,Y+8) or pxl-test(X+5,Y+8)
Quick note about optimizing in Axe:Instead of writing this line like this,Quote from: saintrunner on November 20, 2011, 04:08:22 pm:if (pxl-test(X,Y+8) or pxl-test(X+5,Y+8)=0)it is more optimized to write it like this:Code: [Select]:!If pxl-test(X,Y+8) or pxl-test(X+5,Y+8)Basically the !If just checks if it's equal to zero.Nice job on the rudimentary tutorial.
!If pxl-test(X,Y+8) and (pxl-test(X+5,Y+8)
!If pxl-test(X,Y+8)?pxl-test(X+5,Y+8)
Quote from: ztrumpet on November 20, 2011, 05:04:33 pmQuick note about optimizing in Axe:Instead of writing this line like this,Quote from: saintrunner on November 20, 2011, 04:08:22 pm:if (pxl-test(X,Y+8) or pxl-test(X+5,Y+8)=0)it is more optimized to write it like this:Code: [Select]:!If pxl-test(X,Y+8) or pxl-test(X+5,Y+8)Basically the !If just checks if it's equal to zero.Nice job on the rudimentary tutorial. Isn't it Code: [Select]!If pxl-test(X,Y+8) and (pxl-test(X+5,Y+8) ? or Code: [Select]!If pxl-test(X,Y+8)?pxl-test(X+5,Y+8)