Jump to content


Smiley Showdown

Member Since 10 Nov 2010
Offline Last Active Dec 16 2011 06:56 PM

Posts I've Made

In Topic: Imaginary Numbers

03 April 2011 - 05:38 PM

I understand that this debate is fun and all, but what i want to know is what this will be used for and what implications it has for programming, NOT a debate about the viability/importance of imaginary numbers. These forums are intended to be used for GM discussions, not math debates. :angry: :angry: :angry:

In Topic: Music Problems

07 February 2011 - 01:25 PM

Bump! You might want the dude's library final to make it work right

In Topic: Music Problems

04 February 2011 - 10:39 PM

Here it is

The File

In Topic: Music Problems

04 February 2011 - 12:59 AM

If it would help, i'll  post a copy of my game for you guys/ girls to look over. It's in the step event of my control object, and I will post the file when i get back to school tomorrow

In Topic: Making a Gun

10 November 2010 - 01:30 AM

Also, I know that there is a way to do this, but I don't remember.

Is there a way thaqt I can make the gun only shoot about every 5 steps? I know it is something like:

[Global left mouse] //in obj_gun
[If (whatever variable) is larger than 0
Create moving instance of obj_bullet
Set (whatever variable) to 0
Set Alarm (x) to 5]

[Alarm (x)] //in obj_gun
[Set (whatever variable) to 1]

I tried the variable can_shoot (like in the scrolling shooter tutorial) and got an error message:


ERROR in
action number 1
of Mouse Event for Glob Left Button
for object obj_gun:

Error in expression:can_shoot
position 1: Unknown variable can_shoot


The way I would do tis is create a variable called reload and when you shoot, it checks to see if the variable is true. After you shoot, it changes the variable to false and sets an alarm to an unspecified amount of steps. The alarm changes the variable to true :)