Sprite Cutscenes In 4.5.6

Jonny

Well-known member
I was only really using the monster action part which does the drawBox macro.

I'm beginning to think this might not be what I thought it was for. I'm using an invisible monster just to trigger the text and be able to do think in the monster actions.

Basically what I want to end up with is, text 1 displays, stays a few seconds (to be read) then text 2 and so on. I can get them to cycle through the text strings of the group but it's always in either a strange order (1,1,3,2,2,2) or just loops text 1, text 3. I feel like something else is manipulating it somehow. Whatever I try it just won't go though them 1,2,3,4.
 

Bucket Mouse

Active member
I don't understand why it would be doing that. It works perfectly for me. Did you alter it in any way?
Are you using the variable that changes the text in anything else?
 

Jonny

Well-known member
I don't understand why it would be doing that. It works perfectly for me. Did you alter it in any way?
Are you using the variable that changes the text in anything else?
I'm beginning to think it probably is something like that. I'll try doing some debugging to figure out what's happening to the variable. I didn't pause the objects but I've only got the player (hidden) on the screen atm while I get it working. Would that make a difference do you think? Didn't think that would matter but not so sure now.
 
Last edited:

Jonny

Well-known member
@Bucket Mouse I've narrowed my problem down a bit. The text action is doing what it should, 1, 2, 3, 4, 1 etc. I tested it with draw sprite macro. Like you said, something else is changing it but I can't nail it down. I've tried removing timers etc and all sorts. If I run it without any delay, just on repeat, the text changes but sparadically like 1, 1, 2, 1, 2, 3, 1, 2, 2 so something else is affecting npc_text somehow. God knows how.

At the moment, I'm not actually removing/not handling the player object, I'm just changing it to a 'vanish' action so it doesn't show. How important is that part of the tutorial? I wan't sure if that was just personal choice or essential.
 

BITVADER

Member
It's a great feature and I'm using it, but for some reason the sprite animation stops while the text box is displayed in my environment.
It is strange that doUpdateSpriteTimer.asm is not updated.
 
Top Bottom