CEMETECH
Leading The Way To The Future
Login [Register]
Username:
Password:
Autologin:

Don't have an account? Register now to chat, post, use our tools, and much more.
Latest Headlines
Online Users
There are 129 users online: 8 members, 86 guests and 35 bots.
Members: Bladed, CalebHansberry, charlessprinkle, HOMER-16, JamesV, Piguy-3.14, ruler501.
Bots: VoilaBot (2), Spinn3r (1), Magpie Crawler (3), VoilaBot (10), Googlebot (19).
RSS & Social Media
SAX
You must log in to view the SAX chat widget
    » Goto page 1, 2, 3  Next
» View previous topic :: View next topic  
Author Message
krazylegodrummer56


Power User


Joined: 20 Nov 2011
Posts: 405

Posted: 16 Jan 2012 11:39:40 pm    Post subject: Need help with a Ti-Basic program I am writing

How would you make it so you can move a dot on the graph screen for a menu item select by pressing the down arrow?
_________________
Projects: Learn how to program in Prizm C
First C program!
Tic-Tac-Toe: Get it HERE!




Back to top
KermMartian


Site Admin


Joined: 14 Mar 2005
Posts: 55881
Location: Earth, Sol, Milky Way

Posted: 16 Jan 2012 11:40:49 pm    Post subject: Re: Need help with a Ti-Basic program I am writing

krazylegodrummer56 wrote:
How would you make it so you can move a dot on the graph screen for a menu item select by pressing the down arrow?
You'd use a combination of Pxl-Off/On/Change or Pt-Off/On/Change or Text with getKey.
_________________


Back to top
krazylegodrummer56


Power User


Joined: 20 Nov 2011
Posts: 405

Posted: 16 Jan 2012 11:42:53 pm    Post subject:

would it be in a loop and have if statements
_________________
Projects: Learn how to program in Prizm C
First C program!
Tic-Tac-Toe: Get it HERE!




Back to top
KermMartian


Site Admin


Joined: 14 Mar 2005
Posts: 55881
Location: Earth, Sol, Milky Way

Posted: 16 Jan 2012 11:44:07 pm    Post subject:

krazylegodrummer56 wrote:
would it be in a loop and have if statements
It would indeed. Perhaps it would be better for you to step back and figure out the "flow" of this sort of program, then dive into the programming after that?
_________________


Back to top
krazylegodrummer56


Power User


Joined: 20 Nov 2011
Posts: 405

Posted: 16 Jan 2012 11:45:20 pm    Post subject:

Quote:
Perhaps it would be better for you to step back and figure out the "flow" of this sort of program, then dive into the programming after that?

What do you mean by flow?[/quote]
_________________
Projects: Learn how to program in Prizm C
First C program!
Tic-Tac-Toe: Get it HERE!




Back to top
CharlieMAC


Advanced Newbie


Joined: 02 Jan 2012
Posts: 58

Posted: 16 Jan 2012 11:46:38 pm    Post subject:

I don't know much TI-BASIC for models before TI-89, but anyway I ask you: Are you using a popup menu?
Back to top
krazylegodrummer56


Power User


Joined: 20 Nov 2011
Posts: 405

Posted: 16 Jan 2012 11:47:45 pm    Post subject:

no it's for the main menu for a program i'm making.
_________________
Projects: Learn how to program in Prizm C
First C program!
Tic-Tac-Toe: Get it HERE!




Back to top
Aes_Sedia5


Minor Calculator Deity


Joined: 01 Sep 2011
Posts: 1002
Location: Where Nightmares end and Dreams begin

Posted: 16 Jan 2012 11:56:47 pm    Post subject:

I will give you a spoiler. Don't click the link if you want to figure this out on your own.

Spoiler

That also applies to moving just about any sprite. just modify it a bit.
_________________




Back to top
KermMartian


Site Admin


Joined: 14 Mar 2005
Posts: 55881
Location: Earth, Sol, Milky Way

Posted: 16 Jan 2012 11:57:12 pm    Post subject:

Charlie wrote:
I don't know much TI-BASIC for models before TI-89, but anyway I ask you: Are you using a popup menu?
krazylegodrummer56 wrote:
no it's for the main menu for a program i'm making.
Natively, the TI-83+ series doesn't have that sort of a menu, but you actually could use a Doors CS GUIMenu from your BASIC program:

http://dcs.cemetech.net/index.php?title=BasicLibs:GUIMenu


_________________


Back to top
CharlieMAC


Advanced Newbie


Joined: 02 Jan 2012
Posts: 58

Posted: 17 Jan 2012 07:36:42 am    Post subject:

KermMartian wrote:
Charlie wrote:
I don't know much TI-BASIC for models before TI-89, but anyway I ask you: Are you using a popup menu?
krazylegodrummer56 wrote:
no it's for the main menu for a program i'm making.
Natively, the TI-83+ series doesn't have that sort of a menu, but you actually could use a Doors CS GUIMenu from your BASIC program:

