I set my "port on screen" to be 5 times the size of my view, and nothing has gone wrong with weird-shaped pixels or anything. For some strange reason, on this computer, then multiplying the size by an odd number for the port on screen yields perfect results.
I am having a problem, however, with a textbox that I am drawing. When I draw a rectangle and some text on top of it, it is not scaled with the rest of the things onscreen. It is drawn at its normal small size, while the rest of the game is blocky and big.
Does anyone have a solution for this? How can I make my game enlarged without blur while keeping drawing functions useful?
- Game Maker Community
- → Viewing Profile: Topics: miky
miky
Member Since 02 May 2005Offline Last Active Mar 04 2012 11:41 PM
Community Stats
- Group New Member
- Active Posts 1023
- Profile Views 2351
- Member Title GMC Member
- Age Age Unknown
- Birthday Birthday Unknown
-
Gender
Male
-
Location
a computer
-
Interests
Coding, computation, linguistics, writing, composing, piano and guitar, and thinking.
2
none
Topics I've Started
Drawing Functions And Port On Screen
24 May 2009 - 01:24 AM
The Game Developers
28 February 2007 - 01:00 AM
I'm not sure if this is allowed, but I want people to join the site.
What is The Game Developers?
The Game Developers is a site where people can submit their games made with both GM and other tools and get help on them. It is not just a forum, so I assume that it is allowed to be posted here.
Who can join?
Anyone can join, and as we do not currently have many members, you are encouraged to join and be active.
Why should I join?
The Game Developers has many good features including game archives, forums, and other helpful things.
And at last, the link: The Game Developers
For some reason, it's not working
If that one doesn't work, try here.
What is The Game Developers?
The Game Developers is a site where people can submit their games made with both GM and other tools and get help on them. It is not just a forum, so I assume that it is allowed to be posted here.
Who can join?
Anyone can join, and as we do not currently have many members, you are encouraged to join and be active.
Why should I join?
The Game Developers has many good features including game archives, forums, and other helpful things.
And at last, the link: The Game Developers
For some reason, it's not working
Problems With Osg
25 July 2006 - 07:42 PM
I'm making an OSG (One Script Game), where you put a script in only one object, and place it in only one room. It was working to draw the character before I made a new room and went to it, but after I did it didn't work.
Here is the code (the room changing is in the initialize section and the character drawing is in the later section):
Please help me. I have tried a lot of things, and none of them worked.
Here is the code (the room changing is in the initialize section and the character drawing is in the later section):
//initialize
if(!variable_local_exists("init"))
{
room_set_width(room0,256);
room_set_height(room0,256);
room_set_background_color(room,c_black,true);
window_set_showicons(0);
window_set_cursor(cr_cross);
room_restart();
asteroid_create="";
alarm=30;
aalarm=0;
room_speed=30;
init=0;
life=8;
score=0;
charx=126;
chary=256;
return false;
}
//character
draw_set_color(c_blue);
draw_circle(charx,chary,8,false);
draw_set_color(c_white);
draw_circle(charx,chary,8,true);
//character movement
if(keyboard_check(vk_left))then charx-=4
if(keyboard_check(vk_right))then charx+=4
//asteroids
if(aalarm==0)
{
execute_string(asteroid_create);
aalarm=18000;
}Please help me. I have tried a lot of things, and none of them worked.
Wizardware
18 July 2006 - 07:02 PM
Problems With Surfaces... (solved)
26 January 2006 - 12:10 AM
I am using
.1.
I think this is an advanced question, but please don't flame me if you don't think it is.
When I create a surface (called fade), there's a bunch of gook (I know why, it's because I haven't cleared it yet), so I say surface_free(fade) on the line after I have created the surface. But then in the game, it has an error:
I don't know why, because I have already created the surface.
Please help.
I think this is an advanced question, but please don't flame me if you don't think it is.
When I create a surface (called fade), there's a bunch of gook (I know why, it's because I haven't cleared it yet), so I say surface_free(fade) on the line after I have created the surface. But then in the game, it has an error:
Trying to use nonexistent surface.
I don't know why, because I have already created the surface.
- Game Maker Community
- → Viewing Profile: Topics: miky
- Privacy Policy
- GMC Rules and Forum Rules ·



Find content