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 130 users online: 7 members, 96 guests and 27 bots.
Members: Ashbad, DHerls, flyingfisch, geekboy1011, Spyro543, Tari.
Bots: Spinn3r (1), MSN/Bing (2), Magpie Crawler (4), VoilaBot (1), Googlebot (18), MSN/Bing (1).
RSS & Social Media
SAX
You must log in to view the SAX chat widget
    » Goto page Previous  1, 2, 3  Next
» View previous topic :: View next topic  
Author Message
Deep Thought


Expert


Joined: 11 Mar 2010
Posts: 739
Location: The Universe

Posted: 30 Jun 2010 07:13:08 am    Post subject:

This is BRILLIANT! (Sorry, just saw this topic, but I really like the idea of using DCS's GUI features in BASIC programs.)
_________________
Back to top
Xeno_Cre8or


Power User


Joined: 29 Sep 2009
Posts: 343
Location: Earth. Maybe...

Posted: 30 Jun 2010 10:44:24 am    Post subject:

would there be a way to make a series of three to six options, centered alignment, cursor starts on the topmost one, and pressing down auto-takes you to the second one? (pause menu: When in a course: "Continue / Return to Map / Quit" When in World Map: "Continue / Choose World (exists after you have more than one world) / Save (exists after you beat W8-FinalCastle) / Inventory / Quit")

Or a similar arrangement: Two options, side-by-side at the bottom of the window, pressing right takes you to the rightmost one? (this one's used a lot: confirming saves, confirming quitting, confirming leaving the course)
_________________





calcs: 84+ 2.42 DCS6.2 and Emu84+SE 2.53MP with DCS7.0
Back to top
KermMartian


Site Admin


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

Posted: 30 Jun 2010 11:16:04 am    Post subject:

Deep Thought wrote:
This is BRILLIANT! (Sorry, just saw this topic, but I really like the idea of using DCS's GUI features in BASIC programs.)
Thanks! This is a few days from being completed; I am one routine to generate token values from "ASCII" (not really) strings from being completely done with sum(0) through sum(12) other than testing, so I hope everyone will get a chance to enjoy playing with it soon.

Xeno_Cre8or wrote:
would there be a way to make a series of three to six options, centered alignment, cursor starts on the topmost one, and pressing down auto-takes you to the second one? (pause menu: When in a course: "Continue / Return to Map / Quit" When in World Map: "Continue / Choose World (exists after you have more than one world) / Save (exists after you beat W8-FinalCastle) / Inventory / Quit")

Or a similar arrangement: Two options, side-by-side at the bottom of the window, pressing right takes you to the rightmost one? (this one's used a lot: confirming saves, confirming quitting, confirming leaving the course)
It sounds like you're talking about the sum(13) idea, Menus that you navigate with the arrow keys rather than via the mouse cursor. I also like the confirmation menu idea.
_________________


Back to top
KermMartian


Site Admin


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

Posted: 30 Jun 2010 06:35:33 pm    Post subject:

sum(12) is working! You can initialize the mouse, interact with things like checkboxes and text input boxes and all those fun things, then get a string back with information about form elements, and a list with the final coordinates of the mouse, the type of click used, and which hotspot triggered the GUIMouse to terminate.


_________________


Back to top
swivelgames


Transient Squash


Joined: 27 Sep 2005
Posts: 2345
Location: On the planet called Earth

Posted: 01 Jul 2010 01:22:05 pm    Post subject:

Looks like it's coming along great there, Kerm. I'm excited Smile

Keep up the good work Very Happy
Back to top
KermMartian


Site Admin


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

Posted: 01 Jul 2010 01:23:13 pm    Post subject:

swivelgames wrote:
Looks like it's coming along great there, Kerm. I'm excited Smile

Keep up the good work Very Happy
Thanks, Swivel! I'm going to write a small demo application, then publish this tomorrow, hopefully. Anyone who wants to play around with it and try out a demo of their own is welcome to contact me. Smile
_________________


Back to top
Silver Shadow


Advanced Member


Joined: 02 May 2008
Posts: 298
Location: France

Posted: 02 Jul 2010 09:29:26 am    Post subject:

How about a quadratic solver as the 2nd demo? Razz
_________________
Back to top
KermMartian


Site Admin


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

Posted: 02 Jul 2010 11:56:56 am    Post subject:

Silver Shadow wrote:
How about a quadratic solver as the 2<sup>nd</sup> demo? Razz
Haha, good call, that'll be the third demo then, as I'm making a little racing game as the second demo. Smile Good call, though.
_________________


Back to top
olav_nordmann


Member


Joined: 27 Apr 2007
Posts: 121

Posted: 02 Jul 2010 12:12:53 pm    Post subject:

I just got a splendid idea. What if I added some GUI support to the most recent Design-3D version (and support for 255-frame animation Cool )? However, then it also would be usefull with a "line(" command that's way faster than the TI-OS one.

Anyways, I will not have the time to do it this summer, and problably not in the next year (cause of school), so I can't promise anything.
_________________


Back to top
KermMartian


Site Admin


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

Posted: 02 Jul 2010 12:15:09 pm    Post subject:

olav_nordmann wrote:
I just got a splendid idea. What if I added some GUI support to the most recent Design-3D version (and support for 255-frame animation Cool )? However, then it also would be usefull with a "line(" command that's way faster than the TI-OS one.

Anyways, I will not have the time to do it this summer, and problably not in the next year (cause of school), so I can't promise anything.
That would be great, I love it! If you don't get a chance, I may even try to do something along those lines myself. Smile [Edit: No pun intended]
_________________


Back to top
olav_nordmann


Member


Joined: 27 Apr 2007
Posts: 121

Posted: 02 Jul 2010 12:32:57 pm    Post subject:

KermMartian wrote:
olav_nordmann wrote:
I just got a splendid idea. What if I added some GUI support to the most recent Design-3D version (and support for 255-frame animation Cool )? However, then it also would be usefull with a "line(" command that's way faster than the TI-OS one.

Anyways, I will not have the time to do it this summer, and problably not in the next year (cause of school), so I can't promise anything.
That would be great, I love it! If you don't get a chance, I may even try to do something along those lines myself. Smile [Edit: No pun intended]

It's OK for me. I even think I actually stated here before that I considered D3D "done" on my part.

However, if you actually try to do something with it, I suggest it's a good idea to try to document the variables (perhaps I should do that). Every module has more or less it's own usage of the variables, but quite a few of them are not reset everytime a module is loaded (mainly to make navigating in the visual editor easier for the user). Almost every single variable is being used at some points.

So to sum that up; some variables are used temporarely to reduce the filesize (like if a constant appears a lot, it's usually just stored in a variable, and the variable is used instead of the number), some variables are "global" (like the coordinates in the editor, IIRC), and some are used locally in modules. I kind of lost controll over them at one point, and that caused me a whole lot of debugging headace.
_________________


Back to top
swivelgames


Transient Squash


Joined: 27 Sep 2005
Posts: 2345
Location: On the planet called Earth

Posted: 03 Jul 2010 02:20:34 am    Post subject:

Kerm, you definitely need to find a place in there to add a new line( function O_O

One that's faster then the TI-OS one and that deals with pixels, not coordinates. Possible? Very Happy

e.g. sum(#,15,14,45,34 Very Happy
Back to top
comicIDIOT


Guru


Joined: 01 May 2006
Posts: 5107
Location: SFBA, California

Posted: 03 Jul 2010 02:23:57 am    Post subject:

swivelgames wrote:
Kerm, you definitely need to find a place in there to add a new line( function O_O

One that's faster then the TI-OS one and that deals with pixels, not coordinates. Possible? Very Happy
I am too lazy to actually make my own post so instead I quote people and then don't say anything new

I hated having to reset the graph screen so I could draw my GUI's
_________________


-Alex
Back to top
KermMartian


Site Admin


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

Posted: 03 Jul 2010 05:31:29 am    Post subject:

swivelgames wrote:
Kerm, you definitely need to find a place in there to add a new line( function O_O

One that's faster then the TI-OS one and that deals with pixels, not coordinates. Possible? Very Happy

e.g. sum(#,15,14,45,34 Very Happy
Real(12 is what you're looking for. Smile That's what I use to draw the obstacles in the DCSBL racing game. Check out the Third-Party BASIC Libs page, particularly when I flesh it out with details.
_________________


Back to top
KermMartian


Site Admin


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

Posted: 09 Jul 2010 01:12:38 pm    Post subject:

Sum(13) is more or less complete, pending a few bugs! I'm quite concerned though, because I'm down to 868 bytes free on Page 2. Sad Check it out!


_________________


Back to top
Xeno_Cre8or


Power User


Joined: 29 Sep 2009
Posts: 343
Location: Earth. Maybe...

Posted: 09 Jul 2010 01:16:29 pm    Post subject:

You decide to wait until right after I get a beta on my calc to implement the one feature I know I'm using? Wooooooooow
_________________





calcs: 84+ 2.42 DCS6.2 and Emu84+SE 2.53MP with DCS7.0
Back to top
KermMartian


Site Admin


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

Posted: 09 Jul 2010 01:20:31 pm    Post subject:

Xeno_Cre8or wrote:
You decide to wait until right after I get a beta on my calc to implement the one feature I know I'm using? Wooooooooow
Well, it's not like I released it; I still need to do a tad more debugging. Smile Does that about cover what you guys had in mind when you suggested the feature?
_________________


Back to top
merthsoft


File Archiver


Joined: 09 May 2010
Posts: 2735

Posted: 09 Jul 2010 01:21:26 pm    Post subject:

KermMartian wrote:
Does that about cover what you guys had in mind when you suggested the feature?

That's consistent with my expectations.
_________________
Shaun
Back to top
KermMartian


Site Admin


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

Posted: 09 Jul 2010 01:54:18 pm    Post subject:

merthsoft wrote:
KermMartian wrote:
Does that about cover what you guys had in mind when you suggested the feature?

That's consistent with my expectations.
I can't tell whether that's an insult or a complement. Very Happy

Edit: Aight, so I tracked down the source of the bug I was seeing: looks like when the last token in a string is more than one character long, the length calculation is incorrect. "prgm" turns into "prx", for example. This doesn't happen on the 6th=last line, for some unknown reason.

Edit #2: This suggests to me that it's the next copy or PushGUIStack that overwrites - perhaps insufficient space reserved at PushGUIStack?
_________________


Back to top
KermMartian


Site Admin


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

Posted: 09 Jul 2010 03:57:46 pm    Post subject:

*bump* Huzzah! Screenie and code of fully-functional sum(13)!



BASIC Code wrote:
:sum(13,0,8,8,"TEST","F8888888F8","Item 1┼ITEM TWO┼tan(*tan(4┼log(²X+][┼²‾../┼Six itemth one┼HOW ABOUT NOW?prgm┼ln(End┼Scrolling!┼More and more┼EVEN MORE AsmPrgm┼","AAABACAD E EABACAD EAB
:Lbl AA:ClrHome
:Pause "1
:Return
:Lbl AB:ClrHome
:Pause "2
:Return
:Lbl AC:ClrHome
:Pause "3
:Return
:Lbl AD:ClrHome
:Pause "4
:Return
:Lbl E:ClrHome
:Pause "5
:Return
Generated by SourceCoder, © 2005-2010 Cemetech

_________________


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 Previous  1, 2, 3  Next
» View previous topic :: View next topic  
Page 2 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.044981 seconds.