well i just made a little gun, where as when you shoot, it shoots the bullet and creates a bullet "leftover" (dunno its name rly), that dissapears in like... 5 seconds or so, i need help with this:
i gave the bullet leftover thing, a space ship movement so it falls in a increasing speed up to... 30 points i think, so far, no prob, the problem is, i want that, when 2 bullet leftovers collide with each other, stack on top of the other, it works if i do the "stop movement" command, but if 2 of them, hit in mid air, they stay there until they dissapear, i want it so they stack on top, but still be able to fall, any ideas?
thanks in advance
ooo thx urban monk, also... i have a similar problem, i made the same thing, this time with blocks that each have a spread value
i made like 4 blocks (its the same block, just spreaded value a)
the 4 of them have 6 hp (i suppose to call it hp)
when i shoot them, i substract one, and make it look like something else (i tried using counters, but took a few options out of what i needed so i opted for active objects)
if i try what u said, how do i make it so when i change it for the new "ground ice block" to have the same hp and not get confused with the other blocks?
thnx for the bullet thing btw that works
Well if the blocks aren't using built-in movements you can always store the different images on different directions.
So then you could do this (assuming your directions range from 0-5 that contain the images)
"Bullet" Collides with "Block"
-Subtract 1 from "hp" of "Block"
-Set Direction Value of "Block" to (6-("hp" of "Block")) <- The "6-" at the beginning is assuming that at direction 0 the object has full hp.
To make the different images for this code to work open your "Block" objects animation editor then..
...After all the images have been created the code should work!
IF for whatever reason you are using built-in movements there is another way to do this that's a bit harder, especially if you have animation, but I'll just wait and see if this works for you first!
thankyou, ill start thinkering with this, one small question more, if its not much to ask, is there a way to make active object images? lets say, in the game, there is a sword, is there a way pplz can like.. edit the sword without being able to look at the code? kinda like.. drawn to life, u can draw and re draw the stuff (i dun mind if u dun do it In-game, but to be able to atleast)
is that possible?