User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 19

Thread: Is it possible to make a Rubik's cube game?

  1. #1
    No Products Registered

    Join Date
    Jul 2006
    Posts
    225
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Is it possible to make a Rubik's cube game?

    Hi all,
    Is it possible to make a Rubik's cube game? Is there something you can use to have the computer memorize a 3d 3X3X3 Cube's squares and their colors?

  2. #2
    Clicker Fusion 2.5 Developer

    Join Date
    Jun 2006
    Location
    Hampshire, UK
    Posts
    963
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Is it possible to make a Rubik's cube game?

    I imagine the easiest way would be to use a 3d array, and have a different number for each colour. Then represent the array on the screen and manipulate the values when the player turns different segments... although I'm not going to sit here and work it out. Thats just where i would start if i was making it.

  3. #3
    No Products Registered

    Join Date
    Jul 2006
    Posts
    225
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Is it possible to make a Rubik's cube game?

    Cool... Thanks

  4. #4
    No Products Registered

    Join Date
    Aug 2006
    Location
    Westcountry, UK
    Posts
    862
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Is it possible to make a Rubik's cube game?

    this isn't as easy as it seems. A normal 3x3x3 array would remember say the colours of the blocks. But you want the colours of the seperate sides of the blocks. Therefore you might use a normal 1 dimensional array or list box.

    You'll need 9x6 = 54 entries which all relate to each other.

    When creating the array for the first time then if you want it random then create another listbox with all the squares in it and then cut random values from it.

    You would have to work out a view for the whole thing - rotating it would be easy with the array.

    If you want to shift say a whole row arround then you have to find the values on the "circumference" of the square and shift them 3 places. This would be rather fiddly so it would be best if you draw a net of the cube and all the IDs of the sides so you can work out what goes where.



  5. #5
    Clicker Fusion 2.5 Developer

    Join Date
    Jun 2006
    Location
    Hampshire, UK
    Posts
    963
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Is it possible to make a Rubik's cube game?

    Ah yes, you make a very good point. I was merely thinking of a structure that would hold the data of each block, not each side of each block.

    Sorry if i confused anyone!

  6. #6
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module

    Join Date
    Jul 2006
    Location
    USA
    Posts
    658
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Is it possible to make a Rubik's cube game?

    I'm not really sure, but you might want to look into the Advanced Game Board object for the shifting of blocks and so on.

  7. #7
    No Products Registered

    Join Date
    Jul 2006
    Posts
    225
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Is it possible to make a Rubik's cube game?

    errr. ok thanks for the extra clearifying info.

  8. #8
    No Products Registered

    Join Date
    Aug 2006
    Location
    Westcountry, UK
    Posts
    862
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Is it possible to make a Rubik's cube game?

    not the advanced game board. Because of the nature of the cube you would have to wrap the board at other places than each columns and rows. Ill have a look and see what I can come up with.

  9. #9
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    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)

    Join Date
    Jun 2006
    Location
    Killeen, TEXAS
    Posts
    1,062
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Re: Is it possible to make a Rubik's cube game?

    it can be done easily enough for someone who knows how :P

    my advice is start with an easier typical "beginners-game to mmf" - ie, A MMORPG or something

  10. #10
    No Products Registered

    Join Date
    Aug 2006
    Location
    Westcountry, UK
    Posts
    862
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Is it possible to make a Rubik's cube game?

    well I'll work it out for you then

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Ice Cube effect?
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 4th July 2012, 04:30 PM
  2. animated cube?
    By sid in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 5th April 2012, 04:44 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
  •