Click here to edit contents of this page.
Click here to toggle editing of individual sections of the page (if possible). Watch headings for an "edit" link when available.
Append content without editing the whole page source.
Check out how this page has evolved in the past.
If you want to discuss contents of this page - this is the easiest way to do it.
View and manage file attachments for this page.
A few useful tools to manage this Site.
See pages that link to and include this page.
Change the name (also URL address, possibly the category) of the page.
View wiki source for this page without editing.
View/set parent page (used for creating breadcrumbs and structured layout).
Notify administrators if there is objectionable content in this page.
Something does not work as expected? Find out what you can do.
General Wikidot.com documentation and help section.
Wikidot.com Terms of Service - what you can, what you should not etc.
Wikidot.com Privacy Policy.
What the community thinks:
I won't be able to do anything on this website during the summer because of my garden. Soon I will add the game "Cheese Quest",where someone killed all the cows in the world except his 2, so he can rich from the world's only cheese supply, and you need to stop him.
This isn't just like frogger. You are seeing how many times you can go back and forth across the screen. When you die, it displays your score.
I am new to TiBasic(only about 2 or 3 weeks), so if you think that I did something completely wrong, please don't judge me, and comment below to help me make this a better program. Thank you.
First off, I recommend looking at cleaning up your program. I would at least clear L1 and L2. Also, look at piecewise expressions to eliminate a lot of those conditionals [If..Then].
Now for speed. There are a lot of places where a [Then…End] is not needed in your [If] statements. If there is only one thing you want done, you don't need a [Then…End]. For example:
There is also a cool bit of code that makes movement in maps much faster. I HIGHLY recommend actually understanding it before applying it.
Twitter: @zachatoo
It isn't L1 and L2, it's ⌊1 and ⌊2, which represent lists. ⌊1 holds the X coordinates for the vehicles, and ⌊2 holds the Y coordinates.
Of course he does know that you meant ⌊1 and ⌊2, but L1 and L1 is just faster to write.
However, this does not change anything on the fact, that there are many easy code improvements left.
And regarding clearing the lists at the end: I have to defend you there. I also never add the clear lines at the end of my code, when I post it, since I think everyone should personally add or remove these lines. If I add them, they only make the code longer, but some users just still let them out
Wake me, when you need me.
Yes, I suppose it is a matter of preference. I always clear everything up, because it is faster to press clear to remove it than to add it in, plus I like maximum RAM. TI-84CSE is just a tad bit slow, so I keep as much RAM as possible.
But it does add lines of code, so it really depends on what you prefer.
Twitter: @zachatoo
About half a year ago, I also always added the Clear all Variables lines.
But after some time, I realized that it isnt really worth it.
All the real or even complex variables do not take that much RAM: It is always enough RAM left.
However, when my program uses matrices or huge lists or huge strings, I also add these clear lines, because then it is worth it. But this is the only exception, I dont see the sense of deleting a 18 Byte numeric variable, when you have 2-3k total physical memory available (factor 200)
Wake me, when you need me.
More movement optimization. Piecewise expressions simplify the moment code to:
Like Zachatoo said, piecewise expressions can remove large bulky blocks of code, and (as long as the calculations don't take too long in each piece) can speed up your program while decreasing size.
Can someone please add me to the member page?
I don't know how.
To create a download for your games, use Cemetech's source coder 3.
From there, you can type in your code, then export it. (default file format is .8xp)
If your wanting to create a download without typing your code in, you need to get a cord that goes from your calculator to your computer. You can try TI Connectivity Kit from education TI com. There are some pretty neat tutorials and websites out there for this kind of stuff, but unfortunately I am currently restricted from posting website links on here… According to TI Basic Developer, "Guests and low-karma users are not allowed to publish links on this site."
What should I do???
It is keep saying invalid dim error every time I try to start this game
When the error pops up, where does "2:Goto" take you to? You might be typing something wrong. Remember, a little L signifies a list (found in [2ND] [STAT] [OPS]), and thats what was used here. However, if you wrote the wrong type of L, it wouldn't give you an error anyways…
I'm having the same error. I looked into it and it seems the error is coming from the command If L1(W)>16 near the start of the code. It's causing an error because it's trying to recall the 13th value from L1, which doesn't exsist. Not a genius at TI basic, so I though if maybe before it I add the following:
If W>=13
Then
1–>W
End
Tried to run it. Didn't get any errors, but it simply ran forever, didn't display anything. Just the yellow processing circle at the top right. Probably should mention I'm using a 84 Plus CE. Since I'm not a TI genius I don't know where to go from here.
i did this and now its saying there is a break at randInt(2,7)->L2(w). how should i fix this?
Did it say ERR:BREAK? If so, you must have pressed [ON] while the calculator was running that code. The argument and syntax is correct
Hewwo, my name is Achak Claw. I was formerly BioHazard.
Is It Possible to Make The "not" and "[", "]" On My TI-73 Explorer because I can find it on my TI-73 and I think there is no Test Menu on it.
Welcome to TI-Basic Developer! You may want to introduce yourself.
"0=" is the same thing as "not(" and I think the "[" is actually a "⌊" for a list. You can use L₁, L₂, L₃, etc.