How do I Use sprite sheets for Objects

Get help using Construct 2

Post » Mon Aug 10, 2015 12:47 pm

Hey i have been using construct for some time now , but i never used sprite sheets for level assets(only for animations) , now i am interested how to use sprite sheet for game objects like level assets. Say i have sprite sheet 2048*2048 with 10 images in it and each has diferent size. how do i use it ?
B
11
S
3
G
1
Posts: 419
Reputation: 1,782

Post » Mon Aug 10, 2015 12:55 pm

ok the only way i found is to select an object inside the sprite sheet and copy and paste it into new frame , and do this for all objects. then in the editor set the initial frame. Is this the only way?
B
11
S
3
G
1
Posts: 419
Reputation: 1,782

Post » Mon Aug 10, 2015 7:35 pm

If you use a regular Sprite object and just assign different "views" for each frame, Construct will automagically build Sprite Sheets for you out of those frames.

This is the easiest way to do it, I think.

You can dynamically load images into frames on the fly using the "Load image from URL" after setting it to a specific frame too, if you want some kind of dynamic loading capacity.
https://www.ravenheart.ca/home
Company name changed to avoid Facebook-type shenanigans

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
22
S
6
G
1
Posts: 1,415
Reputation: 4,824

Post » Wed Aug 12, 2015 8:49 pm

waw good idea :-) thanks
B
11
S
3
G
1
Posts: 419
Reputation: 1,782


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 21 guests