I’m making a game and I’ve encountered some problems…I have tried putting PHP with flash, but it doesn’t work! I just put this:
<?
and it’ll say “unexpected ‘<’ on line 1”…Plus, it doesn’t give game overs…I have this:
[AS]
if (_root.you, hitTest(root.mushroom)) {
gotoAndStop(“Scene 2”, 1);
}
[/AS]
And it doesn’t work! And yes, it IS is a clip event!
I also have one question…How can I get it so it randomally decides if a new mushroom will pop up or something else(like, apples get you points. So maybe a different colored apple that gives you more points instead of the regular amount). Thankies if you can help. ^^
It still doesn’t give you a game over…
As for the PHP-
I tried putting in the as because it didn’t work if I included a PHP page…And having it go to a PHP page is bad because then they can cheat and change their score.(I’m doing a send score that I need to include the PHP in it)
Well I don’t know about that, because instead of continuing the topic this is about, you started a new one causing me not to understand one thing of your ‘game’
my restart just stopped working…I didn’t continue it because I posted it a long while ago and no one was reading it anymore…I’m making the game for my pet site…You play as one of the pets and you eat the apples to get points but if you eat a mushroom you’re supposed to get a game over. If I could get any PHP to work with it, I’d do that part myself. But the rest has stopped working. This is the first game I’ve ever made with flash that’s actually getting somewhere…I attached it so you could see it for yourself and get an idea of what I’m trying to do.