User Tag List

Results 1 to 3 of 3

Thread: Spawning bad guys

  1. #1
    Clicker Fusion 2.5Android Export Module
    JRP's Avatar
    Join Date
    Apr 2014
    Posts
    90
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Spawning bad guys

    So im trying to make random bad guys appear from the left or right side of the screen and have them appear more when your score increases,but i want to be in full control of how many bad guys are allowed when the score is at a certain value. ATM the setup i have is quite messy for example "score>100 create "bad guy" every 3 seconds etc , i did this and things got messy really fast and have found i dont have much control if i want to make the enemies stop spawning when the score reaches say 1000 it just keeps spawning them so its messed up alot. Any help appreciated

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export Module

    Join Date
    Dec 2013
    Posts
    156
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Have a global value which represents the enemies that you have on the screen. Then change the event with the spawning and add..

    "myValue" <= X

    ..where X is the amount you want ( you can even have lets say "CurrentEnemies" and "MaxEnemies" and work with two variables)

    Then whenever you spawn an enemy make sure to add 1 to that value and substract 1 if an enemy disapears.

    Cheers

  3. #3
    Clicker Fusion 2.5Android Export Module
    JRP's Avatar
    Join Date
    Apr 2014
    Posts
    90
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks for the info

Similar Threads

  1. Hey guys, help me out? :)
    By DistantJ in forum iOS Export Module Version 2.0
    Replies: 13
    Last Post: 9th November 2012, 12:37 AM
  2. spawning problem
    By tailsko in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 31st August 2011, 10:56 PM
  3. Well Done Guys
    By Steven in forum Click Convention 2011 (archived)
    Replies: 14
    Last Post: 25th August 2011, 01:00 AM
  4. Hi guys. How far from A to B?
    By AerosolSP in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 15th January 2007, 12:41 PM

Posting Permissions

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