was8bit 2022-04-15 06:43

Ifn u like, u may use :)

Flowtext2.nx | Open in app
2022-04-15 07:05
Flowtext.nx | Open in app
2022-04-15 06:43

was8bit 2022-04-15 06:49

The SUB uses sprites 43 to 63... your program cannot use these sprites...

... this is designed to place text of differing colors up to the entire width of the screen... it will NOT interfere with either BG 1 or BG 2 cells.... nor will SCROLL command effect this text...

If you edit some unused text characters into graphics, you then may have graphics placed as text... example, redraw "%" text as a sword... then add % in your text line, and % character will now show up as a sword ;)

I made this as i need it for my Cloudy Mountain game...

was8bit 2022-04-15 06:52 (Edited)

You dont need to make your text wave, just set the R portion to zero (0) and it will stay still like regular text..

You can also manually adjust the x value, and all the text can be made to move up or down...

was8bit 2022-04-15 06:55

If you need to have 2 of these running at the same time, then add a second sub as FLOWTEXT2 and change SPR=43 to SPR=23... however, this means sprites 23-63 will now be unavailable, and only sprites 0-22 can be used for other things...

was8bit 2022-04-15 07:07

The second string is then palette string.... "" assumes pal 0

A pal number 0-7 for each x postion is the format... if the remaining pals are #0 you dont have to add the zeros at the end of the text string...

was8bit 2022-04-15 07:08

Flowtext2 demos all i have mentioned... :)

Flowtext1 is the simplest example...

was8bit 2022-04-15 07:20

If u wanted to, you can adjust the bouncyness of the text.. find

SPRITE SPR,X+(I-1)*8,Y+SIN(A+I/10)*R,C

And adjust I/10

I/1 is extremely bouncy letters

I/100 all letters stay together

You may modify the SUB to add one more variable for this if you want this editable in code...

If you added B variable..

Then edited the code...

You could use the code to change the bouncyness during gameplay ;)

Jeanmilost 2022-04-15 15:57

Nice effect! 🙂

was8bit 2022-04-15 16:27

Thanky :)

This effect came from original lowres....

was8bit 2022-04-16 10:08

Put a simpler form into my cloudy mountain game...

Log in to reply.