We may use cookies to help customize your experience, including performing
analytics and serving ads.
Learn More
| 8 | 2219 |
My school laptop came preloaded with Adobe Flash Builder 4 and Adobe Illustrator CS5, where they got the money I don't know. I started playing around with it when I realised I have no idea what I'm doing.
Basicly I want to know how to make a basic platformer with music from Garage Band (or iTunes)
Thanks, I hope you can help me.
Well, as for the money, educators can pretty much buy a single copy (at a huge discount) and distribute it throughout the school.
You could always try googling tutorials for CS5. And you might want to look for AS3 tuts as well.
But isn't there like some kind of language or something? What would I type to make the charcter go left when you press "A" or the left key (And same with right) as well as jump with the up key or "W"?
Yup, there is a language, called ActionScript, or AS. The newest version (think of it like a version of a game) is ActionScript 3.
To answer your next questions, you'd have to type a lot of code to make player movment. I suggest you learn the basics of ActionScript before learning about more advanced stuff. I can't give you a complete lesson on ActionScript, but you can always use Google and online tutorials.
If you have any questions, feel free to ask me or anyone else on the programming forum. Good luck with game making
where they got the money I don't know.
But isn't there like some kind of language or something? What would I type to make the charcter go left when you press "A" or the left key (And same with right) as well as jump with the up key or "W"?
and another note if you want to move the item by following your mouse you can use this code.
<movieclip name here>.x=mouseX
<movieclip name here>.y=mouseY
that is a more of a begginer code than moving with the keys i think so i thought ipost it
well when you open the thingy, havent ever seen illustrator or builder... just flash 8 and cs3
press ActionScript 2 File
and then make a box and then right-click and select Convert to Movieclip and name it and then type this:
onClipEvent(load) {
power = 0.8
xspeed = 0;
yspeed = 0;
}
onClipEvent(enterFrame){
if (Key.isDown(Key.UP)){
yspeed -= power
}
if (Key.isDown(Key.DOWN)){
yspeed += power
}
if (Key.isDown(Key.RIGHT)){
xspeed += power
}
if (Key.isDown(Key.LEFT)){
xspeed -= power
}
sorry forgot to tell you
after you name the MovieClip
search for a Actions button or tab if you cant find it than press F9 or look for Window drop down menu and then look for Actions and press it and than click on the movieclip
If you have flash builder, don't even bother with AS2 - work with AS3. Flash builder is fantastic, especially the built in debugger - it will change the way you code in Action Script.
D
You must be logged in to post a reply!
We may use cookies to help customize your experience, including performing
analytics and serving ads.
Learn More