Hey there! I made a small game for my casio fx-9750gii where i use "Locate" for getting text displayed on the screen. But that means, that i have to use if statements everytime i want to know, if something is colliding. I know, that there is something like "pxltest", but its only for graphing applications. So my question is: Is there something similar for checking the text content on the screen (on a certain location)?
Getting the text from the screen
#1
Posted 16 November 2017 - 07:50 PM
#2
Posted 16 November 2017 - 08:00 PM
No idea, but maybe something is useful here? Just translate it using google translate.
http://www.planet-ca.../programmation/
If I'm not wrong I don't know if there is another way to do it because I don't think there are any functions to replace the If statement. Would it be better if you instead drew the text and then used the if statements?
http://www.planet-ca.../graphismes.php
I'll reply if I find a better solution.
Edited by GodOfCows, 16 November 2017 - 09:56 PM.
#3
Posted 30 November 2017 - 08:16 PM
Hey there! I made a small game for my casio fx-9750gii where i use "Locate" for getting text displayed on the screen. But that means, that i have to use if statements everytime i want to know, if something is colliding. I know, that there is something like "pxltest", but its only for graphing applications. So my question is: Is there something similar for checking the text content on the screen (on a certain location)?
I had similar problem and I've just created a matrix (size 7,21) where i put values corresponding to what is displayed on screen. For instance if there is a black dot in coordinates 17,5 I do this: 1->Mat A[5,17], and when there is nothing 0->Mat A[5,17]. With this you don't need to take text from the screen, just look up the values in this matrix.
#4
Posted 03 December 2017 - 11:18 AM
Hi
Casio Basic unfortunately does not have such commands or feature. Some other algorithm should help whatever you want to do.
Good luck!
Edited by Krtyski, 03 December 2017 - 11:19 AM.
Also tagged with one or more of these keywords: fx-9750gii, game, locate, text
Programming →
General Help →
Looking for an old gameStarted by Ronneh , 26 Mar 2024 game |
|
|
||
Calculators →
Casio CFX/AFX/FX/Prizm →
Computer is not detecting my Casio fx-9750GII when I try to connect usStarted by theEskimo , 03 Jan 2020 fa-124, fx-9750GII, link and 1 more... |
|
|
||
General →
Your Projects →
Guess Number - Instructions & Tutorials threadStarted by CalcLoverHK , 28 Jun 2019 Game, Guess Number, fx-5800P and 4 more... |
|
|
||
General →
Your Projects →
Guess Number - Updates & Bug Reports threadStarted by CalcLoverHK , 25 Jun 2019 Game, Guess Number, fx-5800P and 4 more... |
|
|
||
General →
Your Projects →
CASIO Pong ~ Yet another Pong clone, but this time... it's on a caStarted by Raresh Nistor , 30 Sep 2018 fx-9860g-sdk, g1a, add-in, game |
|
|
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users