Author Topic: quick platform pxl-testing tut  (Read 11029 times)

0 Members and 1 Guest are viewing this topic.

Offline saintrunner

  • Custom Spriter: You ask it! I'll Make it!
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1787
  • Rating: +115/-11
  • Flogging Molly
    • View Profile
    • Jonny K Music
Re: quick platform pxl-testing tut
« Reply #15 on: November 20, 2011, 04:50:03 pm »
sure! ill post the one I had above.

this is a game I made a while back, and it has a lot of extra stuff, but I put a .look at this, where you need to pay attention. and It is only pxltested at the left foot! any questions just pm me!
« Last Edit: November 20, 2011, 04:56:25 pm by saintrunner »
My Sprites Thread   :Updated often :) for your viewing pleasure

GAMES:

Offline hellninjas

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 625
  • Rating: +17/-0
    • View Profile
Re: quick platform pxl-testing tut
« Reply #16 on: November 20, 2011, 04:59:04 pm »
Thanks!

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: quick platform pxl-testing tut
« Reply #17 on: November 20, 2011, 05:04:33 pm »
Quick note about optimizing in Axe:
Instead of writing this line like this,
: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. :)

Offline saintrunner

  • Custom Spriter: You ask it! I'll Make it!
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1787
  • Rating: +115/-11
  • Flogging Molly
    • View Profile
    • Jonny K Music
Re: quick platform pxl-testing tut
« Reply #18 on: November 20, 2011, 05:29:59 pm »
thanks, I forgot about that!
My Sprites Thread   :Updated often :) for your viewing pleasure

GAMES:

Offline epic7

  • Chopin!
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2200
  • Rating: +135/-8
  • I like robots
    • View Profile
Re: quick platform pxl-testing tut
« Reply #19 on: November 20, 2011, 05:32:25 pm »
I didn't use that in mine because I didn't know how !If works in compound if statements

Offline saintrunner

  • Custom Spriter: You ask it! I'll Make it!
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1787
  • Rating: +115/-11
  • Flogging Molly
    • View Profile
    • Jonny K Music
Re: quick platform pxl-testing tut
« Reply #20 on: November 20, 2011, 05:51:29 pm »
I don't think you can use it in compounds :P
My Sprites Thread   :Updated often :) for your viewing pleasure

GAMES:

Offline hellninjas

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 625
  • Rating: +17/-0
    • View Profile
Re: quick platform pxl-testing tut
« Reply #21 on: November 20, 2011, 06:42:52 pm »
Thats a good idea...
!If and If tut!

Offline epic7

  • Chopin!
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2200
  • Rating: +135/-8
  • I like robots
    • View Profile
Re: quick platform pxl-testing tut
« Reply #22 on: November 20, 2011, 07:06:46 pm »
That would be more of an explaination rather than a tutorial :P

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: quick platform pxl-testing tut
« Reply #23 on: November 20, 2011, 07:09:33 pm »
Quick note about optimizing in Axe:
Instead of writing this line like this,
: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)EDIT:Nvm. I didn't see the code carefully.
« Last Edit: November 20, 2011, 07:15:41 pm by TBO_Yeong »
Sig wipe!

Offline hellninjas

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 625
  • Rating: +17/-0
    • View Profile
Re: quick platform pxl-testing tut
« Reply #24 on: November 20, 2011, 07:13:25 pm »
Quick note about optimizing in Axe:
Instead of writing this line like this,
: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)
Im sort of hoping its "or" becuase I just got done taking ALOT of notes...

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: quick platform pxl-testing tut
« Reply #25 on: November 20, 2011, 07:15:20 pm »
actually, I take my word back.
I didn't see the code carefully. :P
Sig wipe!

Offline hellninjas

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 625
  • Rating: +17/-0
    • View Profile
Re: quick platform pxl-testing tut
« Reply #26 on: November 20, 2011, 07:22:02 pm »
OK, FEW!!!
xD