CodeWalrus

Development => Calculators => Calculator News, Coding, Help & Talk => Topic started by: xMarminq_ on November 11, 2016, 01:51:35 AM

Title: My Basic Program "Hello" Progress and Stuffs
Post by: xMarminq_ on November 11, 2016, 01:51:35 AM
I am working on a project that is a game of choice, like a choose your own adventure.

I'm new so let me know how I can edit things for less space or better features.

Not gonna release the files though...
Not yet...

Working on
-More plot
-Cutscenes (YUP)
-Character Development
-Color text (IDK how to do and can non-letters (#s,( and !) be colored?)
-Title
-Choice of name (only one is Egglet, don't judge me on that one. Teach me how to make the ability to have player choose name)

Things I foonished  :)
-First cutscenes
-First choice
-First dialouge
-First charcater
-Dialouge Speed
-Minigames?

Space it currently takes
About 3k

Wish me luck!
Title: Re: My Basic Program "Hello" Progress and Stuffs
Post by: c4ooo on November 11, 2016, 02:28:43 AM
Pics or it didn't happen ;)

As for names, you could do Input "Enter Name",Str1, and then later refer to the name as Str1. (For example, Disp "How are you,"+Str1)
Title: Re: My Basic Program "Hello" Progress and Stuffs
Post by: Dream of Omnimaga on November 11, 2016, 02:33:51 AM
For colored letters, you need to use the graphical screen, so you need the Text() command. Output() lacks colored text support, unless you use the CE Textlib library on ticalc.org (First Fantasy: Mana Force uses it, so you could look at the code).

What will be the character names and story overall?
Quote from: c4ooo on November 11, 2016, 02:28:43 AM
Pics or it didn't happen ;)

As for names, you could do Input "Enter Name",Str1, and then later refer to the name as Str1. (For example, Disp "How are you,"+Str1)
I usually put this in a Repeat Lenght(Str1)<10 loop or something, so that people don't put in extremely long names that breaks the game display.
Title: Re: My Basic Program "Hello" Progress and Stuffs
Post by: xMarminq_ on November 12, 2016, 02:53:01 PM
Does display do coordinates?
Whats str1? Didn't find it on my catalog.
Title: Re: My Basic Program "Hello" Progress and Stuffs
Post by: Snektron on November 12, 2016, 05:56:44 PM
If you want to print at coordinates, you should use the Output( command instead. Str1 is  a string ( a piece of text) and you can find it under Vars -> String -> Str...
Title: Re: My Basic Program "Hello" Progress and Stuffs
Post by: xMarminq_ on November 12, 2016, 06:24:18 PM
But I want a color character at a coordinate  :'(
What are the getkey and what buttons go to the getkey number (Is it a number?)?
Title: Re: My Basic Program "Hello" Progress and Stuffs
Post by: WholeWheatBagels on November 13, 2016, 01:10:34 AM
Getkey is a command that reads the last key pressed.
See more here: http://tibasicdev.wikidot.com/getkey (http://tibasicdev.wikidot.com/getkey)
Title: Re: My Basic Program "Hello" Progress and Stuffs
Post by: Dream of Omnimaga on November 13, 2016, 06:29:19 PM
Quote from: xMarminq_ on November 12, 2016, 06:24:18 PM
But I want a color character at a coordinate  :'(

TextColor(COLOR
Text(Y,X,String

Example

TextColor(13:Text(12,23,"HELLO

Will display Hello at (23,12) in pink color.
Title: Re: My Basic Program "Time Demo" Progress and Stuffs
Post by: xMarminq_ on November 15, 2016, 04:06:50 AM
I am working on a project that is a game of choice, like a choose your own adventure, for the Ti-84 Plus CE.

I'm new so let me know how I can edit things for less space or better features.

CHANGELOG

Working on
-More plot (Planned but not implemented)
-Cutscenes
-Character Development
-Color text (IDK how to do and can non-letters (#s,( and !) be colored?)
-Animated Title

Things I foonished  :)
-First cutscenes
-First choice
-First dialouge
-First charcater
-Dialouge Speed Choice
-Demo (duh)
-Choice of name
-Text cutting (word cut off by end of calc)

Space it currently takes: About 3.6k, planned to be 30k (Compacter pls)

Wish me luck!

Enjoy The Demo!

Demo is to be used by mature (not @kotu) people for use, edits, and suggestions for me.
(Suggestive text use and arrangement)
Title: Re: My Basic Program "Hello" Progress and Stuffs
Post by: kotu on November 15, 2016, 09:53:35 PM
Oi
Title: Re: My Basic Program "Hello" Progress and Stuffs
Post by: Dream of Omnimaga on November 15, 2016, 09:54:47 PM
Quote from: kotu on November 15, 2016, 09:53:35 PM
Oi
Erm @kotu what was the point of this post? ???
Title: Re: My Basic Program "Hello" Progress and Stuffs
Post by: xMarminq_ on November 15, 2016, 11:22:17 PM
Just pokes
:)

Any suggestions?
8)
Title: Re: My Basic Program "Hello" Progress and Stuffs
Post by: p2 on November 16, 2016, 07:40:19 AM
you can always try to reduce size by reusinggraphics and stuff (use the string twice instead or setting it over and over again and stuff like that) :)
Title: Re: My Basic Program "Hello" Progress and Stuffs
Post by: xMarminq_ on November 16, 2016, 11:28:25 PM
Did you try it?
Title: Re: My Basic Program "Hello" Progress and Stuffs
Post by: p2 on November 17, 2016, 10:46:16 AM
not yet as I have no emulator nor linking program available right now.. :(
Title: Re: My Basic Program "Hello" Progress and Stuffs
Post by: Dream of Omnimaga on November 17, 2016, 06:41:13 PM
By the way, do you plan to use CE Textlib for colored text? Output() lacks color support by default so unless you use CE Textlib then you would be forced to use the graph screen.

Just make sure to backup often, though. I never had a RAM Clear with CE Textlib, but if you do mistakes such as drawing something outside the screen by accident then it could happen.
Title: Re: My Basic Program "Hello" Progress and Stuffs
Post by: kotu on November 20, 2016, 04:02:52 PM
Quote from: DJ Omnimaga on November 15, 2016, 09:54:47 PM
Quote from: kotu on November 15, 2016, 09:53:35 PM
Oi
Erm @kotu what was the point of this post? ???
I was just saying 'oi' as in mind your mouth young scoundel