- Joined
- Dec 26, 2012
- Messages
- 120
- Reaction score
- 11
- First Language
- Portuguese
- Primarily Uses
Is there any simple way to draw text on position x,y?
That's cool and all but I don't wanna have to make images all over the place when the engine already supports text drawing. It can be ok at first but I think that it might become too troublesome later on to keep it organized.I see this is in the scripting section, but I noticed this thread from the "recent topics" on the front page of the forum. I apologize in advance if you absolutely want to do this with a script.
If you only want to draw text on your maps, and hopefully infrequently, you could simply go into photoshop, type out your message on a transparent layer, then save that as a tiny .png file. Then, simply use the "show picture" command centered with coordinates slightly above your door, in the example you gave.
I've created entire functional menus using the show picture command and some clever loops and conditionals, so something like an on-screen tutorial should be super easy to do with just events.
If you want the picture to disappear after the player opens the door, put the "show picture" command inside a conditional branch that checks if a switch is on, and then turn that switch on when you "open" the door.
Again, I don't know anything about scripting and I realize this is the scripting section, but I thought this would be easy enough with the built-in event commands.
I like some of the scripts there but the one you sent me show the text all the time. I wanna be able to to control when it shows and where it shows. I'm currently using this one here: http://theolized.blogspot.com.br/2013/07/theo-interact-hover-notification.html but only shows the text if the event has a on click trigger. I wanted a hassle free way without having to need too many events just to show some interaction text. Something like:
