Clothing, is it possible?

For questions about using Classic.

Post » Sat Jun 28, 2008 5:51 pm

I was making a RPG in the style of The Sims or MySims in Adobe Flash CS3, but I started playing with Construct, and I like it so much I want to make the game in Construct instead of Flash. However, I have some rather advanced features planned, and I'm not sure Construct is able to adopt such functions just yet.

One such feature is the ability to change various parts of your body. I'm keeping it simple and only having two parts to your body: the body and the head. The body is one big suit you can change at a clothing store or in your bedroom. The head is set during character creation from a drop-down box.

Do you know how I could go about adding this feature to a Construct game project? What would be most efficient?
B
2
G
4
Posts: 71
Reputation: 1,192

Post » Sat Jun 28, 2008 6:01 pm

I'd recommend waiting until 1.0 before starting serious projects, because the current release has known bugs that may interrupt your progress. Still, you can achieve what you want by maybe using different sprites for different pieces of clothing, and different animations for different styles (eg. coat, jumper, shirt etc). You could also use the colour filter to change the colour of the clothes: draw the clothes white, and applying a filter will allow you to make the clothes any colour.
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,544

Post » Sat Jun 28, 2008 6:27 pm

Depends on how much cloth/armors and headgear you want to create if too much to create a sprites of every version of it, then you should try create bodies without heads that would be main characters.

http://www.mediafire.com/?m1m91wxz0dn

Here's an example
B
4
S
2
G
4
Posts: 719
Reputation: 2,938

Post » Wed Jul 02, 2008 9:55 am

Doppel, that cap is very helpful... thanks.
I was surprised at how simple that was. :oops: Now, I can't seem to figure out how to set an animation for walking in each direction. Any help is appreciated. I feel like such a newb.
B
2
G
4
Posts: 71
Reputation: 1,192

Post » Wed Jul 02, 2008 10:38 am

Dont play with animations they are bugged and not fully written.
B
4
S
2
G
4
Posts: 719
Reputation: 2,938

Post » Wed Jul 02, 2008 2:53 pm

Instead of animation you could try to create your own skeletal animation system (or ragdoll system using physics object behaviour and hinges) and that would just be a matter of rotating the clothing objects into position (although you will have to figure out the exact positions and angles, you could create a program to give you the values and etc) on the plus side, you dont have to animate each piece of clothing to fit onto the body. Here is a link to more information about Skeletal Animation [url:3krmj4vb]http://en.wikipedia.org/wiki/Skeletal_animation[/url:3krmj4vb]
"Construct 4 lets YOU make advanced games! (maybe)" Construct Classic - Examples Kit
B
86
S
28
G
13
Posts: 2,092
Reputation: 15,009

Post » Thu Jul 03, 2008 3:20 am

Since the animation options aren't ready, I'll just wait on that.
B
2
G
4
Posts: 71
Reputation: 1,192

Post » Wed Jul 09, 2008 6:24 am

Doppel, that CAP doesn't seem to work for me. It says that ELSE is not allowed as the first condition. I'm using version 0.96 of Construct; any ways for me to fix that?

Jayjay, experimenting with using some very basic skeletal animation for a zombie game. Construct seems to handle them much better than most game making software ;)
B
2
G
4
Posts: 26
Reputation: 1,102

Post » Wed Jul 09, 2008 8:58 am

[quote="Muz":1axrx2yc]Doppel, that CAP doesn't seem to work for me. It says that ELSE is not allowed as the first condition. I'm using version 0.96 of Construct; any ways for me to fix that?[/quote:1axrx2yc]

Doesnt work for me either... probably a bug or Ashley changed something in logical manner.

Edit: Well anyway here's repaired cap
[url:1axrx2yc]http://www.mediafire.com/?2h5tj1xftnx[/url:1axrx2yc]
B
4
S
2
G
4
Posts: 719
Reputation: 2,938

Post » Wed Jul 09, 2008 5:19 pm

[quote="Muz":1deuz3j6]Jayjay, experimenting with using some very basic skeletal animation for a zombie game. Construct seems to handle them much better than most game making software ;)[/quote:1deuz3j6]

Oh nice! How well is it working?
"Construct 4 lets YOU make advanced games! (maybe)" Construct Classic - Examples Kit
B
86
S
28
G
13
Posts: 2,092
Reputation: 15,009

Next

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 8 guests