Search:
Type: Posts; User: Captain Jonesy
Search:
Search took 0.03 seconds.
-
Hi guys,
I'm currently making a 2D shoot em up game where each enemy created will follow the player around the level. I'm wondering for any suggestions or code tips on how to make the enemy...
-
Hi guys,
I've developing a 2D shoot em up game where I'm using a timer to increase the "Level" as the game progresses to determine how enemies are spawned on the screen - Level 1 = spawns 1 enemy,...
-
I placed that code within function onEnemyMove, just below your code var enemy:Enemy = Enemy(event.currentTarget);
var xDiff:Number = player.x - enemy.x + 3;
var yDiff:Number = player.y...
-
Great :) Thank you - works very well. I'm currently experimenting with their movement perimeters/properies because they over lap each other as they follow the same path. I'm thinking to either try to...
-
Basically from what i gather that you need tween Y axis and X axis functions to blend the animation motion together to make movement to use both axises at the same time seamlessly.
I've only even...
-
OK sure, so what you would suggest? Use Tweenlite or use a alternative way to create random movement for enemies via co-ordinates perhaps?
I looked at Tweenlite site looks like a good way to save...
-
Can new created objects on stage be set up as tween objects using tween animation?
Hi guys,
I'm currently making my own 2D shoot' em up and I've created a simple enemy spawn state machine which...
-
Hi guys,
I'm currently making my own 2D shoot' em up and I've created a simple enemy spawn state machine which allows the game to automatically keep spawning/creating new enemies on the stage.
...
-
Thanks redjag again, duh I don't know why I didn't think of that? But good one, thanks
Here's another issue/question although I think this probably deserves its own topic/thread actually but here...
-
Oh yeah of course, good point :) Thank you very much for your all help, you're been very helpful 5TonsOfFlax, good one!
-
Thats handy to know for future reference. You're right regarding the indentation, I've gone through my code again with your advice and its a big improvement, (there's shouldn't be any missing {s)...
-
Thanks redjag for the tip - using AS Highlight is a lot better.
Sadly I remain to have the same problem where the loop isn't spawning new enemies when old enemies are killed with my new code. I'm...
-
Ok, understand your points regarding the last } indentation for ending the function and the two spaces for new functions but I'm not certain by what you mean by "mark if statement"?
Do you...
-
Ok sure, I'm glad you're placed the law down and someone has told me straight. Going to hate me, but just allow me to relay what you're said and confirm that I understand your points from example of...
-
Hi - I've re-edited the code with less required {s although to be honst, its not that different as you say there is alot of defined if statements in this code that needed to create the functionality...
-
package
{
import flash.display.MovieClip;
import flash.events.Event;
import fl.transitions.Tween;
import fl.transitions.TweenEvent;
import fl.transitions.easing.*;
import...
-
Oh yes nesting, I understand what you mean - I do have problem with understanding when "{" and "}" is needed to start/end or break functions. I had the same problem when I script in Lua. Ok I give it...
-
Sorry I re-post/re-edited the code again. I've placed the functions in Bold and I've created more spaces between for the ease of reading. I hope thats a improvement.
package
{
import...
-
Hi 5TonsOfFlax,
Thanks for your input so far, I didn't mean for you to check the whole code but thank you nevertheless and I adapted my code accordingly to your suggestions.
Regarding your...
-
Thanks for your quick reply, you're been helpful although still stuck and abit puzzled as I've now placed "checkCollisionWithEnemies();" instance method in the MakeEnemies function but remains to...
-
@ 5TonsOfFlax - Yes sorry - "detection" thats what I meant, I need to use spell check before I post and yes to your question regarding the game can be compiled with it has full finished functions,...
-
Hi guys,
For some unknown reason whilst coding my shoot em up game, the bullet detection with the enemy will suddenly becomes unfunctional (not detecting bullets) when write additional code that...
-
Hi guys,
For some unknown reason whilst coding my shoot em up game, the bullet detection with the enemy will suddenly becomes unfunctional (not detecting bullets) when write additional code that...
-
Hi guys,
I'm currently developing my own 2D shoot em-up and using a book called "The essential guide to Flash games" as reference to create my own enemy spawn state machine where the game keep...
-
Hi guys,
I'm currently developing my own 2D shoot em-up and using a book called "The essential guide to Flash games" as reference to create my own enemy spawn state machine where the game keep...
|
Click Here to Expand Forum to Full Width
|