User Tag List

Results 1 to 5 of 5

Thread: Items on Arkenoid

  1. #1
    Clicker Fusion 2.5 Developer

    Join Date
    Jan 2007
    Location
    USA
    Posts
    691
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Items on Arkenoid

    I'm making a custom version of Arkenoid (Block Breaker Game) with MMF2, and I have my main system for it. All of the blocks are the same Active Object.

    Is there an expression or code that I could use to make it so that items are randomly created underneath the blocks and move downwards?

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5 DeveloperiOS Export ModuleMac Export ModuleSWF Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    JasonDarby's Avatar
    Join Date
    Jun 2006
    Location
    UK
    Posts
    4,938
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)

    Re: Items on Arkenoid

    Ive made a bat an ball clone, and i just put in special bricks inbetween all of the main blocks, then mixed them all up. Yes that does then mean coding each special block and an item being created from its position, but once youve done it for one its pretty easy to replicate and copy between frames and levels.

    Jason

  3. #3
    Clicker Fusion 2.5 Developer

    Join Date
    Jan 2007
    Location
    USA
    Posts
    691
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Items on Arkenoid

    But I don't want it to be the same pattern every time. Eventually people will pick it up.

    I was thinking more along the lines of a random brick getting chosen as an item brick at the beginning of the frame (using expressions) and then dropping an item when hit.

  4. #4
    Clicker Multimedia Fusion 2Android Export Module
    Corlen's Avatar
    Join Date
    Mar 2007
    Location
    Your House
    Posts
    848
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Items on Arkenoid

    Just use the start of frame and pick one random object of conditions for the brick and set on a flag for the chosen brick which then is used to create an item if that brick is hit with that flag on. Either that or if you want more than one to create items just have a random variable value be generated when each brick is hit and if it's a certain value then the item is created when it's disappearing animation is finished.

    As for the item, have it's X position always be set to it's own X position + 1.

  5. #5
    Clicker Fusion 2.5 Developer

    Join Date
    Jan 2007
    Location
    USA
    Posts
    691
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Items on Arkenoid

    Do you think somebody can make an example for this? I am still having problems.

Similar Threads

  1. Add items every so often
    By AnonymouseK in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 25th August 2013, 06:38 PM
  2. Collectible items to appear once?
    By N64Mario in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 17th February 2009, 02:55 AM
  3. Items
    By Rabagast in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 25th July 2008, 06:26 PM
  4. Retrieving Items in Ini++
    By Jaffob in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 23rd June 2008, 10:08 PM
  5. Saving Items
    By Jdsfrog in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 16th April 2007, 10:50 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
  •