Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / A DrawText function command that refreshes existing a created Text to the backbuffer?

Author
Message
JoeOh45240
7
Years of Service
User Offline
Joined: 14th Feb 2017
Location: USA
Posted: 26th Jan 2020 08:12
I read about a "DrawText" function somewhere that refreshes an existing Text object to the backbuffer. If there is a current function for that lemme know thanks.
Golelorn
8
Years of Service
User Offline
Joined: 20th Nov 2016
Location:
Posted: 9th Feb 2020 23:42 Edited at: 9th Feb 2020 23:43
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 9th Feb 2020 23:54
taken from the help file

Immediately draws the text to the backbuffer at its current position, size, and rotation. This is useful if you want to setup a scene for GetImage to capture. Remember to use ClearScreen to clear any of your own drawing before calling Sync or Render for the actual frame otherwise your drawing may appear twice in the final render.

fubarpk on Itch...………...https://fubarpk.itch.io/
fubarpk on googleplay..https://play.google.com/store/apps/developer?id=fubarpk
JoeOh45240
7
Years of Service
User Offline
Joined: 14th Feb 2017
Location: USA
Posted: 10th Feb 2020 01:56
I tried to call "DrawText()" function, and it appears to be listed in the command list, but when I try to run it, I get a "main.agc:403: error: "drawtext" is not a recognised function or command" error...what gives?
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 10th Feb 2020 03:17
an example of draw text

fubarpk on Itch...………...https://fubarpk.itch.io/
fubarpk on googleplay..https://play.google.com/store/apps/developer?id=fubarpk
JoeOh45240
7
Years of Service
User Offline
Joined: 14th Feb 2017
Location: USA
Posted: 10th Feb 2020 03:35
Does it matter if I'm using the AppGameKit classic trial version?
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 10th Feb 2020 07:31
not sure but I know the trial version is limited and showing its age now

fubarpk on Itch...………...https://fubarpk.itch.io/
fubarpk on googleplay..https://play.google.com/store/apps/developer?id=fubarpk

Login to post a reply

Server time is: 2024-11-22 11:32:19
Your offset time is: 2024-11-22 11:32:19