Willoughby looks around at all the nothing he has contributed and feels guiltyQuote:
its my first comtribution to fk that i actually wrote, so I'm pretty happy with it
Printable View
Willoughby looks around at all the nothing he has contributed and feels guiltyQuote:
its my first comtribution to fk that i actually wrote, so I'm pretty happy with it
hehe - dont worry dude :p
fixed that bug that you pointed out Willoughby, thanks for that!
Updated .fla
Nice of you to give it out, NICE ONE
np MissenLinx. Thought I better give something back to flashkit's members - seeing as they've helped me learn so much (not that I'm a pro :p)
I found a bug. Go to the left wall, press [left] and hold it and press [down].
The hero clip flys up to the top.
I think the problem is with:
xSpeed = 0; from the heroMovement() method
and your collision code.
I recomend using a varible like "ducking" and when it is true you should not check for collisions.
Why do I think I seen this before? Maybe because someone put together two engines and called it his own. Im disappointed man.
(Im not sure where they were, but youll be able to find them. Someone has a site giving away flps in like a list page with the same motion even the same square for your sloping one. Also Ive seen a platform engine for the up/down block you use. Ill be able to find them later but I need to go right now)
Even though there are other engines like this out there I do not doubt that Leight created this one. If you have a good understanding of AS which I'm sure Leight does you're going to come up with similar code to what others have done. It is not that he is copying it's just that due to flash's limitations there are only so many ways of accomplishing things. Even if you have never read anyone elses code on artbased platformers but have a good understanding of AS it is going to be similar.Quote:
Why do I think I seen this before? Maybe because someone put together two engines and called it his own. Im disappointed man.
I applaud him for putting this together and especially sharing it with others!
:eek: :(Quote:
Orriginally posted by togepy151
Why do I think I seen this before? Maybe because someone put together two engines and called it his own. Im disappointed man.
(Im not sure where they were, but youll be able to find them. Someone has a site giving away flps in like a list page with the same motion even the same square for your sloping one. Also Ive seen a platform engine for the up/down block you use. Ill be able to find them later but I need to go right now)
Dude, what you said really disapointed me. I did write it myself! SaphuA helped me with the original version because I wasnt very good as AS then. He helped me and gave me the push along I needed. Then suggested that I create a platform engine FROM SCRATCH AND WITHOUT LOOKING AT ANY CODE!!! so I did. figured out things in my head and logically, thought about how to do the slopes (hadnt ever done going down slopes before!!!). So mate, I wrote the entire thing by myself appart from the fps counter which i gave credit to in the actionscript (from errorist). Sure I got ideas from other people (ducking), but I DID NOT USE THEIR CODE!!!
Dusarn: Thanks mate! I thought that I should share it with others who may want to use it because the people here at flashkit have helped me a lot!
neilbuddy: Thanks for pointing out that bug. It is now fixed in the .fla attached. Also changed the speed up bug. Now press SPACE!
800th post!!! not a very nice way to bring it up, but its here :)
DOH!!! I forgot to attatch the .fla
*sniff* *sniff* Whats that I smell, Yep its Jelousy
hey guys,
I've fixed anothe bug with the scrolling and also sideHitTest. (so many bugs have been found and fixed!!!)
I'm open to suggestions about how to make the character not jump on the _x axis when hitting the bottom of the platform.
When that is sorted out, I think every bug has been found and fixed and will update again.
Thanks guys
Trust me I didnt want to be an as shole, I made a bad call but never realized the point of this flp is for the benefit of everyone. My bad, see I recognized your game engine as one of the free flps you can can get Edmack's site:Quote:
Dude, what you said really disapointed me. I did write it myself! SaphuA helped me with the original version because I wasnt very good as AS then. He helped me and gave me the push along I needed. Then suggested that I create a platform engine FROM SCRATCH AND WITHOUT LOOKING AT ANY CODE!!! so I did. figured out things in my head and logically, thought about how to do the slopes (hadnt ever done going down slopes before!!!). So mate, I wrote the entire thing by myself appart from the fps counter which i gave credit to in the actionscript (from errorist). Sure I got ideas from other people (ducking), but I DID NOT USE THEIR CODE!!!
http://www.edmack.com/flash/
http://www.edmack.com/flash/walk_slope2.swf
But dusarn proves a good point. And I dont like saying these things either, like oh you stole it. Ya seem sincere, so I appologize if I was wrong man. trust me its not jealousy, I respect people who make all things originally.
Y'know, when I first saw it, I thought "Hey, that looks like that Ed Mack thing..." but then I realized that the two engines behave COMPLETELY different from one another.
Yes, two people had the same idea, and used simple graphics to demonstrate their engines...
I probably wasn't going to even bother comparing the two open-source engines because.. well.. they're open-source...
But since you said this line:
Okay... did you actually bother downloading both flas and comparing?Quote:
My bad, see I recognized your game engine as one of the free flps you can can get Edmack's site:
If not, you're in for a rude awakening, since I have compared the code and they are different in both methodology, structure.
Ed's follows the slope curves and rotates using code on the actually movie script.
Leight's is calling everything from the frame and is using a completely different formula to figure out where the slopes are.
So next time, if you have two open-source things, please look at the code before claiming that he took someone else's code.
Appearances in Flash can be very deceiving...
Thank you...
-pXw
Hi all,
I've been following this thread since the beginning and I'd just like to say thank you for creating such a cool lil' engine. I have what I imagine will be a somewhat stupid question for you techies so please forgive the moronicy (is that a word?)Anyway, my question is where in the code can you set the length of the scrolling? I didn't see anywhere that it called to an Array. If the artwork dictates how long you can scroll but you can only create a piece of artwork as long as the stage how can this actually be called an "engine"? You can't make it scroll very far. What am I missing? Someone please tell me my stupidity?
milowerx: hehe, mate - I've coded it so that no matter what width the platform mc is, it stops at the edges. pretty nifty aye :D
togepy151: it's okay. just lettin ya know i rote it all with no help. graphics may be similar but code is different.
everyone: gotoAndPlay.it's webmaster just contacted me and wants to put it on their site :D HOW AWESOME!!! the latest .fla (attached) has gotten rid of every bug that I have found and that was said on here.
I wont be updating it anymore, unless there is a major bug.
enjoy!
great job ..leight
Vey nice engine! makes me wonder why i've spent hundreds of lines of OO code on my artbased engine (not worthy of publishing yet)..
code:
onClipEvent (enterFrame) {
// thanks errorist!!!
with (this) {
f = Math.round(1000/(getTimer()-t));
t = getTimer();
this.fps2 = "fps: " + f;
}
}
ghehe.. you're welcome. So I see I've finally contributed something to FK too :) When I posted this a little while back I did mention it was inspired on a script from http://proto.layer51.com, didn't I? if not: this code was inspired on a script from proto.layer51.com ;)
Thanks this engine rocks, tile based engines take way too long, i cant believe i was using them.
I made a huge map in a few seconds ^^.
...3 years later :p
Haha yeah I rekkon, quite strange. Buddy, the best way to do engines is tile based - much better :) But hope it helps.
Thanks,
- leighton