gummybears123
Mossy

Posts: 5776
Yummy Gummy!
|
 |
« Reply #255 on: February 27, 2010, 02:20:17 PM » |
|
How were they originally? And what do you mean re-add? And can you stop posting questions on top of my questions? This is the second time! How do I change the distance for falling damage?
How do I make it so that the sprite changes when I do an action? (when I double jump)
|
|
|
|
|
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: 1462
Nyarlathotep
|
 |
« Reply #256 on: February 27, 2010, 02:27:13 PM » |
|
I didn't realize you were the guy who needed ALL his questions answered IMMEDIATELY. Or that NOBODY else can post questions. I'm sorry.
Also originally they didn't appear at entrance to dark levels, you started the game with a limited amount of them, like bombs.
|
|
|
|
« Last Edit: February 27, 2010, 02:30:43 PM by Kirby Lord »
|
Logged
|
|
|
|
gummybears123
Mossy

Posts: 5776
Yummy Gummy!
|
 |
« Reply #257 on: February 27, 2010, 02:28:19 PM » |
|
Oh, I didn't know that........ and I didn't mean it like that, sorry Kirby 
|
|
|
|
|
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: 1462
Nyarlathotep
|
 |
« Reply #258 on: February 27, 2010, 02:30:27 PM » |
|
Sorry for getting angry, I am just in a bad mood because I'm sick today. -_-'
|
|
|
|
|
Logged
|
|
|
|
|
banna8
|
 |
« Reply #259 on: February 27, 2010, 02:33:38 PM » |
|
Also, I have a request of my own. Is it possible to draw a gradient rectangle (as you see in the drag and drop DRAW section) using GML?
I want to draw a gradient on the HUD using scrDrawHUD Has anyone any insight as far as this?
|
|
|
|
|
Logged
|
|
|
|
|
DariusK
|
 |
« Reply #260 on: February 27, 2010, 02:41:17 PM » |
|
You can draw a gradient rectangle using the draw_rectangle_color() function. From the Game Maker help files:
draw_rectangle_color(x1,y1,x2,y2,col1,col2,col3,col4,outline) Draws a rectangle. The four colors indicated the colors at the top-left, top-right, bottom-right, and bottom-left vertex. outline indicates whether only the outline must be drawn (true) or it should be filled (false).
|
|
|
|
|
Logged
|
|
|
|
gummybears123
Mossy

Posts: 5776
Yummy Gummy!
|
 |
« Reply #261 on: February 27, 2010, 02:44:54 PM » |
|
Darius, can you answer this?
How do I make it so that the sprite changes when I do an action? (when I double jump/fly)
|
|
|
|
|
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
|
|
|
|
DariusK
|
 |
« Reply #262 on: February 27, 2010, 02:51:16 PM » |
|
All you need to do is change sprite_index when the action occurs. Just set it equal to the name of the new sprite you want it switched to. sprite_index = sYourNewSprite;
|
|
|
|
|
Logged
|
|
|
|
|
banna8
|
 |
« Reply #263 on: February 27, 2010, 02:52:18 PM » |
|
try : if (kJumpPressed) { sprite_index = [{FLYING SPRITE}] } EDIT: NINJA'D!!!
|
|
|
|
|
Logged
|
|
|
|
Kirby
Mossy

Posts: 1462
Nyarlathotep
|
 |
« Reply #264 on: February 27, 2010, 02:52:28 PM » |
|
How would I add flares to the HUD? And remove them from the start of the level.
|
|
|
|
|
Logged
|
|
|
|
gummybears123
Mossy

Posts: 5776
Yummy Gummy!
|
 |
« Reply #265 on: February 27, 2010, 02:54:34 PM » |
|
try : if (kJumpPressed) { sprite_index = [{FLYING SPRITE}] } EDIT: NINJA'D!!! Where do I put this? And answer Kirby too How would I add flares to the HUD? And remove them from the start of the level.
|
|
|
|
|
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: 9773
The will of the Galaxy.
|
 |
« Reply #266 on: February 27, 2010, 02:55:26 PM » |
|
In readding flares, how would you change kFlarePressed ?
|
|
|
|
|
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!
|
|
|
|
banna8
|
 |
« Reply #267 on: February 27, 2010, 02:57:20 PM » |
|
scrCharacterStepEvent for gummy, and im looking for kirby's answer.
KIRBY!! there are two hunks of code commented out in the step event of oPlayer1 in the action block. They are at lines 13 and 945. Un comment those out.
in scrEntityGen, comment out the flarecrate spawning part at line 528
|
|
|
|
« Last Edit: February 27, 2010, 03:01:30 PM by banna8 »
|
Logged
|
|
|
|
gummybears123
Mossy

Posts: 5776
Yummy Gummy!
|
 |
« Reply #268 on: February 27, 2010, 03:03:15 PM » |
|
Thanks, and how do I make it so that only when I'm in that sprite and I touch the ceiling, I change sprites? ( I dont know how to do the ceiling part)
|
|
|
|
|
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: 9773
The will of the Galaxy.
|
 |
« Reply #269 on: February 27, 2010, 03:05:53 PM » |
|
collision_point(x+8, y-1, oSolid, 0, 0
might be what you looking for gummy
|
|
|
|
|
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!
|
|
|
|