• Axe Q&A 5 5
Currently:  

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

0 Members and 2 Guests are viewing this topic.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Axe Q&A
« Reply #30 on: February 13, 2011, 12:58:42 pm »
How large is your program?  Any Homescreen program that is over 8100 bytes will give an error, it sounds to me like you are very close to this value?

As for text, try putting a Fix 5 at the very start of your program
Builderboy, I think you were ninja'd by 9 hours XD

How could that happen? XD

I have yet another question. To use Axioms we need to know Assembly, right?

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8206
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Axe Q&A
« Reply #31 on: February 13, 2011, 01:00:05 pm »
How large is your program?  Any Homescreen program that is over 8100 bytes will give an error, it sounds to me like you are very close to this value?

As for text, try putting a Fix 5 at the very start of your program
Builderboy, I think you were ninja'd by 9 hours XD

How could that happen? XD

I have yet another question. To use Axioms we need to know Assembly, right?

Nah, Axioms are just like the functions built into Axe. To make Axioms you need ASM, though.

EDIT: It's like a define in Python ;)
« Last Edit: February 13, 2011, 01:00:47 pm by Deep Thought »




Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Axe Q&A
« Reply #32 on: February 13, 2011, 01:03:51 pm »
"Nah, Axioms are just like the functions built into Axe. To make Axioms you need ASM, though.

EDIT: It's like a define in Python"

If only I knew what a define is... Is it like #define in Assembly?

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8206
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Axe Q&A
« Reply #33 on: February 13, 2011, 01:05:26 pm »
Er, just def (for a function). Sorry, I keep getting these languages mixed up :P

Serves me right for learning three languages in two days.
« Last Edit: February 13, 2011, 01:06:15 pm by Deep Thought »




Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Axe Q&A
« Reply #34 on: February 13, 2011, 01:07:03 pm »
Er, just def (for a function). Sorry, I keep getting these languages mixed up :P

Serves me right for learning three languages in two days.

OOOOH Like a function written in Assembly code.

So it's like a subroutine but that can be written in Assembly, pure epic!

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8206
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Axe Q&A
« Reply #35 on: February 13, 2011, 01:08:05 pm »
Er, just def (for a function). Sorry, I keep getting these languages mixed up :P

Serves me right for learning three languages in two days.

OOOOH Like a function written in Assembly code.

So it's like a subroutine but that can be written in Assembly, pure epic!

Yeah, that's basically it :)

Axe extensions = Axioms.




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 #36 on: February 14, 2011, 09:43:34 pm »
What do EndIf and End!If do?
And, while I'm at it, What do ElseIf and Else!If do?
Vy'o'us pleorsdti thl'e gjaemue

Offline squidgetx

  • Food.
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
Re: Axe Q&A
« Reply #37 on: February 15, 2011, 07:22:17 am »
Code: [Select]
If A
stuff
Else
!If B
stuff
End
End
is the same as
Code: [Select]
If A
stuff
Else!If B
stuff
End

EndIf does what it sounds like...it Ends the loop If condition is true. Like ReturnIf, but for loops instead of subroutines.

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3913
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Axe Q&A
« Reply #38 on: February 15, 2011, 07:50:36 am »
I have a question: how to create a up/down or left/right moving platform in a tilemapper? i dont know how to do this...
Thanks in advance!
I'm not a nerd but I pretend:

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8206
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Axe Q&A
« Reply #39 on: February 15, 2011, 09:13:28 am »
Code: [Select]
If A
stuff
Else
!If B
stuff
End
End
is the same as
Code: [Select]
If A
stuff
Else!If B
stuff
End

EndIf does what it sounds like...it Ends the loop If condition is true. Like ReturnIf, but for loops instead of subroutines.


The point is kinda like for Repeat loops in BASIC -- you go through the loop at least once, then check at the bottom. (If you haven't noticed, Repeat in Axe is pretty much the same as While ).

I have a question: how to create a up/down or left/right moving platform in a tilemapper? i dont know how to do this...
Thanks in advance!

The easiest way would be to treat as a bullet, stored separately in an array. I'm writing a tutorial on that stuff right now ;D
« Last Edit: February 15, 2011, 09:14:25 am by Deep Thought »




Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3913
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Axe Q&A
« Reply #40 on: February 15, 2011, 02:44:35 pm »
bump
anyone knowing the answer on m question?
« Last Edit: February 15, 2011, 02:45:09 pm by aeTIos »
I'm not a nerd but I pretend:

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 #41 on: February 15, 2011, 02:46:49 pm »
Look at the previous post. ;)
« Last Edit: February 15, 2011, 02:49:30 pm by Darl181 »
Vy'o'us pleorsdti thl'e gjaemue

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3913
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Axe Q&A
« Reply #42 on: February 15, 2011, 02:47:49 pm »
oops, i didnt see that :$ excuse me
And DT: nice! im looking forward to that tutorial! is it gonaa be on your site or here?
« Last Edit: February 15, 2011, 02:49:06 pm by aeTIos »
I'm not a nerd but I pretend:

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8206
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Axe Q&A
« Reply #43 on: February 15, 2011, 03:48:55 pm »
Probably both :) One in BB form for all the forums, one in HTML form for the Whetting Stone.




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 #44 on: February 15, 2011, 05:01:01 pm »
Okay, I'm having like endless problems trying to figure out smoothscrolling...
http://ourl.ca/8025/174452
What am I doing wrong ???
Vy'o'us pleorsdti thl'e gjaemue