
-----------------------------------
Jacx
Thu Jan 06, 2005 10:23 pm

Hey guys whats up? I really need some help
-----------------------------------
Im making a game where you basically move a circle to a box (Its more complex then that, with obsticles and pictures insteaod of a circle EXC but thats the basic)
In the game, the circle starts in a square area, and you have to move it to the box with keys. 
Now the problem im having, is i want it so after you lets say beat level 1.
Level 2 will start, same erything, different area for the obscticle (Which i think I got) But i want to make it so it runs faster, as in your guy moves faster and the timer moves faster, so after every level it gets faster and faster EXC.

How can I do this? I tried a few things but i cant seem to jack the overall speed of the program up after every level, can someone help me out here please?

Also i am a faily experianced flash artist, if anyone who can help me needs any help with their flash ANIMATING skills, then i may be able to help out.


And i dont want plain answers, just like methods of what exactly do you do to speed programs up? Like do you use strings arrays exc

-----------------------------------
Paul
Thu Jan 06, 2005 10:29 pm


-----------------------------------
Well, make your level one in a way with delays and make it efficiently, so it would go a normal/slow speed. To speed the program up, lessen the delays, or increase the increments that each keypress adds to the position of the circle. Plus, if you could post you're code, then we could give you more specific answers. Even maybe how you did it.

-----------------------------------
w00t
Thu Jan 06, 2005 10:31 pm


-----------------------------------
Hmm..

Heres a thought .. 

If you "circle" has a delay.. ie "delay (10)"

drawfillarc (x, y, 20, 20, dir + mouth, dir - mouth, 14)
    if dir = 0 then
        drawfilloval (x + 4, y + 11, 3, 3, 7)
    elsif dir = 90 then
        drawfilloval (x - 11, y + 4, 3, 3, 7)
    elsif dir = 180 then
        drawfilloval (x - 4, y + 11, 3, 3, 7)
    elsif dir = 270 then
        drawfilloval (x + 11, y - 4, 3, 3, 7)
    end if


    >>>>>delay (7) 