-
hi mad sky
Really really thanks for the tutorial
u really really explained it well
took me only a short time to understand
what u could explain is how do do a scrolling background
or how to enable a side scroll in the game
thanks a lot sir
this is surely a good platform to start out
-
Great tutorial!!!
-
that link really helped. thanks a ton. when are you posting how to code the bad guys and collectables. if any one wants to make a mariogame, i have an idea of how to do the bad guys so that when you jump on top they die, but if they walk into them, you die. you could make one container movie clip. this would have the body and a top part. if you hit the body, you lose a life, if you hit the top, the guy gets removed. goes to frame #2 in the container (a blank frame)and you get 100 added to your points. MadSci, if you could put the code up for this that would be great.
-
i tried the coding on the sk8ing game but he still sinks in
-
Senior Member
WavyVirus:
http://board.flashkit.com/board/anno...php?forumid=11 this link is for the footer guidelines. Please make it small.
Ok guys we are not done yet..the above is very basic engine...we need a ladders and collectibles...
will post in a while..
mad_sci
-
Senior Member
GRRRREAT!!
Great tutorial. Thanks a lot sci, I really apreciate your sharing spirit on this forum. Any one can see that on all your previous posts also.
I{ll be specting the next parts with ladders and collectibles. It sound a lot of fun.
Just that: thanks, great job.
-
Nice tut but i need you wizdom
Very useful tut, i have been looking for some somthing like this for ages but i need some help, i want to know how to put sides on it so it is enclosed!
-
THANKS A BUNDLE MAN!!!!
P.S. I too would like to enclose my scene
-
There are a few things i would want to add to this game
1. ladders and pickables owuld be the first.( thats gonna be done by u any ways Mad sci)
2. Instead of putting bounding boxes, dont u think it would be better with a scrolling background.
3. Enemies, now there would have to be some kind of Chasing AI implemented for the Enemies.
4. The hero would have to have a provision to shoot or something. let say fireballs or something..
neways i think this was a really good initiative on Mad sci's part to do this, I'll try and post some code on the chasing Ai, when im through with it
Again
Thanks madsci
P.s waitingggggggg for the next tutorial
-
One more question Mad sci
Is this game really heavy on the Cpu
i played this game with my cpu usage meter open
and it showed a 100 % usage
can this be reduced
why is the usage so high
-
Hey mad sci,
Why don't you try making some enemies??
That would be cool. I'll try to do it now
-
enemies would make the game alot better
-
Senior Member
Hey guys, some bad news. My ISP is goin belly up..so Im going off line till I find a new one. I was thinking of getiing a ADSL but I will have to wait for a while. I also wanted to give you advise how to do some of things you want so you can play with the engine..hopfully Ill get online soon so we can talk again...
1. boundaries.- restict the move of the hero outside of the screen. In the hero Mc..
if ( this._x <=50 ){this._x=50;} - this will restrict the left side of the screen.
if ( this._x >=250 ){this._x=250;} - for the right side
2. how to pick and objec.-- make the object MC. It will have 2 keyframes. The seccond keyframe will be empty. for layer 2 again 2 key frames each one with stop acction.
OnClipEvent ( enterFrame){
if ( hitTest (_root.hero)){this.gotoAndStop(2);}
} this will remove the clip from the stage also here you can put some scoring system like _root.socore+=50;
3. CPU usage..may be Im spoiled Im with 800MHz 128K ram. I dont realy see any delays, try to run the game with the swf rather that TestMovie..after all the swf will put on the net..I will think about this..
TIP: remember the Maze tutorial....try to imagine that it is a side view rather than top view..see what I mean..
I will try to come up with better ver. of the above not so intense for the CPU.
4. Scrolling-- make the stage small and put the hero in the middle. now position the platfroms the way you like it off stage. SElect all of them make one big MC. name it background. Now rather than movind the hero move the background and keep the hero in the middle. see above tip.
5. Enemies..yes this will be an option..here is the questions wich the AI should answer..
is the hero above- climb ladder
hero is at my lefel - go left or right
you should climb ladders only and leave the badie to drop off the platforms..
Im going off line sorry guys..
mad_sci
[Edited by Mad-Sci on 04-19-2001 at 11:19 AM]
-
I got a conveyor belt here is the code
I got a cool conveyor belt that the ball moves along!
1) Make a new movie that is 13 high and give it the instance name "con"
2) give it the same coding as one of the platforms
3)put this code at the bottom of the hero MC:
onClipEvent (enterFrame) {
if (this.hitTest(_root.con)) {
setProperty (_root.hero, _x, _root.hero._x-5);
}
}
(to make the ball go to the left)
and then
onClipEvent (enterFrame) {
if (this.hitTest(_root.con)) {
setProperty (_root.hero, _x, _root.hero._x+5);
}
}
(to make the ball go to the right)
have a look at it:
http://orioncastle.homestead.com/files/platform.swf
Thanks mad Sci for your tut!!!!!
-
help! please
Is there a way of stopping the ball going through the bottom of the platform? if you know the code could you post on here! thanks
-
Senior Member
few more min left.....
in the Platform:
my_bottom=this._y+this._y/2;
if ( hitTest (_root.hero) and _root.hero.t_edge < my_bottom ){
_root.hero.platform="on";}
in the hero:
b_edge=this.y+ this._y/2;
t_edge=this.y- this._y/2;--stands for top_edge
this will stop the ball from goin tru the platforms..
mad_sci
-
Thanks!!!!
thanks for that mad sci have you seen my convayor belts
-
Senior Member
replace:
setProperty (_root.hero, _x, _root.hero._x-5);
with:
setProperty (_root.hero, _x, _root.hero._x-2);
now you can go against the wind... and should be more smooth..
mad_sci
-
i think MadSci put that that earlier, im not sure though. great idea with the conveyers. it works great.
-
no sorry
it is not working????? sorry hero hits the bottom of the platform and appears on the top!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|