altho no offence to ur video pivoty, i love ur videos im jus saying this scrolling idea is kinda stupid, altho nooffence to you, you'reself ur still one of my biggest idols on youtube other than like kirk hammet and james headfield and all the people from amon amarth and so on yeah yeah yeah
Erm... how is it stupid? It's simple and it works fine, what more do you want? Are you saying that having 400 lines of code for something that can be done in 10 is stupid? And it's heTfield, not heADfield.
@sk8r2000 I agree with skedist (Even if the name sound like Sh*t) that is F*ckin' siple the background is the only thing moving i can make a better game only using one code this is just my opinion!!!!
wtf lmao i didnbt kno what this was by a scroling*** game untill i looked at it lmao why donty you jus make a layer called ground and you can add as many blocks as you want and add my script ill tell you in another comment, this one is too short, actually if you guys want it, message me it has gravity and stuff, but anyway, after you make that ;layer make a block or w/e and convert it to symbol and call it ground with instance name and you can walk on it, instad of the fucking scrolling
onClipEvent(enterFrame){ if(Key.isDown(Key.UP)){ this._y -= 12 _root._y-=12 } if(Key.isDown(Key.DOWN)){ this._y+=12; _root._y+=1 } } //_root means outside the thing ur adding, just like adding a code to the frame. //but u must put on some frames _x=0 _y=0 because the _root never goes back to da screen IF U DID NOT UNDERSTAND ANY OF WAT I SAID WATCH "BOB FLASH TUTORIALS"
Yes my friend congratulations, i´m converting yours tutors to AS3... it is Wonderful... best regards
luisgabrielsimas 4 months ago
your the best tutorial maker , game creator thing you should work for youtube
YOU ROCK! i subbed :)
sonicfanyeah 9 months ago
Nice!!
FlashHaloRocks 1 year ago
code for char?
TropicalIllusion2010 1 year ago
I've made games like this before, the character does not actually move, the background does. Giving the illusion of a walking character.
MrAnonymous9898 10 months ago
im having trouble a wall collision code... could one of you please help me?
gamerman012345 2 years ago
do you meen the .hitTest( etc?
pvpfiish 2 years ago
altho no offence to ur video pivoty, i love ur videos im jus saying this scrolling idea is kinda stupid, altho nooffence to you, you'reself ur still one of my biggest idols on youtube other than like kirk hammet and james headfield and all the people from amon amarth and so on yeah yeah yeah
Skedist 2 years ago
@Skedist
Erm... how is it stupid? It's simple and it works fine, what more do you want? Are you saying that having 400 lines of code for something that can be done in 10 is stupid? And it's heTfield, not heADfield.
sk8r2000 2 years ago
@sk8r2000 I agree with skedist (Even if the name sound like Sh*t) that is F*ckin' siple the background is the only thing moving i can make a better game only using one code this is just my opinion!!!!
DualDragoShow 8 months ago
wtf lmao i didnbt kno what this was by a scroling*** game untill i looked at it lmao why donty you jus make a layer called ground and you can add as many blocks as you want and add my script ill tell you in another comment, this one is too short, actually if you guys want it, message me it has gravity and stuff, but anyway, after you make that ;layer make a block or w/e and convert it to symbol and call it ground with instance name and you can walk on it, instad of the fucking scrolling
Skedist 2 years ago
the character does not move only the background lol
Flash8Games 2 years ago
for up and down change the 'x' to a y
quite simple mathmatics (and change the keys to UP and DOWN or 89 for the w key and 83 for the s key (65 for a and 68 for d)
highalch33 2 years ago
@highalch33 how to you know wich numbers are which keys?
MeMyselfAndI9669 1 year ago
Renkay141 2 years ago
great thanks!
RsJelly 2 years ago
muy bien
petochis1 3 years ago
si.. :D
FeRcHoXSS 2 years ago
si esta genial
yeah it`s great
yefferman 2 years ago
ThankYou. I need to ask you a question. You can make it go left or right but can you make it go up and down. Thankyou
Mathurankan 3 years ago
onClipEvent(enterFrame)
if(Key.isDown(Key.UP)){
_x-=speed;
}
if(Key.isDown(Key.DOWN)){
_x+=speed;
}}
evilxbooz 3 years ago
correct actionscript is:
onClipEvent(enterFrame){
if(Key.isDown(Key.UP)){
this._y -= 12
}
if(Key.isDown(Key.DOWN)){
this._y+=12;
}
}
//if this doesn't work just give me a pm!
FlashActionScript 3 years ago 2
I dont know why your comment is marked as a spam.
Mathurankan 3 years ago
ya same here... LoL
evilxbooz 3 years ago
oh,thanx.just that i need for my rpg
asxproduction 3 years ago
umm wats the point if only the background moves
myster250 3 years ago
Renkay141 3 years ago
good tut, thanks
fadermusprime 3 years ago
your welcome! thx for the comment!
PivotyPivoty 3 years ago