User Tag List

Results 1 to 3 of 3

Thread: Issues with object spawning after long period of playing.

  1. #1
    No Products Registered

    Join Date
    Apr 2016
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Issues with object spawning after long period of playing.

    So I'm working on a project for a programming class where we have to make a functioning sidescroller. Enemies spawn frequently but after a while both enemies and bullets stop spawning. I can't figure out what the cause is, my only guess is the amount of objects on screen cause it to bug out but I tested this with a less intense version of the game and the same thing happened. The objects off screen shouldn't be despawning they are set to follow the frame so they don't disappear the bullets don't shoot far enough down to accidentally destroy them either. The enemies are meant to spawn on different timers and the bullets shoot upon the player pressing the spacebar if that helps any.

    I would like to know whats causing this and if there is a way to fix it so this doesn't happen again.

  2. #2
    No Products Registered

    Join Date
    Jul 2015
    Location
    MI, USA
    Posts
    48
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can you upload your mfa?

  3. #3
    Clicker Multimedia Fusion 2XNA Export Module
    SteevTee's Avatar
    Join Date
    Aug 2012
    Location
    Gloucester, UK
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi TurntSNACO

    From my limited experience, it sounds like your application is reaching the maximum Active Objects per frame. I think the default is 300 per frame. You can change this in the frame properties I think (to a maximum of 10,000).

    The main thing though is to make sure any Actives are destroyed once they have served their purpose, such as being out of the frame. This will keep the amount of actives to a minimum.

    Steve

Similar Threads

  1. Replies: 3
    Last Post: 18th February 2016, 11:39 AM
  2. Replies: 1
    Last Post: 11th August 2015, 07:14 AM
  3. string object period (.) wrapping
    By SolarB in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 21st March 2012, 03:08 AM
  4. Random object spawning?
    By Zambaku in forum The Games Factory 2 - Technical Support
    Replies: 5
    Last Post: 25th July 2009, 04:35 PM
  5. Trial Period Object
    By droberson in forum Extension Development
    Replies: 1
    Last Post: 5th April 2009, 03:24 PM

Tags for this Thread

Posting Permissions

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