Pages: 1 ... 18 19 [20] 21 22 ... 62
  Print  
Author Topic: Game Maker Help Thread!  (Read 45671 times)
gummybears123
Mossy
*
Posts: 5776


Yummy Gummy!


View Profile
« Reply #285 on: February 28, 2010, 09:29:03 AM »

How do I make an enemiy ignore the player?
Logged

I made a rap.
It sounds dumb, like reading a map
I really should stop this thing before it goes too far
But I don't really car as long as I stay below the radar
Those big companies won't get me no
I'll get away before the fuzz show

-Most famous rapper of Mossmouth
Kirbylord
Kirby
Mossy
*
Posts: 1466


Dragon Shinobi

nrmario@hotmail.com
View Profile WWW
« Reply #286 on: February 28, 2010, 10:02:17 AM »

What's the script for calling an explosion to a certain object?
Logged

gummybears123
Mossy
*
Posts: 5776


Yummy Gummy!


View Profile
« Reply #287 on: February 28, 2010, 10:17:26 AM »

How do I make an enemy ignore the player?

And where's the script for the text at the beginning of levels?
« Last Edit: February 28, 2010, 11:04:48 AM by gummybears123 » Logged

I made a rap.
It sounds dumb, like reading a map
I really should stop this thing before it goes too far
But I don't really car as long as I stay below the radar
Those big companies won't get me no
I'll get away before the fuzz show

-Most famous rapper of Mossmouth
Kirbylord
marsgreekgod
Big Bossy
Mossy
*
Posts: 9779


The will of the Galaxy.


View Profile WWW Email
« Reply #288 on: February 28, 2010, 11:04:53 AM »

Maybe put something like?
"
instance_create (x,y,oArrow)
other.x(or y)Vel = rand(1,10)
"
You think that would work, but no, has to do oArrowtest which is the "seeing" of the arrow trap AND the thing that fires, making oArrowtest2 didn't work so far..
Logged

Show your power, Gun Del Hell! Show them their fate! Yes! Yes! Yes! Yes! Yes! Here we go! Let's go, go, go, go, Django! Light and Dark! It comes down to this! Be afraid, Sun!
Sudonimus
Mossy
*
Posts: 2743


Stop staring.


View Profile
« Reply #289 on: February 28, 2010, 02:41:34 PM »

How do I make an enemy ignore the player?

And where's the script for the text at the beginning of levels?
When colliding with oEnemy; you lose a life.
Put a collision event with whatever enemy/ies you want to ignore you.
And so basically:
Code:
{
//nothing goes here.
}
Logged

How is there no such thing as non-existence?!
Kirby
Mossy
*
Posts: 1466


Dragon Shinobi

nrmario@hotmail.com
View Profile WWW
« Reply #290 on: February 28, 2010, 04:33:52 PM »

How would I add more areas?
Logged

marsgreekgod
Big Bossy
Mossy
*
Posts: 9779


The will of the Galaxy.


View Profile WWW Email
« Reply #291 on: February 28, 2010, 04:35:20 PM »

I got the arrows fixed, so the question is... mute. (is that how you would say that?)

Anyway, I wouldn't know how to add new areas.
Logged

Show your power, Gun Del Hell! Show them their fate! Yes! Yes! Yes! Yes! Yes! Here we go! Let's go, go, go, go, Django! Light and Dark! It comes down to this! Be afraid, Sun!
gummybears123
Mossy
*
Posts: 5776


Yummy Gummy!


View Profile
« Reply #292 on: February 28, 2010, 05:29:11 PM »

How do I make an enemy ignore the player?

And where's the script for the text at the beginning of levels?
When colliding with oEnemy; you lose a life.
Put a collision event with whatever enemy/ies you want to ignore you.
And so basically:
Code:
{
//nothing goes here.
}

Thanks Sudo! One step closer to finishing Spidey and Vamp!
Logged

I made a rap.
It sounds dumb, like reading a map
I really should stop this thing before it goes too far
But I don't really car as long as I stay below the radar
Those big companies won't get me no
I'll get away before the fuzz show

-Most famous rapper of Mossmouth
Kirbylord
kinnik
Bean
*
Posts: 193


View Profile
« Reply #293 on: February 28, 2010, 06:03:21 PM »

The code for the random poem at the beginning? Smiley

Inside 'oIntro' object, inside the 'Create' event, inside the 'Execute a peice of code'

