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 / Our Outline Text Function Has Problems? Source Code Included...

Author
Message
JeZxLee
7
Years of Service
User Offline
Joined: 15th Mar 2017
Location: Long Island, New York, United States, Earth
Posted: 1st Sep 2019 17:31 Edited at: 1st Sep 2019 17:32
Hi,

We have an outline text function that only works some of the time?
Can someone look at below source code and let us know what is wrong with it?

Thanks in advance!

Jesse

JeZxLee
Fallen Angel Software
Video Game Design Studio
http://www.FallenAngelSoftware.com
Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 1st Sep 2019 19:21 Edited at: 1st Sep 2019 19:36
Not that I am trying to wrap my head around your code, but at a glance I would bet that the problem is in the variables being passed to the function.

Seems like a whole lot of variables to pass without having a typo/invalid value causing the whole thing to foul up.

What happens if you font is missing a size in the +2 spectrum???

Not all of them have the same sizes available right?

So, if a font is called and the size= size+2 hits a value unsupported by that font, then what happens?

Would it internally call the next size??

What if that is several sizes bigger?


It is hard to say by looking at this without knowing what you are sending to fill those variables, and what the unexpected output was.

More details would be helpful.

"outline as integer"

"if outline = TRUE"
...?

Coding things my way since 1981 -- Currently using AppGameKit V2 Tier 1
JeZxLee
7
Years of Service
User Offline
Joined: 15th Mar 2017
Location: Long Island, New York, United States, Earth
Posted: 1st Sep 2019 20:14
Hi,

Thanks for the reply.
We found the issue in another part of the source code.
All is well, thanks!

Jesse
JeZxLee
Fallen Angel Software
Video Game Design Studio
http://www.FallenAngelSoftware.com

Login to post a reply

Server time is: 2024-10-01 10:20:40
Your offset time is: 2024-10-01 10:20:40