|
|
Re: Question about texts
[Re: Caermundh]
#403255
06/17/12 07:41
06/17/12 07:41
|
Joined: Jun 2006
Posts: 2,640 Earth
Germanunkol
Expert
|
Expert
Joined: Jun 2006
Posts: 2,640
Earth
|
I don't think there is such a thing as offset_x.
Can't you just change pos_x ? Or is the problem that you want it to move out of the window and not be displayed any more? The other thing you can try (not tested) is to use a render_target and render onto a (possibly transparent, if you don't want any additional images) panel. Then display that panel instead of displaying the text directly on the screen. It should have the same effect, and if you only do it for a text, it shouldn't be much slower (but don't hold me to that).
~"I never let school interfere with my education"~ -Mark Twain
|
|
|
Re: Question about texts
[Re: Caermundh]
#403308
06/18/12 00:00
06/18/12 00:00
|
Joined: Sep 2003
Posts: 6,861 Kiel (Germany)
Superku
Senior Expert
|
Senior Expert
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
|
can i use text.target_map to render the text into a bitmap? Yes. Did you check the manual?
"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual Check out my new game: Pogostuck: Rage With Your Friends
|
|
|
Re: Question about texts
[Re: Caermundh]
#403312
06/18/12 01:45
06/18/12 01:45
|
Joined: Sep 2003
Posts: 6,861 Kiel (Germany)
Superku
Senior Expert
|
Senior Expert
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
|
im trying to get the text from the text into a bitmap - IE get the string "this is a test string" into a bmap format. => BMAP* my_bitmap = "...";
test_text.target_map = my_bitmap;
Then draw the bitmap in a panel or with draw_quad.
"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual Check out my new game: Pogostuck: Rage With Your Friends
|
|
|
|
|
|