Title: hey making a game
Description: need help
chad1416 - November 28, 2007 01:53 AM (GMT)
hey, I have a question.
I am making a mouse avoider type game and I have a Math problem.
on my frame I have this to show you the percent complete.
| CODE |
stop(); _root.percent = _root.easy._currentframe / 2000*100 Math.round(_root.percent); |
It shows the percent but it shows it like 53.24 instead of 53.
It doesnt round it up...
what am I doing wrong?
Waterbottle - November 28, 2007 02:04 PM (GMT)
_root.percent=Math.round(_root.percent);
chad1416 - November 29, 2007 03:24 AM (GMT)
| QUOTE (Waterbottle @ Nov 28 2007, 07:04 AM) |
| _root.percent=Math.round(_root.percent); |
Freestyle - December 3, 2007 03:56 PM (GMT)
| QUOTE (chad1416 @ Nov 28 2007, 07:24 PM) |
| QUOTE (Waterbottle @ Nov 28 2007, 07:04 AM) | | _root.percent=Math.round(_root.percent); |
|
ok there is a straight line after a few of them how are you suppost to pass it? cause If you knock into it you failed? Good job though mate! :D
Waterbottle - December 3, 2007 04:32 PM (GMT)
| QUOTE (Freestyle @ Dec 3 2007, 05:56 PM) |
| QUOTE (chad1416 @ Nov 28 2007, 07:24 PM) | | QUOTE (Waterbottle @ Nov 28 2007, 07:04 AM) | | _root.percent=Math.round(_root.percent); |
|
ok there is a straight line after a few of them how are you suppost to pass it? cause If you knock into it you failed? Good job though mate! :D
|
Jump...?
Jaystaffo - December 3, 2007 07:03 PM (GMT)
Great game but jumping makes it easier you should put a limiter on that though great start
vettefan88 - December 4, 2007 05:48 AM (GMT)
| QUOTE (Jaystaffo @ Dec 3 2007, 07:03 PM) |
| Great game but jumping makes it easier you should put a limiter on that though great start |
yeah, I thought jumping made it too easy, but then it got pretty crazy.
I actually liked it chad, great job.
only suggestion, is the line that goes across the screen and moves up and down, after the moving balls, wen it moves up it gets a little hard to tell where it's going.
it seems like it jumps around, and I didn't know when I was passed it.
but overall, I liked it.
Durka Durka Mahn - January 2, 2008 11:15 PM (GMT)
Great game, man. Just work on the graphics :P
chad1416 - January 3, 2008 01:01 AM (GMT)
| QUOTE (Durka Durka Mahn @ Jan 2 2008, 04:15 PM) |
| Great game, man. Just work on the graphics :P |
| CODE |
ok my sister got a mac, but shes getting a new PC for her birthday. (she's in college) so she's giving me the mac. It doesn't have the newest OS because it doesn't have a DVD-R/RW drive.
so... I know alot about PC's but i dont know alot about mac's... all i know is theres not many viruses for them, and you can use PC software.
so, is there some things i NEED to know?
|
read that^
ok i cant work on flash on this computer. so when i get my mac, and (cough)buy(cough) the mac version of flash, i will work on it. :D
Durka Durka Mahn - January 3, 2008 04:25 AM (GMT)
No idea about Macs. Tbh I've never used one since elementary school.
Li'l Freak - January 4, 2008 09:29 PM (GMT)
Great game.
I got 100%.... I'm not saying which difficulty but thats besides the point lol.
I agree with what vette said you don't know where there going to be or end.. You kinda just start button mashing.. Just it's not that hard because theres only one button lol..
emcp - January 4, 2008 11:03 PM (GMT)
to make it more difficult/realistic
when you jump you can move back and forwards in the same jump
so make it so you can only jump foward or jump in the direction you were last heading in
you may need a bit of trigonometry to do it
with you need any help ask
chad1416 - January 4, 2008 11:07 PM (GMT)
| QUOTE (emcp @ Jan 4 2008, 04:03 PM) |
to make it more difficult/realistic
when you jump you can move back and forwards in the same jump
so make it so you can only jump foward or jump in the direction you were last heading in
you may need a bit of trigonometry to do it
with you need any help ask |
well.. im not really working on this any more... yeah its a cool idea, but i really really want to do a rpg. i've probally started 3-4 rpg's... it aint that there hard... its just im lazy...
and they take a lllooonnnggg time to do :crazy: :crazy: :crazy: