Jump to content


miky

Member Since 02 May 2005
Offline Last Active Mar 04 2012 11:41 PM

Topics I've Started

Drawing Functions And Port On Screen

24 May 2009 - 01:24 AM

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?

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 :GM006:  If that one doesn't work, try here.

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):
//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

Here is the link to my company's webpage:Link

Please give feedback.  :)

Problems With Surfaces... (solved)

26 January 2006 - 12:10 AM

I am using  :huh:.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:

Trying to use nonexistent surface.


I don't know why, because I have already created the surface.

:)            :o

:( Please help.