Discuss Scratch

meowflash
Scratcher
500+ posts

How To Make A Text Engine

How can I make a text engine?
scimonster
Scratcher
1000+ posts

How To Make A Text Engine

What do you mean by a text engine?
meowflash
Scratcher
500+ posts

How To Make A Text Engine

scimonster wrote:

What do you mean by a text engine?
I would like to make a text engine, but, need the scripts!
scimonster
Scratcher
1000+ posts

How To Make A Text Engine

What kind of text engine are you talking about? I don't understand what you need.
scubajerry
Scratcher
1000+ posts

How To Make A Text Engine

meowflash
Scratcher
500+ posts

How To Make A Text Engine

scubajerry wrote:

http://scratch.mit.edu/projects/12067195/
The scripts of that project are perfect!
curiouscrab
Scratcher
500+ posts

How To Make A Text Engine

meowflash wrote:

scubajerry wrote:

http://scratch.mit.edu/projects/12067195/
The scripts of that project are perfect!
Make sure to give credit if you use it.
meowflash
Scratcher
500+ posts

How To Make A Text Engine

curiouscrab wrote:

meowflash wrote:

scubajerry wrote:

http://scratch.mit.edu/projects/12067195/
The scripts of that project are perfect!
Make sure to give credit if you use it.
I already gave credit!
meowflash
Scratcher
500+ posts

How To Make A Text Engine

I need to make my own script for a text engine.
CrystalStar-
Scratcher
100+ posts

How To Make A Text Engine

meowflash wrote:

I need to make my own script for a text engine.

Sorry, I didn't mean to be rude! It was that you changed only a few things and called it your own text engine.

If you want to make your own, then firstly you need a sprite with all the costumes from A-Z. Make sure all the costume centers are in the middle of all the costumes, then you can use this script:

definerenderstringsetito0repeatlengthofstringchangeiby1switchcostumetoletteriofstringstampmove15steps Change 15 to the width of every letter

If the width of each letter is different, then make a list that contains the width of each letter in it, in separate slots. (So if ‘A’ was 10 pixels wide, ‘B’ was 11, and ‘C’ was 13, then the first item in the list would be 10, the 2nd would be 11, and the 3rd would be 13.)

Then replace

move15steps

with

moveitemiofliststeps

Hope this helps! c:

Last edited by CrystalStar- (Sept. 3, 2013 18:40:28)

meowflash
Scratcher
500+ posts

How To Make A Text Engine

CrystalStar- wrote:

meowflash wrote:

I need to make my own script for a text engine.

Sorry, I didn't mean to be rude! It was that you changed only a few things and called it your own text engine.

If you want to make your own, then firstly you need a sprite with all the costumes from A-Z. Make sure all the costume centers are in the middle of all the costumes, then you can use this script:

definerenderstringsetito0repeatlengthofstringchangeiby1switchcostumetoletteriofstringstampmove15steps Change 15 to the width of every letter

If the width of each letter is different, then make a list that contains the width of each letter in it, in separate slots. (So if ‘A’ was 10 pixels wide, ‘B’ was 11, and ‘C’ was 13, then the first item in the list would be 10, the 2nd would be 11, and the 3rd would be 13.)

Then replace

move15steps

with

moveitemiofliststeps

Hope this helps! c:
It does help!
JJFABBY
Scratcher
100+ posts

How To Make A Text Engine

I'm making a bit of a simplified one, it only works in all caps though.
iceswordmaster
Scratcher
6 posts

How To Make A Text Engine

I am really clueless on how to make a text engine. Please help me!
ianrocks
Scratcher
47 posts

How To Make A Text Engine

iceswordmaster wrote:

I am really clueless on how to make a text engine. Please help me!
I made a pretty successful text engine. It supports size and wraparound (if the text goes off-screen, it will go to the next line automatically). It's all caps and the backspace only works if you have a single color background (change the backspace costume in the sprite to the background color of your project). Other than that, it works well. If you use it, please give me credit.
iceswordmaster
Scratcher
6 posts

How To Make A Text Engine

ianrocks wrote:

iceswordmaster wrote:

I am really clueless on how to make a text engine. Please help me!
I made a pretty successful text engine. It supports size and wraparound (if the text goes off-screen, it will go to the next line automatically). It's all caps and the backspace only works if you have a single color background (change the backspace costume in the sprite to the background color of your project). Other than that, it works well. If you use it, please give me credit.
Thanks, but is there a tutorail that will help me make a text engine?
ianrocks
Scratcher
47 posts

How To Make A Text Engine

iceswordmaster wrote:

ianrocks wrote:

iceswordmaster wrote:

I am really clueless on how to make a text engine. Please help me!
I made a pretty successful text engine. It supports size and wraparound (if the text goes off-screen, it will go to the next line automatically). It's all caps and the backspace only works if you have a single color background (change the backspace costume in the sprite to the background color of your project). Other than that, it works well. If you use it, please give me credit.
Thanks, but is there a tutorail that will help me make a text engine?
Sorry, but I don't know of a tutorial. Making one is very simple, though. Look through my scripts and try to figure it out. The name of the costume matters! I may make a tutorial this weekend, if I have time.
iceswordmaster
Scratcher
6 posts

How To Make A Text Engine

ianrocks wrote:

iceswordmaster wrote:

ianrocks wrote:

iceswordmaster wrote:

I am really clueless on how to make a text engine. Please help me!
I made a pretty successful text engine. It supports size and wraparound (if the text goes off-screen, it will go to the next line automatically). It's all caps and the backspace only works if you have a single color background (change the backspace costume in the sprite to the background color of your project). Other than that, it works well. If you use it, please give me credit.
Thanks, but is there a tutorail that will help me make a text engine?
Sorry, but I don't know of a tutorial. Making one is very simple, though. Look through my scripts and try to figure it out. The name of the costume matters! I may make a tutorial this weekend, if I have time.
Thank you I'll try that.
-SpaceCap-
Scratcher
2 posts

How To Make A Text Engine

I need help. I want to make a text engine, but I can't understand the scripts. Can someone make it easy to understand?
iceswordmaster
Scratcher
6 posts

How To Make A Text Engine

-SpaceCap- wrote:

I need help. I want to make a text engine, but I can't understand the scripts. Can someone make it easy to understand?
Yes, I can. Basically you play around with the scripts and make the sprite either make a clone, or stamp itself, therefore making it type.
jeppe3700
Scratcher
11 posts

How To Make A Text Engine

CrystalStar- wrote:

meowflash wrote:

I need to make my own script for a text engine.

Sorry, I didn't mean to be rude! It was that you changed only a few things and called it your own text engine.

If you want to make your own, then firstly you need a sprite with all the costumes from A-Z. Make sure all the costume centers are in the middle of all the costumes, then you can use this script:

definerenderstringsetito0repeatlengthofstringchangeiby1switchcostumetoletteriofstringstampmove15steps Change 15 to the width of every letter

If the width of each letter is different, then make a list that contains the width of each letter in it, in separate slots. (So if ‘A’ was 10 pixels wide, ‘B’ was 11, and ‘C’ was 13, then the first item in the list would be 10, the 2nd would be 11, and the 3rd would be 13.)

Then replace

move15steps

with

moveitemiofliststeps

Hope this helps! c:

I've made a text engine like that (But by myself). The problem with this simplicity is that you cant make costume for both big letters (A) and at the same time have small letters (a). ):

Powered by DjangoBB