Please put your KM Physics or something your working on in here so other people can comment on them. Eg Done something cool with gravity,friction or something i will try and make a springy thing.
ill Quickly Make Something now ...
Printable View
Please put your KM Physics or something your working on in here so other people can comment on them. Eg Done something cool with gravity,friction or something i will try and make a springy thing.
ill Quickly Make Something now ...
SPRING MAN !!!!!!
Here it is:
http://img138.imageshack.us/my.php?i...ringmannh0.swf
Hope you like it. Im going to send it to Kool Exchange( www.koolexchange.com ) so you can edit it or something =).
Cool. I know someone who thinks like you. You should visit ;)
http://lab.bit-101.com/
EDIT: Also Yugop. Yugop is off the hook and you would enjoy some of his stuff as food for thought:
http://www.yugop.com/
They have some cool stuff physics I got some of my code from there elastic tutoral. Thats were i learnt the elastic thing with the strechable legs.
you should see the new platform game im making it has mountians and all it rotates when you go up a mountian and it has scrolling 2.
yugop i havnt been there before. Nice site
He awesome. Check out
04: ClayGrid
yea it is quite goodbut boring =PQuote:
Originally Posted by Chris_Seahorn
Quote:
Originally Posted by XareoX
You know what they say..."can't please them all". Well....I'll leave you to your gaming. Good luck :thumbsup:
thanks
One of my favorite labs
http://lab.andre-michelle.com/
but you already may know that one. :)
yea i have been there i like her 3d rendering stuff
Heres something I have made using the API Drawing feature: Kool exchange Api Game thing v2.
http://img177.imageshack.us/my.php?image=apitesthy8.swf
and heres the code:
Quote:
s=10;
blur=new flash.filters.BlurFilter(10,10,1);
_root.createEmptyMovieClip("char",1);
char.lineStyle(0,0x0,0);
char.beginFill(0x55575,100);
char.moveTo(200,200);
char.lineTo(200,250);
char.lineTo(250,250);
char.lineTo(250,200);
char.lineTo(200,200);
char.endFill();
blur=new flash.filters.BlurFilter(10,10,1)
_root.char.filters=[blur];
_root.createEmptyMovieClip("wall",2);
wall.lineStyle(0,0x000,0);
wall.beginFill(0x0,100);
wall.moveTo(-20,0);
wall.lineTo(-20,550);
wall.lineTo(100,550);
wall.lineTo(100,0);
wall.lineTo(-20,0);
wall.endFill();
_root.wall.filters=[blur];
_root.createEmptyMovieClip("wall2",3);
wall2.lineStyle(0,0x0,0);
wall2.beginFill(0x0,100);
wall2.moveTo(0,-20);
wall2.lineTo(0,550);
wall2.lineTo(120,550);
wall2.lineTo(120,-20);
wall2.lineTo(0,-20);
wall2.endFill();
_root.wall2.filters=[blur];
_root.createEmptyMovieClip("wall3",4);
wall3.lineStyle(0,0x0,0);
wall3.beginFill(0x0,100);
wall3.moveTo(0,350);
wall3.lineTo(0,420);
wall3.lineTo(550,420);
wall3.lineTo(550,350);
wall3.lineTo(0,350);
wall3.endFill();
_root.wall3.filters=[blur];
_root.createEmptyMovieClip("top",5);
top.lineStyle(0,0x0,100);
top.beginFill(0x0,100);
top.moveTo(0,-20);
top.lineTo(0,50);
top.lineTo(550,50);
top.lineTo(500,-20);
top.lineTo(0,-20);
top.endFill();
_root.top.filters=[blur];
_root.createEmptyMovieClip("enemy",6);
enemy.lineStyle(0,0x0,0);
enemy.beginFill(0x99999,100);
enemy.moveTo(200,200);
enemy.lineTo(200,250);
enemy.lineTo(250,250);
enemy.lineTo(250,200);
enemy.lineTo(200,200);
enemy.endFill();
_root.enemy._y=80;
_root.char._y=-80;
_root.enemy.filters=[blur];
health=100;
this.createTextField("health_txt", 7, 250, 100, 200, 400);
health_txt.multiline = false;
health_txt.embedFonts = false;
health_txt.selectable = false;
health_txt.variable = "health";
health_txt.setTextFormat(format);
onEnterFrame=function(){
_root.wall2._x=450;
if(Key.isDown(Key.RIGHT)){
_root.char._x+=s;
}
if(Key.isDown(Key.LEFT)){
_root.char._x-=s;
}
if(Key.isDown(Key.DOWN)){
_root.char._y+=s;
}
if(Key.isDown(Key.UP)){
_root.char._y-=s;
}
if(_root.char.hitTest(_root.wall)){
_root.char._x+=s;
}
if(_root.char.hitTest(_root.wall2)){
_root.char._x-=s;
}
if(_root.char.hitTest(_root.wall3)){
_root.char._y-=s;
}
if(_root.char.hitTest(_root.top)){
_root.char._y+=s;
}
if(_root.char._x<_root.enemy._x){
_root.enemy._x-=5;
}
if(_root.char._x>_root.enemy._x){
_root.enemy._x+=5;
}
if(_root.char._y<_root.enemy._y){
_root.enemy._y-=5;
}
if(_root.char._y>_root.enemy._y){
_root.enemy._y+=5;
}
if(_root.char.hitTest(_root.enemy)){
_root.char._alpha-=.5;
_root.health-=1;
}
if(_root.health<=0){
_root.char._alpha=0;
_root.enemy._alpha=0;
_root.health="Game Over";
}
}
free for you to experinment with and use have fun with it.
And if you know anything that is cool with the API function please post =)
Here is a API thing i made with km
http://img177.imageshack.us/my.php?i...oeffectxe7.swf
it looks good doesnt it?? i used only 12 lines of code for it.
Tell me what you think of it before i send it to Kool Exchange so i could edit anything if i find any bugs is the code =).
Yeah 99% CPU usage.... Not very usefull.Quote:
Originally Posted by this.Alex
yea i know ill try and lower that later lol to much duplicated movie clips =)
http://img293.imageshack.us/my.php?i...oeffectms9.swf
lowerd it down to 15% on my computer.
jumps firefox from 10% to 45-55% a little less in IE
Yes, its like 35 percent on my computer which is 2.54 ghz and 512 ram
damit by the time iv made it down to below 10 it will look realy bad =P duplicating the shape using API is the only way 1 know maybe gradientfill will make it look better with less cpu usage.