I'm drawing some text, aligning it to the center. Then i calculate x position with room_width/2. On Windows, everything is perfectly placed and centered, but on android, my text is to the side and has these ugly small lines thrown in with the text. What i'm most interested in is positioning though. Anyways, I'm using different sizes of text at the same time, and the smallest text is working fine. But I think the others are too big. One is size 28 and the other size 48. The one working fine is size 20. My assumption is that the text is too big, but it doesn't tell me anything about that, and it works perfectly fine on windows.
Does anyone know a way for me to get around this? And can i expect a fix or change for this, or is this something that Game Maker cant change?
Oh, and I don't want to create a sprite with the text...
- Game Maker Community
- → Viewing Profile: Topics: Serdnad
Serdnad
Member Since 06 Jul 2012Offline Last Active Apr 12 2013 02:56 AM
Community Stats
- Group GMC Member
- Active Posts 97
- Profile Views 1019
- Member Title GMC Member
- Age 13 years old
- Birthday October 5, 1999
-
Gender
Male
-
Version
GM:Studio
8
Lookin' good!
Latest Visitors
Topics I've Started
Drawing Font Problems
17 February 2013 - 06:05 AM
Really weird error message
17 November 2012 - 02:37 AM
I'm getting this error message:
The funny thing is...
I only have 1 line of code there and here it is:
If anyone can help or has something for me to try, or think they can explain it, dont be shy
Edit: Also, I doubt this is necessary, but should i include my list of global variables?
VMError!! Occurred - Push :: Execution Error - Variable Get notme at gml_Object_Background_Music_Keyboard_8 (line 3) - instance_deactivate_all(notme)
The funny thing is...
I only have 1 line of code there and here it is:
instance_deactivate_all(true)
If anyone can help or has something for me to try, or think they can explain it, dont be shy
Edit: Also, I doubt this is necessary, but should i include my list of global variables?
Keep Android Screen Awake [SOLVED]
11 November 2012 - 01:45 AM
I've been waiting for the update to include an option or code or something to keep the screen awake, which should be easy, since there are only 2 parts to this in doing this in eclipse, as normally done in android coding. All you have to do is pt a permission in the manifest, and write a few lines of code, but this hasn't been done yet! and this isn't the first time this is asked for: Posted 16 July, 2012
Something weird
10 November 2012 - 06:04 AM
I have code in a draw event that writes out a few variables. For the sake of being able to test quicker, i replaced the varables with strings the variables could possibly be.
The reason i commented out those lines is becuase those are the lines giving me errors, other than the ones that say highscore <number>.
this s the list of compilation errors i get:
This mkaes no sese to me, becuase even after commenting out the lines, im receiving those errors.
if(room = Game_Over)
{
draw_set_font(highscores)
//Highscore 1
draw_text(32, 160, "andres")
draw_text(256, 160, "scored")
draw_text(480 - string_width, 160,"3000")
//highscore 2
//draw_text(32, 192, "stranger")
draw_text(256, 192, "scored")
draw_text(room_width - string_width, 192, "3000")
//highscore 3
//draw_text(32, 224, "guy")
draw_text(256, 224, "scored")
draw_text(room_width - string_width, 224, "3000")
//highscore 4
//draw_text(32, 256, string("space user a"))
draw_text(256, 256, "scored")
draw_text(480 - string_width, 256, "3000")
//highscore 5
//draw_text(32, 288, string("rawr"))
draw_text(256, 288, "scored")
draw_text(room_width - string_width, 288, "3000")
}The reason i commented out those lines is becuase those are the lines giving me errors, other than the ones that say highscore <number>.
this s the list of compilation errors i get:
In Object Background_Music, in Event Draw event number 0 at line 16 : cannot use function/script name for a variable In Object Background_Music, in Event Draw event number 0 at line 19 : cannot use function/script name for a variable In Object Background_Music, in Event Draw event number 0 at line 22 : cannot use function/script name for a variable In Object Background_Music, in Event Draw event number 0 at line 25 : cannot use function/script name for a variable In Object Background_Music, in Event Draw event number 0 at line 28 : cannot use function/script name for a variable
This mkaes no sese to me, becuase even after commenting out the lines, im receiving those errors.
Built in Pause/Resume system
06 November 2012 - 09:36 PM
Just a simple pause system that stops everything and can be resumed. Not sure how this would be achieved, but i wouldn't think its too hard, right?
Because adding a pause and resume system to a large project after its been done can be complicated and take a long time. And i'm only asking for a simple pause system that pauses everything, If we want a custom pause system to only pause certain things then we would have to code it our self.
Anyone else want this?
Because adding a pause and resume system to a large project after its been done can be complicated and take a long time. And i'm only asking for a simple pause system that pauses everything, If we want a custom pause system to only pause certain things then we would have to code it our self.
Anyone else want this?
- Game Maker Community
- → Viewing Profile: Topics: Serdnad
- Privacy Policy
- GMC Rules and Forum Rules ·



Find content