dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: Captain Jonesy

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. How to configure random enemy AI movement?

    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...
  2. Use timer to determine enemy attack patterns

    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,...
  3. Sorry typing too quickly - too much coffee

    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...
  4. Great :) Thank you - works very well

    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...
  5. Basically from what i gather that you need tween...

    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...
  6. OK sure, so what you would suggest? Use Tweenlite...

    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...
  7. Can new created objects on stage be set up as tween objects using tween animation?

    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...
  8. 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 allows the game to automatically keep spawning/creating new enemies on the stage.
    ...
  9. Thanks redjag again, duh I don't know why I...

    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...
  10. Replies
    20
    Views
    2,621

    Oh yeah of course, good point :) Thank you very...

    Oh yeah of course, good point :) Thank you very much for your all help, you're been very helpful 5TonsOfFlax, good one!
  11. Replies
    20
    Views
    2,621

    Thats handy to know for future reference. You're...

    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)...
  12. Thanks redjag for the tip - using AS Highlight is...

    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...
  13. Replies
    20
    Views
    2,621

    Ok, understand your points regarding the last }...

    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...
  14. Replies
    20
    Views
    2,621

    Ok sure, I'm glad you're placed the law down and...

    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...
  15. Replies
    20
    Views
    2,621

    Hi - I've re-edited the code with less required...

    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...
  16. Replies
    20
    Views
    2,621

    package { import flash.display.MovieClip; ...

    package
    {
    import flash.display.MovieClip;
    import flash.events.Event;
    import fl.transitions.Tween;
    import fl.transitions.TweenEvent;
    import fl.transitions.easing.*;
    import...
  17. Replies
    20
    Views
    2,621

    Oh yes nesting, I understand what you mean - I do...

    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...
  18. Replies
    20
    Views
    2,621

    Sorry I re-post/re-edited the code again. I've...

    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...
  19. Replies
    20
    Views
    2,621

    Hi 5TonsOfFlax, Thanks for your input so far,...

    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...
  20. Replies
    20
    Views
    2,621

    Thanks for your quick reply, you're been helpful...

    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...
  21. Replies
    20
    Views
    2,621

    @ 5TonsOfFlax - Yes sorry - "detection" thats...

    @ 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,...
  22. Replies
    20
    Views
    2,621

    Help with bullet detection with enemy

    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...
  23. Help with bullet detection with enemy

    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...
  24. Having problems with setting up enemy spawn state machine

    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...
  25. Having problems with setting up enemy spawn state machine

    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...
Results 1 to 25 of 29
Page 1 of 2 1 2




Click Here to Expand Forum to Full Width

HTML5 Development Center