Results 1 to 10 of 14

Thread: New Character Creator - Alpha (Source included)

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25
    Hey cool concept. If only I had such a thing for some of my older projects. Hmm... actually I was thinking about doing a somewhat retro style Castlevania style RPG not too long ago where you can change your clothes and general appearance. I wonder if this approach could be helpful.
    Jason McMillen
    Pascal Game Development
    Co-Founder





  2. #2
    Would it be easy to create a new character with your editor, based on a template?

    I'm curious about the workflow. Could you elaborate?
    Coders rule nr 1: Face ur bugz.. dont cage them with code, kill'em with ur cursor.

  3. #3
    Quote Originally Posted by chronozphere View Post
    Would it be easy to create a new character with your editor, based on a template?

    I'm curious about the workflow. Could you elaborate?
    Thats the basic idea. The "templates" that are there now I grabbed from http://silveiraneto.net/tag/pixelart/ and broke each layer (in Gimp) from his images into a new PNG with full alpha. Then the app basically puts your select layers (in order) back together into a single image again. Of course allowing you to edit each layer. Granted you could do the same thing in Gimp, but I wanted something faster, easier, and lighter than Gimp.

    You can add your own stuff and organize it by placing it into the partsbin directory (and sub directories) as you see fit. The app takes care of actually sizing the image, but doesn't do scaling (yet). I think I'm going to work on setting it up so you select a base body and then it attempts to scale the graphics appropriately. This way you could have multiple sets of graphics for different sized characters. Right now I'm working out using different scaling techniques so you can create larger/smaller versions of the given character without much trouble.

    Hopefully this will be of some use to someone besides myself, but if not, I'm having fun with it for now

    - Jeremy

  4. #4
    This seems great! I didn't downloaded it yet (I'm at job now) so I have few stupid questions.

    Are the templates "fixed" or can add new ones? I'm thinking in some character templates I've seen in opengameart.org.

    Is transparece set by alpha channel only or can define a "transparent colour" (i.e. pink)?

    Does it support 8bpp sprites?
    No signature provided yet.

  5. #5
    Quote Originally Posted by ?ëu?±o Mart??nez View Post
    Are the templates "fixed" or can add new ones? I'm thinking in some character templates I've seen in opengameart.org.
    You can add your own, just simple dump the 32 bit PNG file into the proper partsbin folder (or create new ones, add ones to existing etc) and it will be picked up the next time the app is run. All the exiting parts are for 105x210 images, but it should support just about anything.

    Quote Originally Posted by ?ëu?±o Mart??nez View Post
    Is transparece set by alpha channel only or can define a "transparent colour" (i.e. pink)?
    Right now it only uses PNG's with Alpha channel (32 bit PNG). I've been thinking through ways to allow color key's and group parts by character size, though this will have to wait till I get other features done as its low on my totem poll.

    Quote Originally Posted by ?ëu?±o Mart??nez View Post
    Does it support 8bpp sprites?
    See above response on import, but for export, you can save to any image format that FPC/Lazarus supports. Basically it just does a draw to the surface and then saves it with the default image streamer for the extension.

    - Jeremy

    PS: Thanks for the link to OpenGameArt.org hadn't seen that one before

  6. #6
    Thanks for the info. BTW I can use GIMP or TuxPaint to complete the spritework.

    I've tested it and I think I'll use it soon and often. But I've found two problems.

    First, my Lazarus can't read property tvPartsBin.Options. May be you're using a different Lazarus, are you? Mine is 0.9.28.2-ubuntu beta.

    The other is that it shows graphics "face-down" running it in Wine. See the attached file. I've read something abaut this in the Lazarus' forums and FPC's mailing lists but can't remember what was the conclusion.

    Anyway, everything else do work.
    Attached Images Attached Images
    No signature provided yet.

  7. #7
    I'm running Lazarus 9.29.?? (rev 26163) with FPC 2.4.1, so yeah, there are new features that don't exist in the 9.28 builds.

    Can't see your screen shot to see what your talking about with the "face down" part. If I get a chance I'll see if I can spin up a Linux install and try running the app in there. Since your using Ubuntu you can use APT package installs, maybe I should put one of those together for this project

    - Jeremy

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •