object not getting created

0 favourites
  • 5 posts
From the Asset Store
Hand-painted tiles, objects, animated objects, and background to build a colorful Mayan civilization environment.
  • + System: Every spawnSpeed seconds

    -> System: Create object ring on layer "game" at (ringSpawner.X, ringSpawner.Y), create hierarchy: False, template: ""

  • object is getting created as shown in debugger. but not coming in the layout when played

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Check in the debugger on what X and Y it gets created

    Possibly:

    ringspawner x,y is somewhere outside your viewport

    another ringspawner is somewhere outside of your layout

    ringspawner origin point is way off

  • thanks man. but the problem is object is getting created outside viewport because of the position of ringSpawner.

    + System: Every spawnSpeed seconds

    -> System: Create object ring on layer "game" at (ringSpawner.X, ringSpawner.Y), create hierarchy: False, template: ""

    -> ring: Set animation frame to random(0,3)

    -> ring: Set Bullet angle of motion to 90 degrees

    -> ring: Set Bullet speed to ringSpeed

    but when i put some bullet action on it to 90 degrees it not going towards the right instead of downward motion. surprisingly if i set the angle as 10 degree also it si going the same direction as when i set the 90 degree.

  • Suggestion, place the spawner, temporarily, somewhere within the viewport. Then perform the spawn action and see what your settings does with the bullet behavior (ring)

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