Topic: Games / First Game
How do I fix the hit detection? I’m aware that bug exists.
|
Jul 15, 2008
|
Topic: Games / First Game How do I fix the hit detection? I’m aware that bug exists. |
|
Jul 15, 2008
|
|
|
Jul 15, 2008
|
Topic: Games / First Game I know, it’s not done, I want at least 30 levels. |
|
Jul 15, 2008
|
Topic: Games / First Game Yeah, I wanted to make something challenging. |
|
Jul 15, 2008
|
Topic: Games / First Game you have to fly the ship to it. |
|
Jul 15, 2008
|
Topic: Games / First Game It’s called R Rocket, it’s really hard :x. Tell me if you can get to the red dot! http://www.swfpages.com/view/125889.htm The real thing is at a fast FPS. Here it is: http://mihd.net/92ru83z |
|
Jul 12, 2008
|
Topic: Programming / Quick question anyone can answer Is there a site that you upload .swf files to that generate HTML that you can embed on your site? |
|
Jul 9, 2008
|
Topic: Programming / One last question. Thanks a lot!!! I’ll go check it out!!! Ergh, I’ll just use that for something else, it works, but I have to fix my character… And I’m that lazy. |
|
Jul 9, 2008
|
Topic: Programming / One last question. just type <...pre> then code <.../pre> leave out the .’s |
|
Jul 9, 2008
|
Topic: Programming / One last question. Ok here is my code://Move with your arrow keys, optimized at 30 FPS
onClipEvent (enterFrame) {
if (Key.isDown(Key.RIGHT)) {
this._rotation=260 x += 5;
}
if (Key.isDown(Key.LEFT)) {
this._x -= 5;
}
if (Key.isDown(Key.UP)) {
this._y -= 5;
}
if (Key.isDown(Key.DOWN)) {
this._y += 5;
}
}
and here is the error I get :P
**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 4: Syntax error.
this._rotation=260 x += 5;
Total ActionScript Errors: 1 Reported Errors: 1
Do I need to add ( )?
|
|
Jul 9, 2008
|
Topic: Programming / One last question. I had it a bit ago, but I’ve seemed to have lost it. Here is the code I use to move://Move with your arrow keys, optimized at 30 FPS
onClipEvent (enterFrame) {
if (Key.isDown(Key.RIGHT)) {
this._x += 5;
}
if (Key.isDown(Key.LEFT)) {
this._x -= 5;
}
if (Key.isDown(Key.UP)) {
this._y -= 5;
}
if (Key.isDown(Key.DOWN)) {
this._y += 5;
}
}
And it doesn’t turn in the direction I push, It just slides, I would like the code to make it turn left when I press left then move, ect…
Any help would be great! Thanks!
Edit: I was hoping to find this, but I have searched for an hour with no results, I would like the AS for making a wall that a player can’t move through. |
|
Jul 9, 2008
|
Topic: Programming / Goal to take you to new level THANK YOU SO MUCH ! Adding _root. worked, thanks, now I cant finally get on with my game! I hope you all like it, even though the name seems a bit funny! |
|
Jul 8, 2008
|
Topic: Programming / Goal to take you to new level Oh, ok, thanks, I’ll test that out! EDIT: Ok, now the leaf doesn’t work at all, I don’t even know if it worked anyway, do I need to put something were the x, and y are? If so, what? |
|
Jul 8, 2008
|
Topic: Programming / Goal to take you to new level
|
|
Jul 8, 2008
|
Topic: Programming / Goal to take you to new level The code I have in frame one is “stop();” And also, it gives me that error when I test the flash document, not when pressing check. |
|
Jul 7, 2008
|
Topic: Programming / Goal to take you to new level It’s ok, could you point me in the direction of a good tut? |
|
Jul 6, 2008
|
Topic: Programming / Goal to take you to new level Here it is: http://mihd.net/kyg8tzb I use MX 2004 PRO |
|
Jul 6, 2008
|
Topic: Programming / Goal to take you to new level What? it gave me the same error, I did what you said… |
|
Jul 6, 2008
|
Topic: Programming / Goal to take you to new level Ok, here is the leaf: onClipEvent (enterFrame) { if(leaf_mc.hitTest(char._x,char._y,true)){ gotoAndPlay(10); } } and here is how i move: //Move with your arrow keys, optimized at 30 FPS onClipEvent (enterFrame) { if (Key.isDown(Key.RIGHT)) { this._x += 5; } if (Key.isDown(Key.LEFT)) { this._x -= 5; } if (Key.isDown(Key.UP)) { this._y -= 5; } if (Key.isDown(Key.DOWN)) { this._y += 5; } }
|
|
Jul 6, 2008
|
Topic: Programming / Goal to take you to new level Hmm, when I try to press CNTL+ENTER, i get this: Error Scene=Scene 1, layer=Layer 1, frame=1:Line 1: Mouse event expected on () {gotoAndStop(10); Total ActionScript Errors: 1 Reported Errors: 1 |
|
Jul 6, 2008
|
Topic: Programming / Goal to take you to new level Wow! Thank you so much! Your so awesome! But I got an error: Error Scene=Scene 1, layer=Layer 1, frame=1:Line 1: ‘)’ expected if(leaf_mc.hitTest(char._x,char._y,true){ Total ActionScript Errors: 1 Reported Errors: 1 |
|
Jul 6, 2008
|
Topic: Programming / Goal to take you to new level I just need to know how to make this. I’m making a game, I can do EVERYTHING but this, I want to make a leaf takes you to a new frame, when your character that is controlled by the arrow keys walks over it. |
|
Jul 6, 2008
|
Topic: Programming / "Statement must appear with on handler" - Help i make a lot of buttons, but sometimes I make movie clips. |
|
Jul 5, 2008
|
Topic: Programming / "Statement must appear with on handler" - Help Its on a button usually. but what are they fore frames and stuff like that? |
|
Jul 5, 2008
|
Topic: Programming / "Statement must appear with on handler" - Help I get this:
|