r190 preview error Java with just simple sprites n container

0 favourites
  • 3 posts
From the Asset Store
7 Errors
$15 USD
7 Errors is a game where you have to find the 7 mistakes before time runs out. Can you find all 7? Have fun looking.
  • Problem Description

    Event three of my experimental file causes a error

    Attach a Capx

    https://dl.dropboxusercontent.com/u/5214903/construct2/catapult%20test.capx

    Description of Capx

    just a sprite spawning two sprites with bullet behavior

    Steps to Reproduce Bug

    • Step 1- create two sprites.
    • Step 2- Add green sprite to blue sprites container
    • Step 3- Make another sprite create blue sprite. This basically spawns both, green and blue sprite because of being associated in container
    • Step 4- on creating blue sprite, add action to create green sprite by blue sprite again. This action creates the error

    Observed Result

    On preview i get black creen and a error report on chrome while on firefox its just black screen.

    Disabling event 3 doesnt give the error. Updating Java didnt work.

    Expected Result

    just spawn sprites and spawn one more time the green sprite by my logic

    Affected Browsers

    • Chrome: (YES)
    • FireFox: (YES)
    • Internet Explorer: (YES)

    Operating System and Service Pack

    Win7

    Construct 2 Version ID

    r190

  • It's not a bug. You have set up your events to recurse infinitely on startup, so in this case the error message is correct.

    When creating Sprite5, it fires 'On created', which creates a Sprite4, which is in a container so also creates a Sprite5, which fires 'On created', which creates a Sprite4, which is in a container so also creates a Sprite5...

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • i see.. thankyou for the explanation

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)