Thanks everyone for the basic coding! On newareagle (my main account) I made a little short animation and set it up as my icon. I had to export it as a .gif image. (Took me a few minutes to figure out how.)
Last edited by F18 (2008-08-07 17:50:33)
Offline
Bluestribute wrote:
Cyclone103 wrote:
Ok, problem. The text box is not displaying any text. What do I do? I set it to dynamic, and it is supposed to display the variable.
Did you do
_root.var (replace with your variable)
Yes I did. Life in this case, as per the example. Btw archmage, how do you do shape tweens with the timeline thing and play them?
Offline
whats the equivilant of
[blocks]
<repeat( 10
<end>
[/blocks]
in flash action 2
Last edited by deatheater (2008-08-07 18:02:38)
Offline
deatheater wrote:
whats the equivilant of
[blocks]
<repeat( 10
<end>
[/blocks]
in flash action 2
Or:
<repeat until>
or (yeah, watch this ):
<switch to costume[ (I know it's frames, but how do I make it for 1 instance only, not all of them?)
Offline
Hobbs1100 wrote:
I meant around what age? I'm 12, so would that be a good time to start?
The younger the better.
Offline
Bluestribute wrote:
deatheater wrote:
whats the equivilant of
[blocks]
<repeat( 10
<end>
[/blocks]
in flash action 2Or:
<repeat until>
or (yeah, watch this):
<switch to costume[ (I know it's frames, but how do I make it for 1 instance only, not all of them?)
I think repeat until is equivilant to:
do {_x-=1;
} while (_root.var=1);
which changes the x by -1 until var doesn't equal 1
Last edited by deatheater (2008-08-07 18:07:49)
Offline
Cyclone103 wrote:
Bluestribute wrote:
Cyclone103 wrote:
Ok, problem. The text box is not displaying any text. What do I do? I set it to dynamic, and it is supposed to display the variable.
Did you do
_root.var (replace with your variable)Yes I did. Life in this case, as per the example. Btw archmage, how do you do shape tweens with the timeline thing and play them?
Not sure for CS3 but in flash 8 you can click a timeline with a tween and in the bottom left corner there is a box where you can change the type of tween.
Also, unlike scratch there are tons of resources for actionscript programmers so ask google before anyone else next time.
And the first link for shape tween CS3 is
http://edutechwiki.unige.ch/en/Flash_shape_tweening_tutorial
Offline
deatheater wrote:
whats the equivilant of
[blocks]
<repeat( 10
<end>
[/blocks]
in flash action 2
Use a for loop
for (i=0;i<10;i++){
//do whatever
}
Scratch loops unlike flash loops have a built in wait before each loop. This is a bit of a pain sometimes.
Offline
archmage wrote:
deatheater wrote:
whats the equivilant of
[blocks]
<repeat( 10
<end>
[/blocks]
in flash action 2Use a for loop
for (i=0;i<10;i++){
//do whatever
}
Scratch loops unlike flash loops have a built in wait before each loop. This is a bit of a pain sometimes.
so whats the stuff in the middle mean???
Offline
deatheater wrote:
Bluestribute wrote:
deatheater wrote:
whats the equivilant of
[blocks]
<repeat( 10
<end>
[/blocks]
in flash action 2Or:
<repeat until>
or (yeah, watch this):
<switch to costume[ (I know it's frames, but how do I make it for 1 instance only, not all of them?)I think repeat until is equivilant to:
do {_x-=1;
} while (_root.var=1);
which changes the x by -1 until var doesn't equal 1![]()
Your code is wrong.
it should be
do{_x-=1;
}while (_root.var==1)
= is for setting variable values and == is for checking to see if 2 variables are of equal value.
Here is a small list of diffrent ones
== //equal
!= //not equal
>= greater than or equal
<= //less than or equal
and for the << <and> >> << <or> >> << <not> >>
use this
|| //or
&& // and
! // not
like this
if (_root.one!=1 && _root.two!=2){
//do stuff
}
Offline
deatheater wrote:
archmage wrote:
deatheater wrote:
whats the equivilant of
[blocks]
<repeat( 10
<end>
[/blocks]
in flash action 2Use a for loop
for (i=0;i<10;i++){
//do whatever
}
Scratch loops unlike flash loops have a built in wait before each loop. This is a bit of a pain sometimes.so whats the stuff in the middle mean???
That is a for loop. As a person working with scratch you have probally never seen one before. They are very useful.
each for loop has its own private variable that can only be using within the loop. This is declared in the first part of the loop
i=0
The loop will run if the condition in the second part of the loop is met. In this case the condition is that i is less than 10.
i<10
The last part changes the loop variable each time the loop is run. ++ is a post increment operator that will increase a variable by 1.
i++
You people should try looking at google for answers more often.
Or you can consult the newgrounds encyclopedia of AS2 knowledge
http://www.newgrounds.com/bbs/topic/229808/50
I have the link bookmarked. I recommend you do the same.
Offline
archmage wrote:
deatheater wrote:
Bluestribute wrote:
Or:
<repeat until>
or (yeah, watch this):
<switch to costume[ (I know it's frames, but how do I make it for 1 instance only, not all of them?)I think repeat until is equivilant to:
do {_x-=1;
} while (_root.var=1);
which changes the x by -1 until var doesn't equal 1![]()
Your code is wrong.
it should be
do{_x-=1;
}while (_root.var==1)
= is for setting variable values and == is for checking to see if 2 variables are of equal value.
Here is a small list of diffrent ones
== //equal
!= //not equal
>= greater than or equal
<= //less than or equal
and for the << <and> >> << <or> >> << <not> >>
use this
|| //or
&& // and
! // not
like this
if (_root.one!=1 && _root.two!=2){
//do stuff
}
well I was close
Offline
I made a newgrounds account to help get meh flash stuffs up, as soon as I figure it out! http://cyclone103.newgrounds.com/ I have nothing up. Anyone know how to download project people have made?
Offline
Cyclone103 wrote:
I made a newgrounds account to help get meh flash stuffs up, as soon as I figure it out! http://cyclone103.newgrounds.com/ I have nothing up. Anyone know how to download project people have made?
Don't think u can on newgrounds, plus they don't want new begginer projects , so I'm making a maze game
Offline
deatheater wrote:
Cyclone103 wrote:
I made a newgrounds account to help get meh flash stuffs up, as soon as I figure it out! http://cyclone103.newgrounds.com/ I have nothing up. Anyone know how to download project people have made?
Don't think u can on newgrounds, plus they don't want new begginer projects
, so I'm making a maze game
![]()
Lol, I was hoping to get a local copy of bubble tanks 2. Oh well. I know they don't want beginner projects, but I made the account to ask people questions, and eventually post once I get my projects in Flash up to par, or close to it. And, I wanted to have my claim on my username
Offline
Cyclone103 wrote:
deatheater wrote:
Cyclone103 wrote:
I made a newgrounds account to help get meh flash stuffs up, as soon as I figure it out! http://cyclone103.newgrounds.com/ I have nothing up. Anyone know how to download project people have made?
Don't think u can on newgrounds, plus they don't want new begginer projects
, so I'm making a maze game
![]()
Lol, I was hoping to get a local copy of bubble tanks 2. Oh well. I know they don't want beginner projects, but I made the account to ask people questions, and eventually post once I get my projects in Flash up to par, or close to it. And, I wanted to have my claim on my username
![]()
have u noticed ur character autimatically scrolls, off screen, if u push him off
Offline
hey archmage I'm trying to make a maze game,but when I make a wall symbol, there's this blue square that covers the whole maze, do I have to do each wall seperately, can u change that square, or can I do colour sensing, thanks
Offline
Basic hittests check for collisions of bounding boxes while shapeflag hitTests check for collisions at a specific coordinate. Also check out the links I posted at the bottom of the first post in this thread. They have info that can answer most of your questions.
Offline
archmage, i was wondering how hard it would be to make my "Factory Escape Saga" Game in Flash. i would like to try to make it with a lot nicer grpahics, then maybe see what It is worth. I was wondering if you could download it and see if it would be possible to make in Flash, and how long it would take a master/beginner. Thank you.
Offline
Newareagle, it wouldn't be too difficult for someone who knows the basics of flash.
I went ahead and remade your project with the first level into flash. It took me about 2 hours but most of the programming that flash will need is done.
http://spamtheweb.com/ul/upload/080808/70709_demo.swf
Here is the fla
http://spamtheweb.com/ul/upload/080808/70912_factory_escape.fla
This would take me no more than a day to complete since you already have all the levels already made. If you want I can work with you to make a complete flash version of it, then get it sponsored for cash and submit it to newgrounds.
If you want to do this yourself you should go to this link and learn everything in the basic section.
http://www.newgrounds.com/bbs/topic/638183
Also, the guys at NG are very good with flash so you can ask for help if the flash forums if you need it.
Last edited by archmage (2008-08-08 19:47:25)
Offline
I am now using NG for all of my flash needs, but I still need help with hiding a mouse.
Offline
Cyclone103 wrote:
I am now using NG for all of my flash needs, but I still need help with hiding a mouse.
Mouse.hide
Offline
Use Mouse.hide();
Pretty simple command.
Offline
Bluestribute wrote:
Cyclone103 wrote:
I am now using NG for all of my flash needs, but I still need help with hiding a mouse.
Mouse.hide
That won't work.
You forgot the brackets.
Offline
archmage wrote:
Bluestribute wrote:
Cyclone103 wrote:
I am now using NG for all of my flash needs, but I still need help with hiding a mouse.
Mouse.hide
That won't work.
You forgot the brackets.
Lol, you know what i mean (you should at least)
Offline