Jump to content


tha master

Member Since 21 Mar 2005
Offline Last Active Jan 30 2011 12:25 AM

Topics I've Started

Game Maker Server Cpu Usage

06 February 2010 - 02:57 AM

Hello,

I'm hosting a server for someone. It's on a tweaked laptop running windows 7 I use as server.
I was keeping an eye on the CPU usage for a while and found out that even when its doing nothing (no players online) it uses around 14-16% of my CPU. The laptop has a 2.2 GHZ dual core (AMD)
Now the person I am hosting for ran the server on his own pc, running windows XP, the CPU usage is 0%.  
I even tested it on my own pc, 2.8GHZ dual core running W7, and also I got ~15% cpu usage.


Anyone knows why it uses more CPU in W7 compared to windows XP?


aaaand I just found out I posted this in the wrong section ;__;

Change Window Size To Resolution

05 October 2009 - 10:37 PM

Hello,

I've got a question. I'm currently working on a 3D sandbox game and I tried to make a function that resizes the windows to the users resolution.
It all works fine except for the view to adjust itself to the new size.

I'm using this script to change it.

var ww, wh;
ww 			= display_get_width();
wh 			= display_get_height();
window_set_size(ww,wh);
window_set_position(0,0);
view_wview 	= ww;
view_wport 	= ww;
view_hview 	= wh;
view_hport 	= wh;

Anyone got an idea how to make the 3D view fill the screen instead of leaving black borders?

Drawing Order Problem

01 October 2009 - 02:43 PM

Hello,

I'm working on a game at the moment, but I've stumbled across something really annoying.
In my game, objects are added on the go, so for example a tree might get spawned.

Now, I've got an UI, and those new object are drawn on top of the UI. Is there a way to change this drawing order?

I've already tried setting the depth variable to -1000 for the new objects and setting the depth for the UI to >9000, nothing happend.

Anyone has an idea how to fix this?

Strange Behaviour C++ Server

24 September 2009 - 09:39 AM

Hey guys, I've got a question.

I'm making a Sandbox game, online, with the server written in C++. It all runs fine, but for some odd reason the main server loop runs MUCH faster when a Game Maker game is running. Even if it is a game with just an empty room, it runs about 3-4 times as fast. Anyone has an idea how this is possible?

Help, Can't Use Gm7

21 November 2007 - 09:15 PM

First of all, sorry if this is in the wrong section, but i can't use GM7. I bought GM7 today and when i start is gives this message:

Posted Image

Anyone got an idea how to get rid of this?


Thanks in advance