User Tag List

Page 2 of 3 FirstFirst 1 2 3 LastLast
Results 11 to 20 of 23

Thread: Sonic 1 Special stage

  1. #11
    Clicker Multimedia Fusion 2XNA Export Module
    Hezmania's Avatar
    Join Date
    Nov 2012
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry for the double post. Attached a more basic example of what I'm trying to get. Run the frame, press 1 once, then hold 2 and 3 together. You'll see the rotation. Quit holding the keys and then use the arrow keys to move the ball close to one of the red balls. Then press 1 once again, and hold 2 and 3 together. You'll see how the focus point of the rotation changes. Basically this, on a larger scale.
    Attached files Attached files

  2. #12
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleUniversal Windows Platform Export Module

    Join Date
    May 2014
    Posts
    93
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Sorry for going dark. It has been a busy week!

    This is impressive. It even works if you make different shapes with the red circles. Looks like you figured out quite a bit.

    So, what's the issue now? Interaction? Navigation?

  3. #13
    Clicker Multimedia Fusion 2XNA Export Module
    Hezmania's Avatar
    Join Date
    Nov 2012
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by raxabit View Post
    Sorry for going dark. It has been a busy week!

    This is impressive. It even works if you make different shapes with the red circles. Looks like you figured out quite a bit.

    So, what's the issue now? Interaction? Navigation?
    Thanks!

    The problem is that the process breaks apart after a while. It doesn't keep its "Shape" if that makes sense. Once a full rotation is done (after moving your position a few times) they are misaligned. Multiply that by more rotations and the more out of alignment they get.

    specialstageconcepot.png

    I can't even get through a full rotation without the blocks becoming completely broken apart. My guess is that the math is not exact enough between the recalculations.

  4. #14
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleUniversal Windows Platform Export Module

    Join Date
    May 2014
    Posts
    93
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Hezmania View Post
    Thanks!

    The problem is that the process breaks apart after a while. It doesn't keep its "Shape" if that makes sense. Once a full rotation is done (after moving your position a few times) they are misaligned. Multiply that by more rotations and the more out of alignment they get.

    specialstageconcepot.png

    I can't even get through a full rotation without the blocks becoming completely broken apart. My guess is that the math is not exact enough between the recalculations.
    I won't be able to check until tomorrow at the earliest, but did you set it up for floating point numbers?

  5. #15
    Clicker Multimedia Fusion 2XNA Export Module
    Hezmania's Avatar
    Join Date
    Nov 2012
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by raxabit View Post
    I won't be able to check until tomorrow at the earliest, but did you set it up for floating point numbers?
    Dumb question, but how do I check? I'm using alterable values for this. I assumed it had a limit to floating numbers.

  6. #16
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleUniversal Windows Platform Export Module

    Join Date
    May 2014
    Posts
    93
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Hezmania View Post
    Dumb question, but how do I check? I'm using alterable values for this. I assumed it had a limit to floating numbers.
    See if you have a decimal in your stuff. If not, multiply everything by 1.0. It turns out that you didn't, but adding it in didn't make a difference.

    I've been working on a project that does radius stuff for a stage selection screen. Things would gradually lose their place the more they would rotate. My solution was to have the angle snap back to zero if the angle was greater than 360 - rotation speed. Try something like that.

    Edit: Forgot to add that you have to be exact in your rotation speed. Something that can be multiplied by an integer to reach 360.

  7. #17
    Clicker Fusion 2.5Fusion 2.5+ DLC
    casleziro's Avatar
    Join Date
    Mar 2013
    Location
    United States
    Posts
    640
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Instead of using "orbit" rotation, you most likely need some form of 2d transformation:

    https://academo.org/demos/rotation-about-point/
    https://www.tutorialspoint.com/compu...sformation.htm

  8. #18
    Clicker Fusion 2.5Fusion 2.5+ DLC
    casleziro's Avatar
    Join Date
    Mar 2013
    Location
    United States
    Posts
    640
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    A quick example of the math:

    2d_rotation_matrix1.mfa

    you'll need to adjust how the origin is calculated to suit your needs.

  9. #19
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleUniversal Windows Platform Export Module

    Join Date
    May 2014
    Posts
    93
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by casleziro View Post
    A quick example of the math:

    2d_rotation_matrix1.mfa

    you'll need to adjust how the origin is calculated to suit your needs.
    This looks interesting. It's going to be fun messing around with it.

  10. #20
    Clicker Multimedia Fusion 2XNA Export Module
    Hezmania's Avatar
    Join Date
    Nov 2012
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    anyone have the correct surface.mfx file for that tutorial? Mines saying I need the unicode version even though I have it.

Page 2 of 3 FirstFirst 1 2 3 LastLast

Similar Threads

  1. Sonic 3 Special Stage pseudo 3D ball example
    By GamerH2 in forum Guides, Tutorials, Examples, Widgets
    Replies: 8
    Last Post: 7th July 2018, 05:20 AM
  2. Replies: 6
    Last Post: 2nd August 2016, 04:03 AM
  3. SONIC LOOP - Tutorial - sonic the hedgehog loop
    By Sparckman in forum Guides, Tutorials, Examples, Widgets
    Replies: 2
    Last Post: 25th February 2016, 05:59 PM
  4. Sonic special zone orb problem
    By Appo in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 27th July 2011, 01:55 PM
  5. Movement Illusion "Sonic Special Stage"
    By Doverseer in forum File Archive
    Replies: 3
    Last Post: 10th January 2007, 12:23 AM

Posting Permissions

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