Jump to content


land of games

Member Since 16 Dec 2010
Offline Last Active May 14 2013 11:38 PM

Topics I've Started

Help With Enemy Spawn Problem, Urgent, Ludum Dare

28 April 2013 - 04:24 PM

hello. I am working on my Ludum Dare game atm, and I have a piece of code that is fairly essential, but isnt working.

 

see, I am making a scrolling shooter, and waves of enemies are stored in timelines. When a player kills all of the enemies in the wave, the game should generate a new, randomly selected wave. I am trying to get it to work with just 2 wave types, so that I can expand it for the rest of ludum dare. The problem is that the code for 2 waves isnt working. I have a variable called global.enemies that should (and does, ive checked with the debugger) = 0 if there are no more enemies on screen. The code generates 1 wave, and then there are no more subsequent waves. the code in question is:

 

 

if global.enemies = 0
{
    choice = 0
    randomize()
    choice1 = random_range(1,2)
    choice = round(choice1)
    if choice = 1
    {
        timeline_index = tl_1
        timeline_running = true
    }
    if choice = 2
    {
        timeline_index = tl_2
        timeline_running = true
    }
    
}

 


How to disable error messages in studio

27 January 2013 - 07:56 PM

Hello. I cant seem to find how to disable error messages in studio. I have an error message that pops up, but if I ignore it, the game runs fine. Normally, I would track down the cause of the error, but I dont have time because this is for the jam. How do I disable error messages?

Game maker studio physics move away from point

26 January 2013 - 07:11 AM

Hello all. I need some help.
I need to create a force between the mouse position and obj_chuck. What I want is for the object to be pushed away. I tried using physics_apply_local_impulse(x,y,mouse_x,mouse_y) but its not working. what am I doing wrong?

How to make object shoot in the direction of mouse

26 January 2013 - 01:57 AM

Hello. I need some way to make an object shoot in the direction of the mouse. I have basic physics set up.

Note that I want it to fall when it runs out of speed, so I need something that sets up the nessasary forces in 1 step. How could this be achieved? I am fairly new to the physics engine, but I have been working with gm for 3 years (I think) now.

Any help is greatly appreciated.

Need a logo :)

07 January 2013 - 12:02 AM

Hey everyone! I am in need of a logo for phat narwhal studios, and I was wondering if anyone might be able to help. I hand drew what I kind of want it to look like, so if you could work from that it would be great. I don't like the way I did the color scheme in it though, so you can change that to whatever looks best. I need the image to be about 640*400. Image format can be whatever you like. This is not paid, but I will credit you in any games that I use the logo in. I need it to look like an old style logo, like you would see on a 1960s vending machine (or something.). Thanks to anyone who might be able to help :D. Apologies if the narwhal is a little hard to draw :P/>. I like him, so try to make it look similar.



Posted Image

EDIT: sorry for low quality cell phone photo :P