Author Topic: Frayed Strings  (Read 2203 times)

0 Members and 1 Guest are viewing this topic.

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
Frayed Strings
« on: March 28, 2011, 05:18:50 pm »
I can't get this to work, and I have no idea why.

[30 31 32 33 34 35 36 37 38 39 41 42 43 44 45 46]->GDB1
...stuff...
GetCalc("Str1",16)->A
For(N,0,1
For(P,0,15
0->B
For(Q,0,3
If pxl-test(P*4+Q^8+87,P*4+Q/8+46+(N*9
e^(3-Q)+B->B
End
{GDB1+B}->{A+P}
End
End
GetCalc("Str2",16)->A
End

Str1 is fine, Str2 isn't.
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 Compynerd255

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +53/-4
  • Betafreak Games
    • View Profile
    • Betafreak Games
Re: Frayed Strings
« Reply #1 on: March 28, 2011, 05:31:25 pm »
It's because there is nothing in Str2. After you store the pointer to Str2 in A, you do nothing to it.
Also, what is the data in GDB1? Is it supposed to be in Hex, or Decimal?
The Slime: On Hold, preparing to add dynamic tiles

Axe Eitrix: DONE

Betafreak Games: Fun filled games for XBox and PC. Check it out at http://www.betafreak.com



SirCmpwn

  • Guest
Re: Frayed Strings
« Reply #2 on: March 28, 2011, 05:52:45 pm »
This looks like a sprite to hex program of some sort, am I right?

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: Frayed Strings
« Reply #3 on: March 28, 2011, 06:32:58 pm »
It is. I feel kinda silly, but I actually managed to get it working on my own: Axe doesn't seem to like using the same var for multiple GetCalc(s. Oh, and the data in Gdb1 are the bytes for the 0-F
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!