Jump to content



Photo
- - - - -

Pxlon Problem


  • Please log in to reply
2 replies to this topic

#1 Johnathan Dunker

Johnathan Dunker

    Newbie

  • Members
  • Pip
  • 2 posts

  • Calculators:
    Casio fx-260solar
    Casio fx-115 ES
    Casio fx-9860GII

Posted 16 April 2011 - 09:11 PM

Hello, I want to make a game on the graph screen where you can control the characters on my fx-9860GII but, to do that I need a variable linked to the Getkey function and varible controling the location of the pixels.

My problem is that if I have varibles, once the code gets to the PxlOn command the variables get reassigned.

I've looked in the manual but, it doesn't say if it's supposed to do that or not.

I typed the following code as an experiment:

1->A
2->B
3->X
4->Y
A(Disp)
B(Disp)
C(Disp)
D(Disp)
PxlOn 1,3
A(Disp)
B(Disp)
C(Disp)
D(Disp)


"(Disp)" being the Black Triangle Display command that takes place of the carriage return


I got this:

1
2
3
4
1
2
0
-6.1


I also tried changing the PxlOn values
PxlOn 9,12

1
2
3
4
1
2
0
-6.1


Is x and y supposed to do this or not. If not can someone tell me how to troubleshoot.

If so can some tell me how to get around it and still use PxlOn and the varibles x and y.

Thank-you,

Johnathan Dunker

#2 louloux

louloux

    Casio Fan

  • Members
  • PipPip
  • 32 posts
  • Gender:Male

  • Calculators:
    Graph 85 SD
    Graph 35+
    fx-92

Posted 06 July 2011 - 08:42 AM

OMG ! Don't you know that you can't use the graphic screen and the text screen at the same time ?

#3 flyingfisch

flyingfisch

    Casio Maniac

  • Deputy
  • PipPipPipPipPipPipPipPip
  • 1891 posts
  • Gender:Male
  • Location:OH,USA
  • Interests:Aviation, Skiing, Programming, Mountain Biking.

  • Calculators:
    fx-9860GII
    fx-CG10 PRIZM

Posted 10 July 2011 - 04:13 PM

OMG ! Don't you know that you can't use the graphic screen and the text screen at the same time ?


louloux is right. and i think graphing mode stores vars to x and y.


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users