Search:
Type: Posts; User: jorosdaman
Search:
Search took 0.82 seconds.
-
ive got a few games for you to look at, new and old.
http://www.omninet.net.au/~timbooth/csw2.html
http://www.omninet.net.au/~timbooth/biplane - this can easily be modified (music, graphics etc)...
-
for the load movieclip thing
if (whatever) {
_root.attachMovieClip("myClip", "nameforattachedclip", depth);
}
just make sure that in the library, under the clips "linkage" menu, it has a...
-
whats that supposed to mean?
-
not to frustrated, just a little surprised that you couldnt work it out for yourself. try this.
onClipEvent (load) {
var rot;
}
onClipEvent (enterFrame) {
_root.supercar._rotation =...
-
i thought that this was cleared up in another thread. look, i tried the code which i gave you (which you also posted) in a big black movieclip, and it moved and rotated fine. to get the car to face...
-
if i enter: the elements. why dont you post a poll? it cant be hard to work out how.
-
well there are two obvious ways of getting your game.
1: make it yourself. free. takes time to learn but if you have experience with code then it really isnt very difficult.
2: employ someone...
-
why dont you put all that in the movieclip itself? what version of flash are you running?
-
ive never tried, but do you need _root.getbytestotal()? or will it work with just getbytestotal ()? have you got some dynamic text fields to display it?
-
make sure the code is in an enterFrame handler, make sure there are no else if (key.isDown(Key..... only if (Key.isDown...
that should work
-
if your platformer isnt tile based (edmack or outside of society tutes) then it may be that all of your tiles have the same instance name. a good way to avoid this problem with code is to duplicate...
-
ok, well you can incorperate the mouse and slide yourself, but I can fill you in on the different ways to make the stars, the movement, and the map.
basically, there is an easy, and bulky (lots of...
-
something like this? layers of stars are not hard to do...
http://www.omninet.net.au/~timbooth/tradewars.html
tell me if thats what you want.
-
add this under the enterFrame handler to the roads code.
_root.supercar._rotation = this._rotation;
that will make the angle the car is facing the same as the road.
-
you dont want the _x and _y to equal cosine and sine, as they are distances, not points. consider a right angled triangle.
sine = opposite side to angle devided by hypotenuse
cosine = adjacent...
-
ok, once youve got the first thing working, make a new line, this one the same colour of the track, then turn it into a movieclip. put this code in.
onClipEvent (enterFrame) {
if (this.hitTest...
-
ok, make a line the width of your track, and turn it into a symbol. give it these actions.
onClipEvent (enterFrame) {
if (this.hitTest (_root.player)&& dir = true) {
laps+=1;
}
if (laps>=3) {...
-
"and" in flash is simple, it looks like this &&. ie:
if (this.hitTest(_root.bullet) && explosion = false) {
do wotever.
}
as for your second problem,
a) you dont need _root._root, and all...
-
actually, i think i can help you out here. it would be lengthy posting my budget code, but i managed to get a jump + hitTest working with the outside of society tutes. its still very buggy (i stopped...
-
way way way to hard. so i didnt really get to see much of the game....
-
argh! change it back! i can't play at all with the new controls. felt alot more comfortable with the old way.
-
put this in the gloves movieclip:
onClipEvent (load) {
this.swapDepths (999999);
}
-
there isnt much aim to it yet is there?
and its more than a bit repetative. but on the upside, its promising, and the graphics are nice. its hard to give it much constructive critisism when theres...
-
yes, i had seen and used that before, but then i was attaching my tiles straight onto the main stage, this time i am attaching them into another movieclip (which is in the centre of the main stage),...
-
well, you learn something new everyday - i always thought that the x and why values of the attached movieclips would be disproportional to the array. i fiddled for a while, and got it to work :
...
|
Click Here to Expand Forum to Full Width
|