Jump to content


Joeben123

Member Since 13 Mar 2012
Offline Last Active Yesterday, 07:19 PM

Topics I've Started

How much exactly does Gamemaker do for you?

12 December 2012 - 09:40 PM

I have recently been looking at game dev with C++ and it has helped me to see lots of the things that are required for a game, but that I have never really thought of while using Gamemaker. I don't just mean the huge built in library of useful functions with GML. Things like controlling the screen and making a game clock and all sorts of stuff that I have taken for granted while using Gamemaker. So I just wanted to know how much stuff Gamemaker is doing for us behind the scenes that you would have to do manually with C++.

Global variable between rooms

02 December 2012 - 04:23 AM

In the menu (first room) of my game, you select the sprites for two major objects. Then in the room for the actual game, in the create event for those two objects I have it set the image index to the global variable. But for some reason when I run the game it throws an execution error saying
VMError!! Occurred - Push :: Execution Error - Variable Get offstate
 at gml_Object_cell_Create_0 (line 3) - image_index=global.offstate;
global.offstate is the variable for that object. Does anyone know why it isn't working? Thanks.

Unknown error

27 November 2012 - 05:18 AM

-Variable Index out of range cells-
This shows up every time I run a script called "update" in my game. I am creating my own version of Conway's Game of Life. This is the script that updates each cell based on the state of the cells around it:
var n;
var i;
n=global.cells[argument0+1,argument1].state+global.cells[argument0+1,argument1+1].state+global.cells[argument0+1,argument1-1].state+global.cells[argument0-1,argument1].state+global.cells[argument0-1,argument1+1].state+global.cells[argument0-1,argument1-1].state+global.cells[argument0,argument1+1].state+global.cells[argument0,argument1-1].state;
if (n<2){i=0}
else if (n>3){i=0}
else if (argument2=1 and n=2){i=1}
else if (n=3){i=1}
return(i);
If anyone could explain what the error in my code is I would greatly appreciate it. Thanks a lot    - Joseph

LAN

09 November 2012 - 10:49 PM

So I have been looking into multiplayer and have decided to make a 2-8 player LAN TDS. After looking around for ways to do this the best solution I could find was 39dll. However 39dll is for handling online games and to my knowledge doesn't support LAN connections. So I was wondering if there were any multiplayer solutions made specifically for LAN connections? Especially one slightly less complicated than 39dll.

Thanks in advanced.

Pausing help

08 November 2012 - 10:34 PM

So I am trying to create an upgrade/pause screen for my arena TDS. I know that Gamemaker's wait function will deactivate EVERYTHING making it impossible to use the pause menu. Is there a relatively simple way of deactivating a ton of instances and bringing up the menu, then reactivating them and getting rid of the menu?