Title: PRINTS TEXT Across Screen Post by: GarrisonRicketson on April 15, 2011, 10:34:01 pm I did it ! but I am sure there is a better way useing the _autodisplay in your tutorial,....
Code: DO form Garry Title: Re: PRINTS TEXT Across Screen Post by: GarrisonRicketson on April 15, 2011, 11:47:11 pm So I started thinking some more and came up with this,
Code: DEFLNG A-Z In my earlier question, about loading text from a file, this is sort of what I had in mind, but to be able to have the text or letters in a file, that could load,...I guess that may be what _include and useing librarys are about ?....Any way I enjoyed putting this together,...on my own, but eagerly look forward to seeing a better way. from Garry Title: Re: PRINTS TEXT Across Screen Post by: guest on April 16, 2011, 02:31:43 am Here's an example of customising your code garry. It does not allow for continuing ghost movement because of the method i chose to implement it. Code: DEFLNG A-Z Title: Re: PRINTS TEXT Across Screen Post by: GarrisonRicketson on April 16, 2011, 07:42:38 am Ok, I see what you did useing the sub,..and how textprn$ dose evrything in one line,...thats part of what I was looking for,...
hopefully this weekend I get a chance to study this more. from Garry Edit: Quote Here's an example of customising your code garry. It does not allow for continuing ghost movement because of the method i chose to implement it Yes just another example, of how he "customized" what I wrote, and gives me code that it totally useless, for what I was trying to do,..If it dose not or can not allow, for the ghost movement, then why did he post it ?.------------------ Well it might be useful to someone, so I will leave it in here. This what he would do to anything I wrote. I am glad he is gone now. Title: Re: PRINTS TEXT Across Screen Post by: Dustie Bear on April 20, 2011, 08:07:00 pm Just to add my three cents worth, lol
Heres another way to print across the screen Its very similar , but a little differant. I didnt use a sub but would be easy to do. Dustie Code: SCREEN 12 Title: Re: PRINTS TEXT Across Screen Post by: GarrisonRicketson on April 20, 2011, 08:25:54 pm Thanks Dusty, I had been thinking about that, to add colored text,..
from Garry Title: Re: PRINTS TEXT Across Screen Post by: Dustie Bear on April 20, 2011, 08:57:59 pm Your welcome Gary, I just did a mode on that one to center the text on the screen instead of putting up another version. Dustie Title: Re: PRINTS TEXT Across Screen Post by: GarrisonRicketson on April 20, 2011, 09:32:27 pm Ok I see , it,...and where you remarked, do the print centered,
from Garry Title: Re: PRINTS TEXT Across Screen Post by: Dustie Bear on April 21, 2011, 11:23:40 pm I think an idea of doing that would be to put it in a sub then pass the vars to it kinda like circle or line do. then it could be called anytime and as many times as a program demanded. IT would apear to be multitasking. your program is pretty much set up for it though with the sub routine. Mine has a bit to much code in it to be realy fast for multitasking I think. It could be rewritten a with faster commands I suppose. Might need to leave out the color stuff. Dustie Title: Re: PRINTS TEXT Across Screen Post by: Dustie Bear on April 22, 2011, 04:59:53 pm Ok this is the outline I am thinking of at the moment. Never mind
the vars I used in the Call, I know they can't be used for real. ;) Wouldn't even need color unless we want to. ' --- call the Sub PrintAcross a$, Row, Line, Color ' -- these vars are illegal kinda like underscores. LOL ' -- The sub Sub PrintAcross (T$, R as integer, L as integer, C as Long If color is to be used then it needs to recognize if _RGB is being used or just color 1 to 15. I guess long var would take care of most of it. ' make the sub as simple or complicated as we want. End Sub Title: Re: PRINTS TEXT Across Screen Post by: GarrisonRicketson on September 11, 2011, 11:13:35 pm So I started thinking some more and came up with this, The image is avaiable here:http://weeklyqbasicandqb64lesson.smfforfree.com/index.php?action=dlattach;topic=136.0;attach=23 (http://weeklyqbasicandqb64lesson.smfforfree.com/index.php?action=dlattach;topic=136.0;attach=23)Code: DEFLNG A-Z In my earlier question, about loading text from a file, this is sort of what I had in mind, but to be able to have the text or letters in a file, that could load,...I guess that may be what _include and useing librarys are about ?....Any way I enjoyed putting this together,...on my own, but eagerly look forward to seeing a better way. from Garry from Garry Title: Re: PRINTS TEXT Across Screen Post by: GarrisonRicketson on September 12, 2011, 08:58:31 am Galleon, on QB64, http://www.qb64.net (http://www.qb64.net) posted this, To see the original post: http://www.qb64.net/forum/index.php?topic=4469.msg46219#msg46219 (http://www.qb64.net/forum/index.php?topic=4469.msg46219#msg46219) -------------------------------------- It truely is better, and the Ghost still has it's movement, later this week I will try to work on explaining , more ...The sprite sheet is the same. Code: DEFLNG A-Z from Garry |