Direct emulations and games with the jumpscares are not allowed! I don't really make Scratch projects anymore.
#Make a side scrolling game in flash actionscript 3.0 how to#
18, 2013 07:24:23 Sonickyle Scratcher 1000+ posts Tutorial - How to Make a Scrolling Game Perhaps make a section on how to create a bounding box for the character for advanced Detection? Also, there is also a wiki tutorial. 17, 2013 17:19:42 RedNeckSideKick Scratcher 67 posts Tutorial - How to Make a Scrolling Game I can't figure out how to make it not disappear on the edges… Last edited by RedNeckSideKick (Nov. 17, 2013 14:58:59 MCAnimator3D Scratcher 100+ posts Tutorial - How to Make a Scrolling Game kmeemaster wrote: One issuse is he can't climb hilly terrain Oh yeah! I forgot to put that in! Report | Quote #6Nov. 17, 2013 14:16:05 kmeemaster Scratcher 60 posts Tutorial - How to Make a Scrolling Game One issuse is he can't climb hilly terrain Report | Quote #5Nov. I used to go to the wiki: Report | Quote #4Nov. 17, 2013 13:34:46 lafoudre Scratcher 100+ posts Tutorial - How to Make a Scrolling Game I like your tutorial. 17, 2013 10:30:05 Photoguy77 Scratcher 100+ posts Tutorial - How to Make a Scrolling Game This is a great idea! Maybe try making one for Scroll Y? -Photoguy77 “Without enjoying, one will never truly learn” ~Flome “Finding happiness starts in you” ~ProdigyZeta7 Report | Quote #3Nov. You can add whatever you want to the game and make it your own! Happy Scratching! Report | Quote #2Nov. YVel Put this script into the character: when clickedgo to frontgo to x: 0 y: 0set YVel to 0foreverchange y by YVelif touching color ? thenset YVel to 0if not touching color ? thenchange YVel by -1if touching color ? and key up arrow pressed? thenchange YVel by 10 If you press the up arrow, you now jump! That concludes this tutorial. It works! When you press the arrow keys, the character (technically the ground) it moving! We need the character to jump now. Put this script in it: when clickedset y to 0foreverset x to ScrollX + 480 * 0 Now click the green flag. First, create a level sprite with one color on top and another color below it. This is what you put under the set ScrollX to 0: foreverif key left arrow pressed? thenchange ScrollX by 3if key right arrow pressed? thenchange ScrollX by -3 Right now, it won't do anything because we have to assign the variable to the terrain.
![make a side scrolling game in flash actionscript 3.0 make a side scrolling game in flash actionscript 3.0](https://s1.manualzz.com/store/data/039063668_1-2a082871aef5e4b78bc4e090152ec7b3-360x466.png)
ScrollX Now put this into the scripts section on the character sprite: when clickedset ScrollX to 0 When you do scrolling, you want to make it so when you press an arrow key the terrain goes backwards and looks like the character is moving. First go to the data tab, create a variable and call it “ScrollX”. This will teach people how to make a simple scrolling game with velocity. Hello, all! Lots of people (especially New Scratchers) need help with a scrolling game. You can add whatever you want to the game and make it your own! Happy Scratching! (YVel)Put this script into the character: when green flag clicked go to front go to x: (0) y: (0) set to forever change y by (YVel) if then set to end if > then change by (-1) end if and > then change by (10) end endIf you press the up arrow, you now jump! That concludes this tutorial. Put this script in it: when green flag clicked set y to (0) forever set x to ((ScrollX) + ((480) * (0))) endNow click the green flag.
![make a side scrolling game in flash actionscript 3.0 make a side scrolling game in flash actionscript 3.0](https://i.ytimg.com/vi/vfI1qoH1Txs/maxresdefault.jpg)
This is what you put under the set ScrollX to 0: forever if then change by (3) end if then change by (-3) endRight now, it won't do anything because we have to assign the variable to the terrain.
![make a side scrolling game in flash actionscript 3.0 make a side scrolling game in flash actionscript 3.0](https://digisoln.com/gamemaker/dragdrop/resources/gms2intro_choosedragdrop.png)
(ScrollX)Now put this into the scripts section on the character sprite: when green flag clicked set to When you do scrolling, you want to make it so when you press an arrow key the terrain goes backwards and looks like the character is moving.
![make a side scrolling game in flash actionscript 3.0 make a side scrolling game in flash actionscript 3.0](https://i.ytimg.com/vi/LM82pfAdNJE/maxresdefault.jpg)