How do I load only some sprites of a group of hundreds?

Get help using Construct 2

Post » Thu Jul 09, 2015 12:58 pm

Hi all! First post.

I'm trying to make a system for the player to design their character (for example, a car). In this screen you can put different chasis, bodies, tires, windows, etc on. These are different sprites with different animations. There will be thousands of combinations but the user only puts 5 or so parts together to create their car. I don't want to load every sprite into the game level for performance reasons. My question is, how can I save the car that the player has designed so when they start the game, they are driving their car with their parts but without loading every possible sprite? Thanks in advance!
B
2
Posts: 2
Reputation: 154

Post » Thu Jul 09, 2015 1:06 pm

I guess you could put all sprites on a seperate layout, Lets call it TheCloset (without an event sheet) and only create the ones through events when needed..
That should prevent them all being loaded into memory, if I remember correctly..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Thu Jul 09, 2015 2:49 pm

I could see how that would work, can anybody confirm if that would use memory?
B
2
Posts: 2
Reputation: 154


Return to How do I....?

Who is online

Users browsing this forum: dop2000, Maako, max2612 and 7 guests