A Flash Developer Resource Site

Results 1 to 20 of 24

Thread: [DEMO] PipoL

Threaded View

  1. #18
    The Flashman earl223's Avatar
    Join Date
    Sep 2000
    Location
    Marikina City, Philippines
    Posts
    876
    Xploder:At first I couldn't figure out the scrolling sice it doesn't recognize the mouse position outside of the movie well enough . Takes a while for 100 'lemmings' to walk across the screen, so I would suggest that you can make them speed up by the press of a button. I think that option was in the original aswell.

    Nice landscape did you use the new Bitmap API for scrolling/loading?
    Scrolling happens when the mouse pointer is around 50 pixels towards the edge of the stage. I actually had a "fastforward slider" which allowed you to do just that. The problem was getting the "fastforward" to work effortlessly. I used a setInterval to determine "pipol" actions based on time... but it slowed everything down when you have more than 30 of them on screen. So i had to take it out...

    The game is currently played at 25 fps. When i used the "fastforward" slider, i had the game at 120 fps and played around with setInterval to get the speed i wanted and it worked... but like i said... it was a dissappointment. If you guys can suggest a better way of doing it then let me know.

    Scrolling, btw, is done with the simplest of methods. the map is one long movieclip, and just check mouse position and scroll the clip on the _x axis accordingly. The Bitmap API is used to place the map on stage.

    UnknownGuy: One suggestion for the exploding lemming, in the original(or the one I played), it started a countdown timer of 5 I believe, making you have to time it. That might make exploding a little harder to time.
    The countdown timer i was considering....

    imjoedaddy:About the background music. It wasnt working at first, but when I refreshed the site it worked . . .
    Yeah, it's a bug i'm still trying to figure out.


    Orkahm52:If a blocker is assigned when he is on top of another person, the other person is stuck fliping left and right.
    Yeah... that would happen... i still need to figure out how to prevent a blocker assignment if he aint on the ground.

    Thanks for all the comments.
    Last edited by earl223; 02-24-2006 at 10:47 PM.
    i eat actionscripts for breakfast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center