Destroy sprite on Start of Layout.

Discussion and feedback on Construct 2

Post » Mon Nov 03, 2014 1:00 am

For every game I have made or am working on I have to destroy a bunch
of sprites in the beginning that are created later during play. Is there a
better way to have sprites in the game that do not have to be in the layout
from the beginning? Is this the way everybody does it or am I missing something?

Thanks.

i.e. Bullets and missiles that get created by firing them when playing the game.
B
4
Posts: 17
Reputation: 234

Post » Mon Nov 03, 2014 1:13 am

You could have a separate layout, that's not accessed during run time, where you put all of your sprites, instead of having them on layouts you're actually using for your game.
B
33
S
12
G
7
Posts: 227
Reputation: 7,582

Post » Tue Nov 04, 2014 12:29 am

I use the same method as KFC ... I have a layout named "assets" where I put all the object that will be created/spawned during gameplay.
B
49
S
15
G
6
Posts: 535
Reputation: 7,197


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 17 guests