User Tag List

Results 1 to 2 of 2

Thread: Enemy sprite question

  1. #1
    No Products Registered

    Join Date
    Oct 2008
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Enemy sprite question

    I have a question about enemy sprites. How would you generate new sprites once the player kills the current ones on-screen? For example: I have X number of enemy sprites on screen; Player 1 destroys them, but now I want more to appear. Does this work on a then statement or something else?

  2. #2
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: Enemy sprite question

    It depends on when you want more to appear and where. You could code based on the number of enemies are left on the screen. Or, when there are no enimies left, create new spawn points in random locations on the screen, and then create the enemies at those spawn points, destroying the spawn points as the enemy are created at them.

    You could also code for another enemy to be spawned at each enemy position as they get destroyed.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

Similar Threads

  1. Question about 2.5 Animation/Sprite editor.
    By diefox in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 9th December 2013, 05:08 PM
  2. Enemy Question
    By CADMAN in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 27th April 2010, 05:38 AM
  3. Question about sprite sizes
    By Shawn in forum Hardware Accelerated Runtime
    Replies: 2
    Last Post: 28th May 2009, 06:42 PM
  4. Question about enemy AI
    By gamemaster in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 28th January 2009, 09:58 PM
  5. Question about Enemy AI
    By gamemaster in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 12th November 2008, 01:29 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •