I’m making a flash game for my site and I’ve faced a problem…Actually, a few. I’ll list 'em. (it’s a surfing type of game, also my first flash game ever. @.@)
~~
- When you hit a shark or log, a message should appear. It used to appear, but for some reason it no longer does…The script for it looks somewhat like this:
if (_root.you, hitTest(_root.shark)) {
_root.error = “Idiot-you ran right into a shark!”;
_root.total = _root.total - 150;
} else {
_root.error = “”;
}
if (_root.you, hitTest(_root.log)) {
_root.error = “Stupid-you ran into a LOG!”;
_root.total = _root.total - 150;
} else {
_root.error = “”;
}
- Also, along with the log and shark thing, I would like it to only deduct points once(when you first hit it). Otherwise, it keeps deducting as long as you’re touching 'em…
- With the log, it doesn’t do random movement. The script is correct(I copied it off of what I used on the shark, which is on a different layer), but the log won’t move at all…
- When you do a trick, I have it load a movie for the trick. How can I get it to play once and then turn off? Otherwise it keeps playing…
- As with above, how can I get it to load in the spot where you are when you call for the trick?
~~
Thanks to anywho who can help me out!