http://dcs.cemetech.net/index.php?title=BasicLibs:GUIMenu



I want to take advantage of your post to ask how do you produce those animated gif's?
Back to top
Xeda112358


Power User


Joined: 09 Nov 2010
Posts: 358

Posted: 17 Jan 2012 08:17:41 am    Post subject:

Generally, an emulator is used. I prefer WabbitEmu, some have preferences for other emulators. Depending on the emulator, you might need to use CalcCapture to get a screenshot (WabbitEmu has the ability built in).
Back to top
CharlieMAC


Advanced Newbie


Joined: 02 Jan 2012
Posts: 58

Posted: 17 Jan 2012 09:18:03 am    Post subject:

What about TIEMU?
Back to top
krazylegodrummer56


Power User


Joined: 20 Nov 2011
Posts: 405

Posted: 17 Jan 2012 10:14:56 am    Post subject:

Aes_Sedia5 wrote:
I will give you a spoiler. Don't click the link if you want to figure this out on your own.

Spoiler

That also applies to moving just about any sprite. just modify it a bit.

I'm a little confused about the spoiler because it has getkey stored into k then it has k equal some number
_________________
Projects: Learn how to program in Prizm C
First C program!
Tic-Tac-Toe: Get it HERE!




Back to top
Aes_Sedia5


Minor Calculator Deity


Joined: 01 Sep 2011
Posts: 1002
Location: Where Nightmares end and Dreams begin

Posted: 17 Jan 2012 10:33:15 am    Post subject:

When K= a number it makes that bit (K=25) = 1 otherwise it is zero. for example.


Code:
M-(K=25)+(K=26)->M


Could be shown like this.

Code:
If K=25
M-1->M
If K=26
M+1->M


It is boolean algebra, and it helps a lot when working with more complex programs, I use it quite often. If you would like, I could teach you some ways of using it.
_________________




Back to top
tifreak8x


Guru


Joined: 16 Mar 2005
Posts: 9104
Location: Sol System

Posted: 17 Jan 2012 10:41:27 am    Post subject:

Do this

Quote:
While 1
getKey->K
If K:Pause K
End


Then you can see what every button's number equals to. The only button this doesn't work on is the ON button, it will quit the program.
_________________
Projects: AOD Series: 70% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

Look here for Assembly Resources.
Back to top
KermMartian


Site Admin


Joined: 14 Mar 2005
Posts: 55881
Location: Earth, Sol, Milky Way

Posted: 17 Jan 2012 11:46:17 am    Post subject:

CharlieMAC wrote:
What about TIEMU?
Yes, TIEmu offers built-in screenshotting abilities, as mentioned in the description here:

http://www.ticalc.org/archives/files/fileinfo/387/38770.html
_________________


Back to top
krazylegodrummer56


Power User


Joined: 20 Nov 2011
Posts: 405

Posted: 17 Jan 2012 03:27:12 pm    Post subject:

how do you post videos onto cemetech?
_________________
Projects: Learn how to program in Prizm C
First C program!
Tic-Tac-Toe: Get it HERE!




Back to top
souvik1997


Guru-in-Training


Joined: 19 Apr 2010
Posts: 2870

Posted: 17 Jan 2012 03:42:03 pm    Post subject:

krazylegodrummer56 wrote:
how do you post videos onto cemetech?

Use the [youtube] tag, or upload it to a file hosting site like Dropbox and post the link.
_________________
CALCnet Tournament-38%


deviantArt
Back to top
krazylegodrummer56


Power User


Joined: 20 Nov 2011
Posts: 405

Posted: 17 Jan 2012 04:34:06 pm    Post subject:

souvik1997 wrote:
Use the [youtube] tag, or upload it to a file hosting site like Dropbox and post the link.

how do you do the dropbox thing because getting it is easy
_________________
Projects: Learn how to program in Prizm C
First C program!
Tic-Tac-Toe: Get it HERE!




Back to top
Aes_Sedia5


Minor Calculator Deity


Joined: 01 Sep 2011
Posts: 1002
Location: Where Nightmares end and Dreams begin

Posted: 17 Jan 2012 04:37:32 pm    Post subject:

Ok in drop box, save the video into the public folder, Using Real Player or some other youtube downloader. Then wait a bit probably about 5 minutes, and right click the video, and copy public link. Then Just put that link you [youtube] tags and you are done.
_________________




Back to top
Display posts from previous:   
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
    » Goto page 1, 2, 3  Next
» View previous topic :: View next topic  
Page 1 of 3 » All times are GMT - 5 Hours

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© Copyright 2000-2013 Cemetech & Kerm Martian :: Page Execution Time: 0.044410 seconds.