Author Topic: OT Basic  (Read 73866 times)

0 Members and 2 Guests are viewing this topic.

Offline matthias1992

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 408
  • Rating: +33/-5
    • View Profile
Re: OT Basic
« Reply #15 on: August 08, 2010, 05:04:40 pm »
Really very much sorry for the double post but if I just modify my previous post it will be easily overglanced so temporarily I'll say it here (/me hopes there are no ill-mooded moderators around)

Add vectors as a data structure! Like so:

Vector2
Vector3
Vector4

just like in C#/XNA. Sir will most likely know what I am talking about, its very usefull.
MASM xxxxxxxxxx aborted | SADce ====:::::: 40% -Halted until further notice| XAOS =====::::: 50% -Units done| SKYBOX2D engine ========== 100% -Pre-alpha done. Need to  document it and extend |

~Those who dream by day are cognizant of much more than those who dream by night only. -Sir Edgar Allen Poe-

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: OT Basic
« Reply #16 on: August 08, 2010, 06:18:57 pm »
* DJ Omnimaga omnomnoms matthias1992 who loses the game in the process. :P

Personally for languages, I think there should be one that is easy and oriented for math, and it would be up to someone to write one that is easy but game-oriented. Axe Parser would be a nice language IMHO. Just look how popular it is right now. This is what BASIC game programmers wanted for the past 10 years or so. However, more alternatives would be nice, and obviously, assembly support. ASM is less hard to learn for some people, but for others it is, like me. I tried 3 times, personally. I also never got the grasp of C

Offline nemo

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1203
  • Rating: +95/-11
    • View Profile
Re: OT Basic
« Reply #17 on: August 09, 2010, 12:24:48 am »
DJ, i would love to see an integrated game-designing language for a calculator, but i feel like SAT/ACT testing people would look at that feature and immediately be turned away. that's why i'd rather have this a math-oriented language. of course getkey and output will be supported.

i'm currently editing in all the suggestions (i didn't have easy things such as multiplication, addition, subtraction etc. in because i was on a phone). right now i'm not going to put what each operator/function will look like, just the name. i remember someone suggested using = as the assignment operator and == as the equality. i'm just going to write down assignment and operator, as the actual symbol will depend upon the hardware. thank you all for the suggestions, keep them coming!


Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: OT Basic
« Reply #18 on: August 09, 2010, 12:33:05 am »
Yeah I know. The main language should be math-oriented and advertised as powerful language to program your everyday applications. In addition to that, there should be a secure teacher mode disallowing the execution of any other language program or even some math programs.

For games, it should be a separate language that is compiled. It wouldn't even be included on the calc by default. Maybe just on the CD or something, or available via download online here or ticalc.org.

Offline TC01

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 344
  • Rating: +9/-0
    • View Profile
Re: OT Basic
« Reply #19 on: August 09, 2010, 12:39:39 am »
I'm guessing "OTAxe" (given the naming trend of things around here...) would probably just be as the current Axe is- a downloaded compiler for the calculator. However, I agree that "OT Basic" would have to be math-oriented and there definitely would have to be a Press-To-Test mode.



The userbars in my sig are links embedded links.

And in addition to calculator (and Python!) stuff, I mod Civilization 4 (frequently with Python).

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: OT Basic
« Reply #20 on: August 10, 2010, 05:45:40 pm »
Maybe do ti-Basic's "DelVar"  but have it so you can remove more than one at a time.

Ti-basic. 

delvar A
delvar g
devar x
delvar z

Ot-basic.

delvar a,g,x,z
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

_player1537

  • Guest
Re: OT Basic
« Reply #21 on: August 10, 2010, 05:53:27 pm »
*better, have it do Delvar agxz :D

Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: OT Basic
« Reply #22 on: August 10, 2010, 06:05:52 pm »
but what if the variable is multi-letter?
btw, happybobjr, I think you can already do that

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

_player1537

  • Guest
Re: OT Basic
« Reply #23 on: August 10, 2010, 06:08:25 pm »
Ooops, was thinking like in ti-basic where the variables are A-Z and theta.

Offline Mighty Moose

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 141
  • Rating: +4/-0
    • View Profile
Re: OT Basic
« Reply #24 on: August 10, 2010, 06:18:47 pm »
What about 3-D graphics?  I heard someone mention that a while ago in another thread.
Extruded polygons?
You could do something like Solid( or 3D( - not quite sure how you could implement other things, maybe like:
Solid(Array of points (x1,y1,x2...), length of extrusion)
Cheers!
I beta test, so...yeah.  PM me if you want me to test anything :D.

Almost only counts in horseshoes and handgrenades.

Cogito ergo sum.

Calcs:
TI-84+, OS 2.43, Boot Code 1.02, 128k RAM
TI-84+SE VSC, OS 2.43, Boot Code 1.00, 128k RAM  (I'm spoiled :P)
TI-81, OS 1.6K (only borrowed)
Casio fx-CG10 (Prizm), OS 01.04.0200
TI-Nspire Clickpad, OS 1.4
TI-Nspire Clickpad, OS 3.1.0.392
TI-Nspire CAS Clickpad, OS 1.6.10110 (!?) now OS 3.1.0.392

Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: OT Basic
« Reply #25 on: August 10, 2010, 06:32:35 pm »
Maybe a function to convert 3d coordinates to a 2d projection, and another one to fill polygons.

Offline nemo

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1203
  • Rating: +95/-11
    • View Profile
Re: OT Basic
« Reply #26 on: August 10, 2010, 08:53:24 pm »
3-D graphics are now noted, though i'm not too sure due to the obvious capabilities of 3-D games.

as for delvar, someone earlier suggested a command called "Undeclare" which would pretty much do the same thing. added it in for reference though.

good suggestions guys! keep them coming. i'm sure computer programmers have other things they wish they could do on a calculator.



Offline tloz128

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 324
  • Rating: +58/-6
  • I feel asleep.
    • View Profile
Re: OT Basic
« Reply #27 on: August 10, 2010, 08:58:32 pm »
I know that we don't want the language to seem game-oriented, but I think that there should be a way to draw sprites on the screen (though it obviously wouldn't be called that). Maybe a recallpic sort of thing with images of a custom size?
Naaa... Na Nah Na Nana Na Nah... Hey Jude!

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: OT Basic
« Reply #28 on: August 10, 2010, 09:51:59 pm »
I know that we don't want the language to seem game-oriented, but I think that there should be a way to draw sprites on the screen (though it obviously wouldn't be called that). Maybe a recallpic sort of thing with images of a custom size?
I'd have to agree. This is definitely something I would like to see included.

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: OT Basic
« Reply #29 on: August 10, 2010, 11:01:21 pm »
3D may be a tad unrealistic, how about a built-in raycaster?

i always liked the variable management of the 86. It was very C-like. You could have a variable up to 8 letters long, and you wouldn't need to call it, for example "prgmVAR", you could just use it as VAR instead. That way, if you needed to switch the variable type you were using, it would be less work.

EDIT: @DJ

What about having a programming language, (game oriented) and a function creator? The function creator would be very similar to the nspire's language, simple to use and very similar to the home screen. The game creator would be much more complicated, function-wise.
« Last Edit: August 10, 2010, 11:42:40 pm by willrandship »