Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Cowmaster232

Pages: [1]
1
TI Z80 / Re: Half Life 2
« on: March 17, 2010, 12:55:54 am »
Hello.  As you can probably tell from the name, I am writing a version of Half Life 2 for the calculator.  I will write more information here in a minute, as well as an early screenie.  If you have feature requests or comments, please put em in here.

Will there be headcrabs? :)

2
Miscellaneous / Re: How did you find Omnimaga?
« on: March 13, 2010, 11:58:22 am »
I found Omnimaga while on the tibasicdev website's forum a while back. I finally got around to making an account recently :)

3
TI-BASIC / Re: Lots of Questions (I'm a newb ^_^)
« on: March 13, 2010, 01:12:01 am »
As stated before, lists are your best bet.

All you'd need to set it up is something like this:
{LEVEL,CURRENT_HP,MAX_HP,CURRENT_MP,MAX_MP,MONEY→LCHAR
e.g.
{1,100,100,75,75,0→LCHAR
(Note: LCHAR can be replaced with any other name, like LSTATS or just LA)

From that point on, you can refer to a stat like this:
Say, if you need to get their level...
LCHAR(1) will get it. From there, say they leveled up just do LCHAR(1)+1→LCHAR(1)
LCHAR(4) will get the current MP and you can see the pattern.

If you want to save, you'll need a separate list for that or if there's only one save, then you can just leave the list as is.
Lists are on the calc regardless of whether you're in a program or not so if you only have one save, then a new char will overwrite the original list, and continuing would just use the list as is.
With multiple saves you'd do something like this:
LCHAR→LSAVE1 (for the first slot)
LCHAR→LSAVE2 (for the second, etc.)

Loading is the opposite,
LSAVE1→LCHAR
etc.

Throughout the program, all you'll need to refer to is LCHAR for stats and such though and only mess with the save files to save or load.

Thanks, now I understand lists a whole lot better!

What if two programs have a list with the same name?

4
TI-BASIC / Re: Lots of Questions (I'm a newb ^_^)
« on: March 12, 2010, 11:59:14 pm »
Yes, all the stats (ie health, mp, money, strength, etc) are variables, and as meishe said, Lists are a good option for that, but if you don't plan on making too big of an RPG, you can just use the built in A-Z variables, but then you wouldn't be able to easily save your stats (as in have a save feature available for your RPG). That's why you should look into using custom named lists, which are highly unlikely to get written over.

Ok thx. How does saving data work? Is it archived?

5
TI-BASIC / Re: Lots of Questions (I'm a newb ^_^)
« on: March 12, 2010, 11:32:25 pm »
Sure. :)

The 1s,2s,and 0s are references to the different tiles in the map.  The For loop(s) then display either a single character, or a group of 6 characters in the string example.  Basically the For loops let the sub( put the characters on the screen. :)

I'd recommend learning about the sub( command.  It's very important when dealing with strings, which happens quite frequently. :)
http://tibasicdev.wikidot.com/sub

Edit: Here's a more in depth explanation with the matrix:
:[[1,2,1,2,1,2][2,0,0,0,0,1][1,0,0,0,0,2][2,1,2,1,2,1->[A]          //Store the tile data into [A]
:ClrHome           //Clear the homescreen
:For(A,1,4            //This will loop 4 times, making A = 1, 2, 3, and 4 as it adds one to A each time
:For(B,1,6            //This loops 6 times and changes B
:Output(A,B,sub("=87",1+[A](A,B),1                   //This displays a = if the corresponding spot in the matrix is zero, a 8 if the spot is one, and a 7 if the spot is two.  It places it at a spot relying on the values of A and B. :)
:End           //Ending the For(B loop
:End            //End of the For(A loop

Does this help? ;D

Edit x2: Meishe, ninjas are quite frequent when 5 people are viewing a topic. O0

Yes that helped ;D

I have another question that has nothing to do with maps.
How do you set up stats like health, MP, money, ect. (properly)??   Are they just variables?

6
TI-BASIC / Re: Lots of Questions (I'm a newb ^_^)
« on: March 12, 2010, 10:46:27 pm »

Matrix:
:[[1,2,1,2,1,2][2,0,0,0,0,1][1,0,0,0,0,2][2,1,2,1,2,1->[A]
:ClrHome
:For(A,1,4
:For(B,1,6
:Output(A,B,sub("=87",1+[A](A,B),1
:End
:End

List:
:{1,2,1,2,1,2,2,0,0,0,0,1,1,0,0,0,0,2,2,1,2,1,2,1->L1
:ClrHome
:For(A,1,4
:For(B,1,6
:Output(A,B,sub("=87",1+L1(6A-6+B),1
:End
:End

String:
:"8787877====88====778787->Str1
:ClrHome
:For(A,1,4
:Output(A,B,sub(Str1,6A-5,6
:End

Once these are all ran you will see
878787
7====8
8====7
787878


Can you explain the 1's 2's and 0's?
And what purpose do the For commands serve in this situation?

7
TI-BASIC / Re: Lots of Questions (I'm a newb ^_^)
« on: March 12, 2010, 10:35:59 pm »
Thanks guys! DJ Omnimanga, I think I read about your Illusiat games on another forum :) . I'm thinking about making a small rpg like Illusiat 1.

8
Anime and Manga / Re: Bleach
« on: March 12, 2010, 09:59:26 pm »
I think Bleach has been on a hiatus (the dubbed episodes) in america for a few months... The last new episode I saw was when Grimmjow died. Great episode! ;D

9
Anime and Manga / Re: Recommended Animes/Manga
« on: March 12, 2010, 09:56:04 pm »
I have seen and recommend:
Dragonball and Dragonball Z
Naruto
Bleach
Code Geass
Death Note

I have read and recommend:
Naruto
Bleach
Dragonball Z
Full Metal Alchemist (Manga is better than anime imo)
Inuyasha (Didn't like it that much but I recommend it for chicks)

10
Introduce Yourself! / Howdy
« on: March 12, 2010, 09:49:19 pm »
I'm new and looking for guidance on my quest to master the Ti-BASIC language (and possibly others) !  ;D

11
Anime and Manga / Re: Bleach
« on: March 12, 2010, 09:45:21 pm »
Hello DJ Omnimaga

12
TI-BASIC / Lots of Questions (I'm a newb ^_^)
« on: March 12, 2010, 09:42:26 pm »
I have been programming small little programs to help me solve equations in math class (on my TI-83 plus) for a few weeks now after I was introduced to the TI-BASIC language. I've been reading the tibasicdev website to learn more about the language and I have made short simple text based games using a lot of goto's and lbl's. I want to start making an RPG, but I have been a little reluctant because I have a few questions that tibasicdev doesn't seem to answer for me  ??? .

1. How the heck do you create a map? And how do you put it in the code? Can someone post a link to a good, in depth tutorial?

2. What do matrices have to do with maps?

3. How should the code for an RPG be organized?

4. Do programs take up memory if they are not running?

5. How do you create a List and what are they usually used for?

6. What are strings usually used for?

Thank you for your help  ;D

13
Anime and Manga / Re: Bleach
« on: March 12, 2010, 08:42:28 pm »
I watch Bleach... It's awesome...

Pages: [1]