[22 Apr 2009] MoveTextObject

Contains all messages from the Hollywood mailing list between 01/2006 and 08/2012
Locked
User avatar
Juan Carlos
Posts: 969
Joined: Mon Sep 06, 2010 1:02 pm

[22 Apr 2009] MoveTextObject

Post by Juan Carlos »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Wed, 22 Apr 2009 19:53:08 +0000 (GMT)

Hello friend Andreas:

I have the next problems, first with the instruction MoveTextObject when I select the SetFontColor and SetFontStyle as in the example in the guide for example EGDE, $FF0000 and 2, the text doesn't show with the paramaters of SetFontStyle only with the color and the font type what is the problem?

second testing the option the to divide one program in little programs for example Intro, Program and GoodBye, and loading these little programs into of one program with includes I have the problem that the Intro go to Program but as here I have the loop with Repeat Until well, without this intructions the Program execute one time and the Goodbye is showed, but with it the Program executes infite but when I play the ESC key for example the Goodye wasn't showed, or in Program code there is that add the Include with Goodbye,

I don't know if I'm explain me very well, I can send you my bizarre codes in case of you don't understand me.

Best regards and thank you, your friend Juan Carlos.
User avatar
airsoftsoftwair
Posts: 5943
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

[24 Apr 2009] Re: MoveTextObject

Post by airsoftsoftwair »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Fri, 24 Apr 2009 11:53:59 +0200
Hello friend Andreas:

I have the next problems, first with the instruction MoveTextObject when I select the SetFontColor and SetFontStyle as in the example in the guide for example EGDE, $FF0000 and 2, the text doesn't show with the paramaters of SetFontStyle only with the color and the font type what is the problem?
Hmmm... could it be that you are using the same color for edge and text? Then of course you won't see the edging effect.... Make sure colors are different, e.g.

Code: Select all

SetFontColor(#WHITE)
SetFontStyle(#EDGE, #RED, 2)
CreateTextObject(1, "Hello World")
Then it works.
second testing the option the to divide one program in little programs for example Intro, Program and GoodBye, and loading these little programs into of one program with includes I have the problem that the Intro go to Program but as here I have the loop with Repeat Until well, without this intructions the Program execute one time and the Goodbye is showed, but with it the Program executes infite but when I play the ESC key for example the Goodye wasn't showed, or in Program code there is that add the Include with Goodbye,

I don't know if I'm explain me very well, I can send you my bizarre codes in case of you don't understand me.
Seems like some problem in the program structure. You have to remember that an @INCLUDE command is really the same as if you would paste the file you specify in @INCLUDE to the source file. Hollywood will do nothing more on an @INCLUDE, then to paste the whole specified file into the current file.
Locked