|
Post by daisy_strike on Sept 26, 2010 21:59:01 GMT -5
optimizing byte code is a failure usually on flash... restart flash... I know that sounds stupid, but I get that error probably once a night.
Daisy
|
|
|
Post by redcape on Sept 27, 2010 23:00:16 GMT -5
This might be unrelated to the topic, but recently i tried to learn flash from the very basic.. and playing a little with otherworld.fla.. i noticed that many buttons were converted to movieclips instead of button, while many tutorial i've seen convert buttons or clickable link into button type symbol, so they may be modified such as when you get mouse cursor over them or clicked the button.
The thing is, I really want to make those buttons animated, it might seems trivial but i think a little details like that won't hurts besides i've made the buttons graphic when the mouse cursor is supposedly goes over them.
So, is there a way i can modify those buttons to be animated? maybe convert them back from movieclips to button type symbol? or maybe is there any chance you want to animate those buttons in later release?
|
|
|
Post by daisy_strike on Sept 27, 2010 23:41:18 GMT -5
I'll admit completely that I don't animate stuff, mainly because I never payed much attention to the animating side of flash... I realize thats odd, but I do everything from the programing side rather then the flash timeline.
If you want to animate buttons just let me know and I'll post a current version of .fla and anything else you need. Its just not a high priority on my list, though it will add to the profesional look.
Daisy
|
|
|
Post by redcape on Sept 29, 2010 1:06:29 GMT -5
Allright, maybe after you release open source for october release i will work on it. Anyway, about my previous question regarding adding randomly chosen dialogue, trying to add this line: var temp:int = new int(0);to this: function RankaEvents(eventNum:int):Boolean{ var temp:int = new int(0); //love checks first if (eventNum == 2010 && checkForEffect(1, whatGirl) ) { jobClean(eventNum); slideShowFormatInternal(talkBackground); storyHopper.push("<B>" + peopleName(10) + "</b><br>Master I love you!"); mainTextStart(12000, 0, 110); return true; } //second happy else if (eventNum == 2010 && GameArray[whatGirl].girlHappinessTotal > 0 ) { temp = int(Math.random()*3) + 1; if (temp == 1) { storyHopper.push("<B>" + peopleName(10) + "</b><br>I hope you are not serious to make me your slave."); } else if (temp == 2) { storyHopper.push("<B>" + peopleName(10) + "</b><br>I miss my home... i wish i could back to where i was.."); storyHopper.push("<B>" + peopleName(10) + "</b><br>*sigh* if only i'm not careless as to fall into that pit."); } else { storyHopper.push("<B>" + peopleName(10) + "</b><br>The least you could is not making me naked, Master... it's cold"); } mainTextStart(12000, 0, 110); return true; } //last unhappy else (eventNum == 2010); { jobClean(eventNum); slideShowFormatInternal(talkBackground); storyHopper.push("<B>" + peopleName(10) + "</b><br>Hmmph... do you think you can control me?"); mainTextStart(12000, 0, 110); return true; } return false; result in that dialogue event interfering all event, for example: img27.imageshack.us/img27/9085/49374350.jpg
|
|
|
Post by daisy_strike on Sept 29, 2010 1:12:48 GMT -5
I'm amazed that compiled...
//last unhappy else (eventNum == 2010); { jobClean(eventNum); slideShowFormatInternal(talkBackground); storyHopper.push("<B>" + peopleName(10) + "</b><br>Hmmph... do you think you can control me?"); mainTextStart(12000, 0, 110); return true; }
try:
//last unhappy else if (eventNum == 2010) { jobClean(eventNum); slideShowFormatInternal(talkBackground); storyHopper.push("<B>" + peopleName(10) + "</b><br>Hmmph... do you think you can control me?"); mainTextStart(12000, 0, 110); return true; }
You can only use else with out conditions and since it was used as a fall down it was ignoring the eventNum == 2010 your return false was never hitting so it was showing for every event.
Edit now that i had a second chance to look The semi colon was blocking it from going anywhere and giving the bug.
Daisy
|
|
|
Post by redcape on Sept 29, 2010 1:24:09 GMT -5
hmm.. changing that line doesn't work and the event still interfere
|
|
|
Post by daisy_strike on Sept 29, 2010 1:25:57 GMT -5
you pulled out the ";" too right?
Daisy
|
|
|
Post by daisy_strike on Sept 29, 2010 1:32:39 GMT -5
function RankaEvents(eventNum:int):Boolean{ var temp:int = new int(0); //love checks first if (eventNum == 2010 && checkForEffect(1, whatGirl) ) { jobClean(eventNum); slideShowFormatInternal(talkBackground); storyHopper.push("<B>" + peopleName(10) + "</b><br>Master I love you!"); mainTextStart(12000, 0, 110); return true; } //second happy else if (eventNum == 2010 && GameArray[whatGirl].girlHappinessTotal > 0 ) { temp = int(Math.random()*3) + 1; if (temp == 1) { storyHopper.push("<B>" + peopleName(10) + "</b><br>I hope you are not serious to make me your slave."); } else if (temp == 2) { storyHopper.push("<B>" + peopleName(10) + "</b><br>I miss my home... i wish i could back to where i was.."); storyHopper.push("<B>" + peopleName(10) + "</b><br>*sigh* if only i'm not careless as to fall into that pit."); } else { storyHopper.push("<B>" + peopleName(10) + "</b><br>The least you could is not making me naked, Master... it's cold"); } mainTextStart(12000, 0, 110); return true; } //last unhappy else if (eventNum == 2010){ jobClean(eventNum); slideShowFormatInternal(talkBackground); storyHopper.push("<B>" + peopleName(10) + "</b><br>Hmmph... do you think you can control me?"); mainTextStart(12000, 0, 110); return true; } return false; }
Double checked and ran the code this works.
Daisy
|
|
|
Post by redcape on Sept 29, 2010 1:35:12 GMT -5
sorry, I didn't see that ;D random dialogue works fine now, but ther is another problem.. background image is overlapping the girl image and sometimes there is no image display at all when you talk with the girl img194.imageshack.us/img194/2222/20956850.jpg
|
|
|
Post by daisy_strike on Sept 29, 2010 1:39:16 GMT -5
Yah thats an issue on my side... if you look you can just see ranka hairs sticking out the top. Know issue one that is on my list.
Daisy
|
|
|
Post by lonewolf on Oct 5, 2010 2:32:22 GMT -5
Quick question as never messed with flash creation before just to make sure making the images right as wasn't sure from the tutorials. But the best fit size is 800 width x 600 height for all images except the mini's of course.
|
|
|
Post by daisy_strike on Oct 5, 2010 2:37:14 GMT -5
correct. But you can do bigger or smaller and the game will auto size it to fit the slide show. Its just the 800x600 looks fine if blown up on a big monitor and yet doesn't take huge data size.
Daisy
|
|
|
Post by lonewolf on Oct 5, 2010 2:39:28 GMT -5
cool thanks and forgot what is the arch type
|
|
|
Post by daisy_strike on Oct 5, 2010 3:27:09 GMT -5
Arch type is the girls true name... if shes a prime not her collar name.
So Ach type = "Mugi" collar name is something else
Daisy
|
|
|
Post by lonewolf on Oct 12, 2010 1:34:00 GMT -5
aaahhhhhh kicks loader into corner and keeps kicking it. Keep getting this error in the loader. Tried to get it working with the test loader to test girl same error.
So tried adding the whole lot to loader still same error, what is I am missing or not doing to get this error, nothing seems to work.
Error--C:\Downloads from WEB\OTHERWORLD FOLDER\Otherworld Oct-OS\Otherworld Oct-OS\loader.as, Line 285 1120: Access of undefined property GameYoruichi.
LOADER
GirlArray.push(GameMenace); GirlArray.push(GameOrihime); GirlArray.push(GamePrincess); if (playerCharacter.easyLoader == false) { GirlArray.push(GameYoruichi);--------Line285 Problem GirlArray.push(GameRanka); GirlArray.push(GameMikuru); GirlArray.push(GameMio);
Needing help Thanks Lonewolf
|
|