Omnimaga

Calculator Community => TI Calculators => Axe => Topic started by: Derf321 on April 19, 2012, 11:53:05 pm

Title: Line( not working for me? (SOLVED)
Post by: Derf321 on April 19, 2012, 11:53:05 pm
I have a program I made in Basic (birds eye nazi zombies), and I converted it over to Axe. I've gotten pretty much everything to work except Line('s and Pxl-On('s aren't displaying anything. I use this style:
Line(1,2,1,5)
Pxl-On(5,10)

Thats the same for Axe, right?

EDIT: In this post - http://ourl.ca/8409
I see "r" after line, like: Line(w,x,y,z)r
What does r stand for?


I feel dumb now, gonna go sulk in the corner and program  :P
Title: Re: Line( not working for me?
Post by: Jonius7 on April 19, 2012, 11:54:23 pm
I'm not 100% sure but I think you have to put Dispgraph somewhere in your program too.
Title: Re: Line( not working for me?
Post by: Derf321 on April 19, 2012, 11:58:51 pm
I'm not 100% sure but I think you have to put Dispgraph somewhere in your program too.

Yup, thanks haha.
Title: Re: Line( not working for me?
Post by: Jonius7 on April 19, 2012, 11:59:51 pm
I'm not 100% sure but I think you have to put Dispgraph somewhere in your program too.

Yup, thanks haha.

DT was rather quick on that too. Credits go to him too!
It's good to see your making some good progress on Axe (more than I ever have so far) :D
Title: Re: Line( not working for me?
Post by: cooliojazz on April 20, 2012, 12:03:57 am
Jonius7 is correct, the drawing commands draw to the buffer, you have to use DispGraph to copy the buffer to the screen when you actually want to show anything.  And Ęł for drawing commands causes them to draw on the back-buffer instead of the main one.
EDIT: Oops, damnit, stupid ninjas that arent actually that ninja and more me failing at life =P