Main Menu

How do I make and Bomb that can be used in and out of battle?

Started by FruitBodyWash, November 04, 2007, 02:50:18 AM

0 Members and 1 Guest are viewing this topic.

FruitBodyWash

I want to make a small bomb that can be used outside of battle as well as in.  While the specific area's that I would neeed them for, I could just make a simple event, I want the player to be able to use them any where, any time, even if in a lot of cases it won't be useful.  What I want to happen, besides the flash and shaking (which I can do) is make a small hole/crater in the ground two to four steps ahead of where the main char is looking.  Is this possible? For anywhere, any when?

"Keep smiling, it makes people wonder what you're up to."

OK, so what's the speed of dark?
What happens if you get scared half to death twice?

Since there's a duck-billed platapus, is there just a plain platapus? If so... what does that look like?

modern algebra

It's possible, but not very efficient with events. In order to make a mark on the ground, you would need an event in the map to cover the space. Since you want it to be able to happen at any yime in any map, you would have to have a lot of dummy events in the map, which can be kind of annoying to manage. It's certainly possible by using variables to get the X and Y position of the hero, and then add 2 in the direction he is then facing. You could then shake and flash and teleport one of the events to the square and change the graphic so that it looks like a bomb. The main problem with this is that unless you made an obscene amount of events (enough to cover the entire map) you could not account for the player just throwing bombs everywhere. Further, you would need to keep track of which bombs have been thrown in which maps, which means a variable for every map.

It would be more reasonable if you made it so that the burn mark would fade over time. Then you could reuse the same event and you would not need to keep track of how many bombs have been used in whatever maps. If you need any clarification, just ask.

FruitBodyWash

I could do that.  Thanks!!!  ;D i don't mind if the burn mark fades, I just wanted to be able to do it with out having to place an even on every tile of every map, as I beleive you pointed out the difficulty and shear.... annoyance of trying to do something like that.  so, thanks, I'll give it a try

"Keep smiling, it makes people wonder what you're up to."

OK, so what's the speed of dark?
What happens if you get scared half to death twice?

Since there's a duck-billed platapus, is there just a plain platapus? If so... what does that look like?