Ivan-Aedler Wrote:overlord5 Wrote:hi Ivan. I was wondering if you need help with some of the coding, i'm a fairly decent programmer. i don't have much experience with flash scripting, but i do know pretty much everything else
Hello there! Well, for sure I will appreciate every help! But I dont know if we really need help with the code, other than refactoring it in order to make it faster (like the camera and boundary code), and AI code for creatures
AS2 is like Javascript, so not hard to understand. The game currently has 18 .AS files (they're nothing more than pure txt files with code). Each one deals with a given area, like 'creatures.as', 'Peach.as'... Right now, I see the code could be optimized further (I am not a guru anyway), so if you are willing to refactor it, in order to give more speed to the CPU, like in camera code, you can jump in As for novelties (e.g. new features) we need to talk about it first. A thing that could be in the game is a 'path' finding code, making friends like Goombella walk freely along the level, jumping in the cliffs (if the cliff is small enough) or avoiding it. I've also made interesting AI code, like the one Phanto uses. In the beginning, I even used sin/cosine functions, then I've optimized them, removing that need.
AS2 (like AS3) support class programming (OO) but I still use some procedural code. Not a problem per se at first.
The game (main FLA) also has code inside (like in Peach's eye objects and in every main enemy code), due to the nature of Flash (you can code inside each object directly). In the beginning, everything was inside the objects, then I started to externalize them all. Of course, externalized objects still need a line of code to activate themselves, like _root.eyeCodeStart(this), _root.changeOutfitCode(this).
The problem is that you will need the 'huge main FLA' which is more than 400mb. I can give you a prototype FLA (I usually give these to developers to test into), which will accept those AS files normally. There is only one level area, but the compile times can be as low as 20 seconds (instead of more than 20 minutes, sometimes 40, from the whole game). So you can play with it. There is also a way to see the current FPS (in the HUD), a way to benchmark it (but beware that the game has a fixed MAX FPS of 26). So the goal would be to retain as close as 26 in all levels.
The main problem with any slowdown IS the flash engine itself (Flash does not have optimizations like GPU usage and multi code support like 3d games). AS3 is faster, and I wanted to convert to it (we can even use tricks like MovieClip(this.root), in order to reuse the '_root' variables in AS2). The game might be up to 10% faster, with new features like music manipulations (pitch, tempo, adding a new drums or track, great for YOSHI levels) , and better code.overlord5 Wrote:i'm new to this forum so i'm still not allowed to PM yet
Just have a nice stay around here, then post a bit more (10 or 15 posts), also in other interesting threads, in order to be allowed to post a PM by the moderators
See you! Thanks for the interest.
Digfree Wrote:To whoever just posted and I declined your post: we have 2 mods on atm and I just approved your post and like 10 secs later saw you in the mod que again with the same post and I disproved it due to it being a duplication. However when I checked on here I don't see that first one I approved and it's not showing in the logs that I ever approved the first one. Basically I have no idea what happened but if I deleted your post in error sorry about that, feel free to type it again and one of us will approve it.
com Wrote:I can build more animations, but the ragdoll progam looks outdated to me... (maybe I just got an old link).
com Wrote:For Levels I really like all 6-x, they are unique with some new possibilities like going to a bar/tabledance club. Maybe a gym with strong and tough guys could be interesting, maybe also some interesting machines to use there in the gym.
com Wrote:I'd like to see Toadella and/or Rinnie scenes.
com Wrote:As idea for the carriage in the yard some horses would be nice
com Wrote:maybe also some scenes but i dunno if this bestiality stuff fits that well, but we already have 2 dogs so far... I also could draw a more realistic version for a new peach or something like this, the cum-overlay also (haven't started yet).
Digfree Wrote:To whoever just posted and I declined your post: we have 2 mods on atm and I just approved your post and like 10 secs later saw you in the mod que again with the same post and I disproved it due to it being a duplication. However when I checked on here I don't see that first one I approved and it's not showing in the logs that I ever approved the first one. Basically I have no idea what happened but if I deleted your post in error sorry about that, feel free to type it again and one of us will approve it.
overlord5 Wrote:I specialize in optimizing code both for memory and processing. I have written some javascipt though it has been a while, and i'm fairly organised So pm me a link with the prototype or the full thing i have enough space. I suggest a dropbox (they have high bandwidth and so do i)
overlord5 Wrote:one of the prison scenes have a footjob event thingy, and then there is several scenes with the toads
Ivan-Aedler Wrote:(PS: We still need to test it, to see if Peach will be really acting innocently, if its in 'Always Innocent' mode).
ThatGuy Wrote:How do I find said prison scenes?
ThatGuy Wrote:Also thanks a ton man for the new feature! so far it works perfectly, but I'm going to try to get well past 80 scenes to be sure.
BinaryHedgehog Wrote:Not quite, the Nymph thing will override if you exceed 80 scenes total
BinaryHedgehog Wrote:I don't remember, I think it's both.
ThatGuy Wrote:I can confirm that it is both.
Ivan-Aedler Wrote:com Wrote:overlord5 Wrote:I specialize in optimizing code both for memory and processing. I have written some javascipt though it has been a while, and i'm fairly organised So pm me a link with the prototype or the full thing i have enough space. I suggest a dropbox (they have high bandwidth and so do i)
Ok, thank you for the interest! Just dont be so enthusiastic in a way you change code in a way it will be alien to me Comments are great (and a good practice). I'll be checking the prototype tonight or tomorrow, then I'll send it to you.
overlord5 Wrote:I was thinking of looking into making the creatures into classes
Ivan-Aedler Wrote:overlord5 Wrote:I was thinking of looking into making the creatures into classes
Great! Not a problem. It would be great to do something like this:
Creature c1 = new Creature("goomba");
Creature c2 = new Creature("shyguy");
Ivan-Aedler Wrote:But I just ask you to be gentle with the current way the code works (just dont say 'meh, look at that ugly old code...'). First, I've continued a project that was abandoned back in 2011. Second, I use the 'gogogo' approach (something like GoHorse Scrum) hehe. Why? Because that way, I could make like 1 scene per day. Even with a game 2 and a half years old (but not completed yet), its a game made by one developer (me) which create resources myself (even vector art) and uses resources from contributors. You will understand why I am 'defending myself' like this, when you receive the code later today or monday/tueday (sorry I am not so well today, maybe just a flu).
overlord5 Wrote:I was thinking of more of a abstract class called creature with a subclass for each creature. it should remove some of the clutter. you would still be able to make a collection or list of creatures and stuff like that
overlord5 Wrote:while i'm not familier with 'gogogo' (hopefully not goto statements) i wouldn't dream of doing something to your code without asking you first. i assumed i would be given a copy of your code and you would keep the original, where i could send you snippets to patch and modify existing code in order to optimize it.
overlord5 Wrote:ps. get well soon
Ivan-Aedler Wrote:Just a notice, I am working slowly in level 6-7.ThatGuy Wrote:I can confirm that it is both.
Please see if its fixed now. You might be able to reuse the saved games.
ThatGuy Wrote:Yeah it works past 80 now, Thanks man!
Ivan-Aedler Wrote:Hey great Digfree, I havent forgotten your scientist creature scene (Abondend Fawful stuff)!! As said , he will appear in the moon, and I'll tell you when he's there!
Ivan-Aedler Wrote:Nice dancing creatures (in your signature).
Sector27 Wrote:I play this game on a stand alone Adobe flash player 10 but my save file is gone i try to load the game but it can´t find my save file? Anyone know how to fix this.
Digfree Wrote:Yeah lol I am still alive, I got a special little something I am working on for you btw, shall reveal soon (don't worry nothing big I'll dump on you half way through *cough*)
Digfree Wrote:LINK
- CHANGED: Instead of 'Act as Nymph/Slut', you have now a 'Personality' button: It can be 'She Decides', 'Always Innocent' and 'Always a Nymph'. This will mostly keep her current gait/poses and dialogues (even in Koopaling scenes) but it wont change certain events (like endings). A forced Innocent Peach with more than 80 laids will be still a nymph deep in her heart!)
Users browsing this forum: Majestic-12 [Bot]