The Daily Click ::. Forums ::. Klik Coding Help ::. Creating Custom Characters?!!!
 

Post Reply  Post Oekaki 
 

Posted By Message

The Logan



Registered
  14/08/2006
Points
  12
12th December, 2006 at 21:07:19 -

So I have TGF(I know, sorry), and i want to make an RPG where you can customize the look of your character (i.e. Hair syle, hair color, Body style, skin color.... How do i do this? Do I create a diffrent sprite for every possible combination the player can think of? Do I somehow combine the parts into one object? Or do I have to do the pain in the but thing of loading every body part seprately then make events that hold them together? Any one with help of some kind will be glady listened to and cherished in my heart forever.

 
Why isnt noob capitlized?

David Newton (DavidN)

Invisible

Registered
  27/10/2002
Points
  8322

Honored Admin Alumnus
12th December, 2006 at 21:30:14 -

Separating the body parts is definitely the way to go - that way, you can just draw out each item individually rather than have to deal with every possible combination (which even with a small number of items would just become completely unmanageable).

To make sure that the parts don't separate when you move, make sure all the events that move your character are further up the event list than those that set the positions of the extra objects - or alternatively, use an invisible collision detection object and set all your objects continually to its position.

 
http://www.davidn.co.nr - Games, music, living in America

The Logan



Registered
  14/08/2006
Points
  12
12th December, 2006 at 21:52:14 -

Okay i guess i can do that. lol. im so lazy

 
Why isnt noob capitlized?

David Newton (DavidN)

Invisible

Registered
  27/10/2002
Points
  8322

Honored Admin Alumnus
12th December, 2006 at 22:13:35 -

It'd be far harder work to try and do every combination, trust me.

 
http://www.davidn.co.nr - Games, music, living in America

Lazernaut



Registered
  08/09/2002
Points
  1103

VIP MemberThe Cake is a LieIt's-a me, Mario!Wii OwnerPokemon Ball!
14th December, 2006 at 04:43:12 -

i think the easiest thing is to not use the built in movement system. That way you can make, for example, 5 objects (one for hair, body, etc.). Since active objects can have 32 directions, you can make a different piece for every direction. Then, since you would be using a custom movement system, you can just store the different directions in variables and have the objects' directions according to these variables.

Image Edited by the Author.

 
n/a

Dogzer



Registered
  07/02/2011
Points
  1029
14th December, 2006 at 13:43:49 -

that's a bad idea

 
n/a

Lazernaut



Registered
  08/09/2002
Points
  1103

VIP MemberThe Cake is a LieIt's-a me, Mario!Wii OwnerPokemon Ball!
14th December, 2006 at 13:59:14 -

and why is that? if you say something is bad you need to explain why.

 
n/a

Joe.H

Evil Faker

Registered
  19/08/2002
Points
  3305
14th December, 2006 at 14:28:58 -

If you'r having a 4 directional movement, having different animations in each direction for each different object is stupid

4 directions per animation gives a maximum of 8 possible items per thing

You could use active picture box with maximum dimensions for each type of item. That way the user can create their own look, or use a predefined one.

 
My signature is never too big!!!

Dogzer



Registered
  07/02/2011
Points
  1029
14th December, 2006 at 14:54:24 -

that's a bad idea too

 
n/a

Joe.H

Evil Faker

Registered
  19/08/2002
Points
  3305
14th December, 2006 at 15:15:05 -

You're a bad idea.

 
My signature is never too big!!!

- Yelnek -



Registered
  03/05/2003
Points
  1016

VIP MemberI am an April Fool
6th January, 2008 at 17:22:27 -

Hmmmm...
Are there any examples out there? I think Phizzy made something, but I am also looking for an easier way to create a custom character with maybe 6 layers of custom goodness. It will be using it for an up and coming (...haha!) online battle game.

Horns
Hair
Head
Eyes
Body
Legs

Each thingy would be saved to a file sever side, but please help! Haha! I need it foe show...


 
"I have dreamed a dream... But now that dream is gone from me."








\/\/olf

Creative Genius

Registered
  06/08/2005
Points
  76

VIP Member
6th January, 2008 at 18:19:26 -

Well, what I did for a project I was working on which has been abandoned for a while now, was make the weapon the character holds, an image. An active image so that you can rotate it. And it did so, perfectly. I didnt need many animations to make the sword slash or anything cause it would move in harmony with the character. There was this thing i had to do to get the angle of the sword from the character's hand: http://www.create-games.com/forum_post.asp?id=202646 <---

Other than that, what you can do is make images and set them at different locations of the character's body. hmmm...come to think of it, i donno if tgf has an active image object oops.

I think the best thing would be to get mmf2 and liji's extension to change hue/ sat/ and lightness of your actives. Also, you can have a lot more animations per object in mmf than in tgf. And because of liji's extension you wont have to make different colors for each object, it will be done at runtime.

 
Image

www.OldMansTale.net
Sign the Petition! Go go Go!!

Knudde (Shab)

Administrator
Crazy?

Registered
  31/01/2003
Points
  5125

Has Donated, Thank You!Clickzine StaffKlikCast StarVIP MemberGhostbuster!Dos Rules!I donated an open source project
7th January, 2008 at 00:15:25 -

Wholly revived topic Batman!

 
Craps, I'm an old man!

Del Duio

Born in a Bowling Alley

Registered
  29/07/2005
Points
  1078

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!Evil klikerHasslevania 2!The OutlawSanta Boot
7th January, 2008 at 00:22:51 -

Wow, didn't realize that it was so old.
I was wondering why the sudden influx of David Newton.

 
--

"Del Duio has received 0 trophies. Click here to see them all."

"To be a true ninja you must first pick the most stealthy of our assorted combat suits. Might I suggest the bright neon orange?"

DXF Games, coming next: Hasslevania 2- This Space for Rent!

Knudde (Shab)

Administrator
Crazy?

Registered
  31/01/2003
Points
  5125

Has Donated, Thank You!Clickzine StaffKlikCast StarVIP MemberGhostbuster!Dos Rules!I donated an open source project
7th January, 2008 at 00:26:57 -

yep, the baldness triggered my...batman sense...

 
Craps, I'm an old man!
   

Post Reply



 



Advertisement

Worth A Click