Author Topic: Axe Q&A  (Read 532255 times)

0 Members and 2 Guests are viewing this topic.

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: Axe Q&A
« Reply #720 on: October 09, 2011, 10:40:07 am »
Yes, I believe they both work, but don't they produce the same sized code (or did Quigibo change this back)?

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Axe Q&A
« Reply #721 on: October 09, 2011, 10:46:53 am »
I tested and checked filesize. I only changed the display commands, nothing in the string.
I'm not a nerd but I pretend:

Offline squidgetx

  • Food.
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
Re: Axe Q&A
« Reply #722 on: October 09, 2011, 12:31:27 pm »
If the coordinates are constant you can save a lot of space. If the coordinates are separatley evaluated expressions then it doesn't matter.

(I think)
« Last Edit: October 09, 2011, 12:31:36 pm by squidgetx »

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Axe Q&A
« Reply #723 on: October 09, 2011, 12:47:17 pm »
It's only more optimized to use Text(Y*256+X) if the two coordinates are constant.
« Last Edit: October 09, 2011, 12:51:04 pm by Runer112 »

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: Axe Q&A
« Reply #724 on: October 09, 2011, 01:04:23 pm »
If the coordinates are constant you can save a lot of space. If the coordinates are separatley evaluated expressions then it doesn't matter.

(I think)
Ah, I didn't realize this.  Thanks!
Why isn't this auto-optimized in Axe though?

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Axe Q&A
« Reply #725 on: October 09, 2011, 01:06:08 pm »
Because Axe is sorely lacking in constant argument optimizations. :P

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: Axe Q&A
« Reply #726 on: October 11, 2011, 02:48:51 pm »
Which would be faster/more optimized to check for?
If rand^2
or
!If rand^2
Or would they be the same?
Vy'o'us pleorsdti thl'e gjaemue

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Axe Q&A
« Reply #727 on: October 11, 2011, 03:03:19 pm »
Is there a way to store/export program out of appvar?
Sig wipe!

Offline Freyaday

  • The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1970
  • Rating: +128/-15
  • I put on my robe and pixel hat...
    • View Profile
Re: Axe Q&A
« Reply #728 on: October 11, 2011, 03:05:18 pm »
Is there a way to store/export program out of appvar?
Like how?
Like
Copy(GetCalc("prgmWHATEVER")->S,GetCalc("appvWHATEVER",),S)
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


I'm a performer at heart; I stole it last week.
My Artwork!

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Axe Q&A
« Reply #729 on: October 11, 2011, 03:06:19 pm »
Like making a minigame out of axe, store it to appvar, and take it out from another axe program whenever I need it.
Sig wipe!

Offline Freyaday

  • The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1970
  • Rating: +128/-15
  • I put on my robe and pixel hat...
    • View Profile
Re: Axe Q&A
« Reply #730 on: October 11, 2011, 03:10:17 pm »
O.O SMC O.O
Uh, you can use that line to create the appvar, but put a ->VAR after GetCalc("appvWHATEVER"), and then use some Asm( magic to call the program as if it were a subroutine using the value in VAR as the address
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


I'm a performer at heart; I stole it last week.
My Artwork!

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Axe Q&A
« Reply #731 on: October 11, 2011, 03:12:25 pm »
SMC?
Sig wipe!

Offline Freyaday

  • The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1970
  • Rating: +128/-15
  • I put on my robe and pixel hat...
    • View Profile
Re: Axe Q&A
« Reply #732 on: October 11, 2011, 03:14:18 pm »
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


I'm a performer at heart; I stole it last week.
My Artwork!

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Axe Q&A
« Reply #733 on: October 11, 2011, 03:20:12 pm »
oh.
how does self modifying code works?
Sig wipe!

Offline Freyaday

  • The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1970
  • Rating: +128/-15
  • I put on my robe and pixel hat...
    • View Profile
Re: Axe Q&A
« Reply #734 on: October 11, 2011, 03:20:55 pm »
oh.
how does self modifying code works?
It's code that modifies itself. Yours is kinda doing that.
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


I'm a performer at heart; I stole it last week.
My Artwork!