(I hate 'execute a..' as it's not able to be searched and should have been put into a script)

str = "";
n = rand(1,10); // Change this to the amount of different poem lines
switch (n)
{
    case 1: { str1 = "AS THE MOON SEAN BRIGHT ABOVE,"; break; }
    case 2: { str1 = "WITH THE DESERT STRETCHING BEHIND ME,"; break; }
    case 3: { str1 = "AFTER I DOUBLE-CHECKED MY MAP,"; break; }
    case 4: { str1 = "MY LIPS CRACKED AND COVERED IN SAND,"; break; }
    case 5: { str1 = "WITH FATE GUIDING MY EVERY MOVE,"; break; }
    case 6: { str1 = "PUTTING THE FADED PHOTO IN MY POCKET,"; break; }
    case 7: { str1 = "AS I RECALLED MY FATHER'S LAST WORDS,"; break; }
    case 8: { str1 = "MY MEMORY SLIPPING AWAY FROM ME,"; break; }
    case 9: { str1 = "AS I FINISH THE LAST KNIT IN MY SCARF,"; break; }
    case 10: { str1 = "I STARED AT THE STARS,"; break; } //Added with 'case 10:'
}
Logged
kinnik
Bean
*
Posts: 193


View Profile
« Reply #294 on: February 28, 2010, 06:05:42 PM »

Kirby:  What do you mean by New Areas??  Like larger levels? or Different/new 'rooms' for exsisting levels?

Or adding all new levels?  Like adding a new black market/boss level or even entirely new 'world/level TYPE'?

I can help with these. Wink
« Last Edit: February 28, 2010, 06:09:31 PM by kinnik » Logged
Kirby
Mossy
*
Posts: 1466


Dragon Shinobi

nrmario@hotmail.com
View Profile WWW
« Reply #295 on: February 28, 2010, 06:10:39 PM »

Kirby:  What do you mean by New Areas??  Like larger levels? or Different/new 'rooms' for exsisting levels?

Or adding all new levels?  Like adding a new black market/boss level or even entirely new 'world/level TYPE'?

I can help with these. Wink

That's what I mean.
Logged

kinnik
Bean
*
Posts: 193


View Profile
« Reply #296 on: February 28, 2010, 06:28:45 PM »

This might require alot of tinkering as the code is spread out across many scripts and objects..  I will write a tutorial on it now but it will require some trial and error to get it all right without any bugs.  I would love to add a new first level that is above ground!  I'll start writting a tutorial after I do afew things around the house and I'll post the tutorial as a new thread in the source section.
Logged
Sudonimus
Mossy
*
Posts: 2743


Stop staring.


View Profile
« Reply #297 on: February 28, 2010, 07:10:57 PM »

That would be great...
Logged

How is there no such thing as non-existence?!
gummybears123
Mossy
*
Posts: 5776


Yummy Gummy!


View Profile
« Reply #298 on: February 28, 2010, 08:10:41 PM »

The code for the random poem at the beginning? Smiley

Inside 'oIntro' object, inside the 'Create' event, inside the 'Execute a peice of code'

(I hate 'execute a..' as it's not able to be searched and should have been put into a script)

str = "";
n = rand(1,10); // Change this to the amount of different poem lines
switch (n)
{
    case 1: { str1 = "AS THE MOON SEAN BRIGHT ABOVE,"; break; }
    case 2: { str1 = "WITH THE DESERT STRETCHING BEHIND ME,"; break; }
    case 3: { str1 = "AFTER I DOUBLE-CHECKED MY MAP,"; break; }
    case 4: { str1 = "MY LIPS CRACKED AND COVERED IN SAND,"; break; }
    case 5: { str1 = "WITH FATE GUIDING MY EVERY MOVE,"; break; }
    case 6: { str1 = "PUTTING THE FADED PHOTO IN MY POCKET,"; break; }
    case 7: { str1 = "AS I RECALLED MY FATHER'S LAST WORDS,"; break; }
    case 8: { str1 = "MY MEMORY SLIPPING AWAY FROM ME,"; break; }
    case 9: { str1 = "AS I FINISH THE LAST KNIT IN MY SCARF,"; break; }
    case 10: { str1 = "I STARED AT THE STARS,"; break; } //Added with 'case 10:'
}
I meant like I hear snakes!  I hate snakes!  And stuff like that
Logged

I made a rap.
It sounds dumb, like reading a map
I really should stop this thing before it goes too far
But I don't really car as long as I stay below the radar
Those big companies won't get me no
I'll get away before the fuzz show

-Most famous rapper of Mossmouth
Kirbylord
Kegluneq
Big Bossy
Mossy
*
Posts: 2219



View Profile Email
« Reply #299 on: February 28, 2010, 08:14:47 PM »

oPlayer1
Look at the alarm events.
Logged

A wild SHINY MOSSY appeared!
Pages: 1 ... 18 19 [20] 21 22 ... 62
  Print  
 
Jump to: