![]() |
|
![]() |
#1 | |
it's monkey twice!
Join Date: Dec 2007
Posts: 175
|
Re: TF Flash Game the Second
Quote:
Was working on drawing a mouse/rat sprite while coding the Cat stage. Initially I was going to have two of the cards be "shrink/grow" cards that would do pretty much what you expect. However, once again, I ran into a roadblock when it comes to dealing with Flash. I imagine I can cheat and accomplish this now (maybe), though I don't think it will look very good, if it works at all (Flash hates image resizing). But I did do the Cow legs thing right, and the code is very similar, so we'll see. I'll test it in a later coding session. Edit: Ok, so I tested it just now. It did exactly what I thought it would do (after I found out the trick to making it work)--it resized it, but it also lowered the quality significantly. Since I'm dealing with images I've imported into Flash and not images I drew in Flash itself, the resizing is going to turn out to be problematic. I believe the only actual way around this is to ignore a shrinking animation and just have her go to 50% and 25%, since those should be "clean" percentages. But that's no fun =( Edit 2: Tested THAT just now, and Flash doesn't even like that. Sheesh. What a picky program. Any image resizing is messy no matter what you do. In other news! I was hoping someone would bump my thread so I could reveal what I was actually trying to accomplish in the meantime with this game. I've gotten the first steps of coding it down, so it's only a matter of time now (unless Flash decides to be mean to me (which is has been so far)). Instead of doing new stages (sorry, I'm lazy... they'll get done eventually!), I decided to bump the interactivity of the game itself. Though I started out with numerous ideas to improve it, I narrowed it down to the one I knew I would be able to do right away. So, the next update I post, Osaka will have customizable expressions. This will be done by editing the text file that comes with the game (so yeah, I'm sticking with the external text file idea since it's really easy to just push a new game out without text since I have a hard time writing). So, where the line originally was something like: &arms_1=Oh I have arms or something lalala. it will now be &arms_1=1210Oh I have arms or something lalala. The four digits represent four different things that you can change. Digit 1 = Eye Digit 2 = Eyebrow Digit 3 = Mouth Digit 4 = Additionals So I drew up some of the generic expressions that you see in pretty much every tf image (sad, happy, scared) and put them in there. The best part about this is that they're loaded externally at the start of the movie, so this opens yet another new possibility. If you don't like my expressions, you can make your own! I'm going to have 1 = base, 2 = happy, 3 = sad, and 4 = custom. Of course, you can replace all of my "stock" images with your own, so long as you follow the naming conventions and the sizing limitations. In summary, for each part changed in each mental state, you can now customize the dialogue and her expression for the changes. Eventually, I would like to be able to let you customize things like hand movements and such but to be honest this is a pipe dream and I doubt I'll be able to do it. As for this idea, I realize code is not some people's strong points, so I'm going to make a companion flash file along with all the re-released versions of all the stages I've done so far (plus the new super-secret one I've been working on) that will write the code for you, so all you have to do is copy/paste it into the notepad document (or I can make it write the notepad document for you but eh I'd rather not =p) Last edited by monomonkey; 06-02-2009 at 04:58 AM. |
|
![]() |
![]() |
![]() |
#2 |
Wanted for: EVERYTHING
Join Date: Aug 2007
Posts: 136
|
Re: TF Flash Game the Second
Wow, your going all out! *pat on back*
And the rest of us.... atleast we are not spamming random things. Makes us a stup above the interwebbers |
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|