User Tag List

Results 1 to 9 of 9

Thread: Could someone test this out?

  1. #1
    Clicker Multimedia Fusion 2

    Join Date
    Sep 2006
    Location
    Britain, South Coast
    Posts
    1,030
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Could someone test this out?

    HWA doesn't work for me cos my laptop's rubbish, but could someone try this out for me? I wanna see how far you could push it with HWA.

    Basically, you create about 500 objects, all circular and 4px in diameter. They should be black filled circles.

    Make a small top-down game with obstacles and a player movement.

    Spread an ID in all the objects, and then ALWAYS run a fastloop 200 times.

    The events should do this:

    Always
    --- Active: Set 'Show' to "NO"

    Always
    --- Run Fastloop

    On Loop
    --- Active: Set value 'Angle' to 360.0°/NObjects("Active")*ID("Active")
    --- Active: Set X pos to 'player + cos(Angle("Active")) * (loopindex * 4)

    on Loop
    Active: Overlaps backdrop
    --- Active: Set 'Show' to "YES"

    On Loop
    Active: "Show" = "YES"
    --- Active: Add backdrop



    Basically, it should plot a circle made of 500 small circles, and use a fastloop to expand the circle across the screen. The circles will register if they overlap an obstacle, and any circles who have a 'show' value of 'YES' are drawn onscreen.

    The result is a fog of war effect. With fewer and bigger objects, it runs at about 30fps for me without HWA. I'd love to know how much finer you can tune it with HWA!!

  2. #2
    No Products Registered

    Join Date
    Feb 2007
    Location
    Sydney, Australia
    Posts
    1,654
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Could someone test this out?

    I was going so well until I got to:

    Always
    --- Run Fastloop

    how is it : Start loop?
    If so then how many times?

  3. #3
    No Products Registered

    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    1,141
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Could someone test this out?

    Those lines result in doing 100000 string comparsions every loop. I would suggest you replace the Show String with a flag for better preformance.

  4. #4
    Clicker Multimedia Fusion 2

    Join Date
    Sep 2006
    Location
    Britain, South Coast
    Posts
    1,030
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Could someone test this out?

    Could someone test it with a flag then? The fastloop starts every frame, and runs 200 times as I said in my 1st post. Wasn't very clear of me, cos I didn't put it in the pseudocode - sorry!

  5. #5
    No Products Registered

    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    1,141
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Could someone test this out?

    I think the problem is the massive ammount of actives you are using, wouldn't this be possible with an Overlay? I get less than 1 FPS when There are 500 actives with this code...

  6. #6
    Clicker Fusion 2.5 (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Nov 2007
    Posts
    456
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Could someone test this out?

    Heh, I ran a test on my PC using both versions of MMF2 (normal and HWA) to see how far I could puch it, but the test was simpler. Oh, btw my PC is running a 2Ghz AMD processor and a 128Mb nVidea graphics card. I set it to create a textured "+"-shaped object, with bouncing ball control every frame (bouncing whenever it hit the frame edge, frame size the standard 640x480), and have it rotate at an increasing speed, biased towards quality rather than speed. I tested how many objects were onscreen before the framerate had dropped from 50 to 30.

    The results were amazing.

    MMF2 standard didn't hit 40 objects before plummeting well below 20FPS

    MMF2 hardware hadn't gone down from 50FPS at TWO THOUSAND FIVE HUNDRED objects (caps for amazement 'n shizz :P ). It didn't reach 30FPS until almost 4500 objects. HOLY WOW.

    Clickteam, I love you people, possibly too much.

    Dines, I know this isn't the test you were looking for, but I hope it gives you some idea of the power...

  7. #7
    Clicker Multimedia Fusion 2

    Join Date
    Sep 2006
    Location
    Britain, South Coast
    Posts
    1,030
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Could someone test this out?

    Werbad - do you get 1fps in HWA mode? The number of actives won't be the issue. It may be a combination of other factors:

    - The number of fastloops.
    - The Add Backdrop action.
    - The Delete Backdrops action which would be required as well.

  8. #8
    No Products Registered

    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    1,141
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Could someone test this out?

    It never occurred to you that my computer might not be as good as yours?

  9. #9
    Clicker Multimedia Fusion 2

    Join Date
    Sep 2006
    Location
    Britain, South Coast
    Posts
    1,030
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Could someone test this out?

    No, my laptop's rubbish

    It's got 256mb RAM, onboard graphics (32mb), and is apparently 2ghz (but it's slow as; runs like a drugged dog).

    in fact, it's so poor, it can't even run the HWA beta, lol!

Similar Threads

  1. Admob ads "test 1 mydomain.com" "test 2 test 3" ?
    By Outcast in forum Android Export Module Version 2.0
    Replies: 2
    Last Post: 13th November 2013, 07:48 PM
  2. Please test this for me
    By Tuna in forum SWF/Flash Export Module Version 2.0
    Replies: 5
    Last Post: 14th February 2011, 11:42 AM
  3. Test Run
    By Carter in forum The Games Factory 2 - Technical Support
    Replies: 1
    Last Post: 4th February 2011, 07:31 AM
  4. Would Somebody Please test this?
    By kungsangun in forum File Archive
    Replies: 3
    Last Post: 6th June 2007, 07:31 PM

Posting Permissions

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