Text Blitter-Like objects

New releases and general discussions.

Post » Sat Apr 18, 2009 2:06 am

There are Bitmap to text convertors, but then you'd just get a black text.
B
11
S
3
G
8
Posts: 473
Reputation: 4,569

Post » Sat Apr 18, 2009 11:51 pm

I know this is no substitute for an object, but
it's kinda fun
and it works differently than the other cap I saw, shorter and more customizable:
if you want to use a different font
make the sprite font strip evenly spaced,
and input the characters from your font strip into text2 and you can use any fontstrip you want

maybe you'll want to edit it for your purposes

to test
just type in your words into the edit box
click here
as you can see, you can do text blitting in just a few events
also, if you wanted to make it more efficient, you could make it so it didn't start from scratch every time
but it runs well on my machine at least, until you type a few hundred characters
[size=85:1etd2pto]
for you troubleshooters out there

if you change the toggle off on that action in the beginning
and move sprite2 onto the board, you'll see it's glitchy for the first 50 something characters
kinda weird, not gonna troubleshoot it anymore for now at least, not having any luck[/size:1etd2pto]
Spriter Dev
B
87
S
21
G
12
Posts: 3,240
Reputation: 16,461

Post » Mon Apr 20, 2009 9:30 pm

Hey Lucid, that's a very smart method you have right there! Much better than my earlier attempt at something like this.

Your example tends to crash though when you keep typing some text. Anyway, this seems to be the method to go atm. Well done! :)
B
21
S
6
G
10
Posts: 1,024
Reputation: 7,445

Post » Tue Apr 21, 2009 8:14 am

[quote="lucid":2np2w0bl]
but it runs well on my machine at least, until you type a few hundred characters
[/quote:2np2w0bl]
well, after typing exactly 40 letters it crashed on my comp, what would cause that?
B
81
S
50
G
10
Posts: 555
Reputation: 13,009

Previous

Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 3 guests