Jump to content


thecrazygamemaster

Member Since 26 Aug 2008
Offline Last Active Today, 03:25 AM

Posts I've Made

In Topic: Using String As Name For Timelines[Solved]

10 May 2013 - 01:52 PM

Before GM:S there was, but now, the dynamic variable functions have been removed. The best way to get around that is to put all the timelines in a global list, with the IDs they are; I.E. put timeline2 inside slot 2.

 

global.timelinelist=ds_list_create();

var g;

g=global.timelinelist;

ds_list_insert(g,1,timeline1);

ds_list_insert(g,2,timeline2);

ds_list_insert(g,3,timeline3);

ds_list_insert(g,4,timeline4);

 

and etc.

 

Then, when loading the timeline, use this:

 

var i; //i, in this case, is a global variable containing a number (i.e. 1, 2, 3, 4, etc)

global.level=i;

timeline=ds_list_find_value(global.timelinelist,i);


In Topic: Fictional Country Name?

10 May 2013 - 01:26 AM

http://www.namegener...e-generator.php

 

Nuff' Said.


In Topic: [Jam 10] Mission: Demolition

02 May 2013 - 07:15 AM

Ran fine for me, quite fun.


In Topic: How Do You Add An Invisible Grid? (Fixed = True)

25 April 2013 - 12:38 AM

Ok, in the tower defense I messed around with, whenever I clicked a button to make a new tower, I'd create a ghost object at the mouse. The ghost object ran that code, so it snapped to the grid. When I clicked, it then created an instance of a tower at those x and y coordinates, and then destroyed itself.


In Topic: How Do You Add An Invisible Grid? (Fixed = True)

24 April 2013 - 02:25 PM

x=mouse_x;
y=mouse_y;
move_snap(32,32);