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

0 Members and 1 Guest are viewing this topic.

Offline ferbplatypult

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 15
  • Rating: +0/-0
    • View Profile
Re: Axe Q&A
« Reply #1980 on: July 09, 2022, 10:05:41 pm »
So is the degree or the without degree that you can change or is it both or none? (very confusing wording I just did)

Offline Ki1o

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 119
  • Rating: +5/-2
  • Doing my best...
    • View Profile
Re: Axe Q&A
« Reply #1981 on: July 09, 2022, 10:11:48 pm »
You use the degree when you are first naming any constant. If you are going to use it as a variable elsewhere you no longer need the degree when using it. On the other hand, if you are using the named constant for its value, then you always need the degree.

Offline ferbplatypult

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 15
  • Rating: +0/-0
    • View Profile
Re: Axe Q&A
« Reply #1982 on: July 09, 2022, 10:30:35 pm »
So the degree is like edit mode that unlocks the space?

Offline Ki1o

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 119
  • Rating: +5/-2
  • Doing my best...
    • View Profile
Re: Axe Q&A
« Reply #1983 on: July 10, 2022, 12:56:01 am »
Its more like a little note to the compiler that tells it to replace that named constant with the value you assigned it.

Offline ferbplatypult

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 15
  • Rating: +0/-0
    • View Profile
Re: Axe Q&A
« Reply #1984 on: July 10, 2022, 01:19:52 am »
So if I’m assigning I’m using degree, thank you!

Offline ferbplatypult

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 15
  • Rating: +0/-0
    • View Profile
Re: Axe Q&A
« Reply #1985 on: July 21, 2022, 03:45:04 pm »
So for my game I need to invert pixels on a sprite based on a what pixels are on. I tried pointe change but It didn’t seem too work.

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Axe Q&A
« Reply #1986 on: July 21, 2022, 03:47:37 pm »
Could you give us some code to look at? Pt-Change( should definitely work