0 Favourites

.: Rotating MENU (AirScape like)

  • Hi, people!

    I?ve read the tutorial of Gravity based platformer/rotating layout(http://www.scirra.com/tutorials/273/how-to-make-a-gravity-based-platformer) but it seems a bit HARD for me to understand and unfortunally the author did not put example capx for download to help us understand the code.

    • But what I really want to learn is how to make the rotating MENU "sqiddster" made in AirScape.It?s so cool!

    I tried to make it but I got stuck! <img src="smileys/smiley5.gif" border="0" align="middle" /> <img src="smileys/smiley5.gif" border="0" align="middle" /> <img src="smileys/smiley5.gif" border="0" align="middle" /> <img src="smileys/smiley5.gif" border="0" align="middle" /> <img src="smileys/smiley5.gif" border="0" align="middle" />

    I also asked the author only the MENU .capx but he can?t show me because of his game rights/etc I think so.

    PLEASE:

    If anyone/PROs can help, please put an AirScape MENU like example .CAPX here for download.

    It whould be an AWESOME example for everybody to learn from!!!

    Thank you very much!

    Leozin

    P.S> AirScape: scirra.com/arcade/games/addicting-rotary-games/848/airscape

  • Any PRO to help?

  • I had a look earlier but didn't have time to reply. My memory is foggy, so I'll explain best I can... names maybe be wrong but you should still get the idea..

    All screens are on one layout. The main one, options and the other - forgot what it was, but let's call it level selection (it probably was). Options screen items are placed at an angle (-90) to the left of main, and level selection screen items are placed at angle 90 to the right of main. When clicking a button to go to either, it looks like a lerp is used to rotate the layout to bring the other "screens" into view. And it just lerps back to the original from the other 2 "screens".

    Sorry if I haven't explained properly. I'll try and work up an example, but I had a few drinks earlier so... ;p

  • Hey, you should have PM'd me and I would have been happy to help you out!

    Basically, everything is on one big layout. There is an object called 'camera' which is invisible and has the scroll-to behavior.

    There are objects called camera-zones which are basically big rectangles (same size as window size) that frame every area I want the camera to go to. They can be at any position or angle.

    Then when the appropriate button is pressed, I make the camera's x,y, and angle lerp to the x,y, and angle of the appropriate camera zone.

    (If you don't know how to lerp, there's an explanation in the FAQ).

    Hope I helped!

  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
  • And who better to explain it than the man himself ;)

  • And who better to explain it than the man himself ;)

    hehehe... <img src="smileys/smiley4.gif" border="0" align="middle" />

    But The Man himself forgot the CAPX again! hehehe... <img src="smileys/smiley17.gif" border="0" align="middle" />

    Cold you please make an example for this?

    $10 dollars and a drink for the winner!    <img src="smileys/smiley4.gif" border="0" align="middle" /> <img src="smileys/smiley17.gif" border="0" align="middle" /> <img src="smileys/smiley2.gif" border="0" align="middle" /> <img src="smileys/smiley4.gif" border="0" align="middle" />

  • leozin, I just remembered...

    I made an English presentation a while back using C2, using exactly the same technique.

    dl.dropbox.com/u/41931267/English%20Justice.capx

    Enjoy ;)

  • A-W-E-S-O-M-E!

    Oh GOD! This presentation is INCREDIBLE!

    This code is really really good!

    Thank you very much sqiddster for your kindness!

    You are a real PRO man!

    <img src="smileys/smiley2.gif" border="0" align="middle" /> <img src="smileys/smiley4.gif" border="0" align="middle" /> <img src="smileys/smiley1.gif" border="0" align="middle" /> <img src="smileys/smiley2.gif" border="0" align="middle" /> <img src="smileys/smiley17.gif" border="0" align="middle" />

  • Glad it worked out for you!

  • You can send-me this link: dl.dropbox.com/u/41931267/Engli ... stice.capx

    Link is broken

  • ricardoguedes21

    This thread is 3 years old. Did you intend to resurrect another dead thread?

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)
Similar Topics Posts Views Last Post
Unread hot topic
168 15,509
Lumicreative's avatar
Lumicreative
Unread hot topic
157 12,688
megatronx's avatar
megatronx
Unread hot topic
55 14,325
cingee's avatar
cingee