how to make a simple menu that hides when not needed?
xyloFUN
Member Posts: 1,593
Hey,
i've been watching some of the game demos posted on here and many have a really cool menu with buttons that slide out.
Did someone ever make a tutorial on how to do this?
Nothing fancy, just say a side strip that has 4 buttons on it and the menu comes out when needed?
I'd love to read a tut or if someone feels up to it, please just describe how to add the main strip on the side and one button that sticks to it.
thanks
i've been watching some of the game demos posted on here and many have a really cool menu with buttons that slide out.
Did someone ever make a tutorial on how to do this?
Nothing fancy, just say a side strip that has 4 buttons on it and the menu comes out when needed?
I'd love to read a tut or if someone feels up to it, please just describe how to add the main strip on the side and one button that sticks to it.
thanks
Comments
I would set them all offsceen and use interpolate to get them into position when needed, then move offscreen again when not needed.
You'll need some sort of button somewhere to call them in/tart them off.
In the interpolate command, just say 'Change selfpositionx' and apply the time - if you use ease in/out, you'll get a nice soft entry/disembark.
hope that helps!
QS
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io
that is great! I can't wait to experiment with that! .... actually, I don't have to wait .... i'm off to experiment now!!!
http://www.resqwest.com/TEST/popup_selector.gameproj.zip
hope it helps a bit
I will dissect it like the frog in grade ....
I am soooo excited to fiddle with this tonight because that is EXACTLY what I need!
That phone screen is soooo tiny!
John, while I have your attention, here is what i did:
I've build resolution independent for iphone but now i can not set my graphics to "fixed" anymore or i'm afraid that it will mess up the iphone 4 or 3 version. Especially, since i have no way of doing early testing which is not good.
So thanks for now .... I'll be back!
I can not imagine that two resolutions could function without messing one or the other up?
Will see ... i try to test on the weekend.
Now back to that menu ....
that is good to hear! I did have issues with discrepancies between the simulator and test build and naturally, I am worried that now, that i'm working on two resolutions where I have hardly control over how things scale down .... will see tomorrow as I might be able to test then.
John, if you happen to catch this, and you are not too busy, could we do a few things with the menu? i tried a few things but don't get what i'm after ....
give me a shout if you're still up?
The iPhone screen is tiny (im so used to the ipad) and i am afraid that I can not implement the buttons on the screen like i did with the trumpet so, i have to learn how to make a sliding menu which you have already told me how to proceed.
I have never used "interpolate" so I like that! Previously, when I watched others and how liquid everything came on screen, I loved the look of that ....
But how do i actually make an actor that causes an other actor to slide in?
I assume i need to ad a scene attribute, integer set to 0 or 1?
thanks John,
i will do that! I'm having a lot of fun with the little screen app and have decided to make it super simple!
How ever, I always include three different ways to do something in my apps (remember the trumpet offers "learn, play and compose") so this time, i will have 10 lessons, each taking one scene but, and this is the good part, students who are not sure how to play the song can tap the notes and the notes will play the clarinet.
I've done that a few months back with a flash app and it works great!
Earlier, i registered the domain tapasong.com so that I can branch out, offering an additional product down the road ....
So, the first part will be the lessons, the second part will be a few songs (with more on the web page) and the last, I repeat the composing module like the trumpet has!
OK, in another post, someone mentioned that we can control where to "place" an actor on the screen (drag & drop)
Have you done something like that? and if yes, could I also read out which actor (say from 8 different ones) was dropped where? THAT would be ultra cool for my piano app which i'm hoping to start on Monday
The plan is to test tomorrow night or Saturday and then send another one to the Apple tree
Question:
can i make it so that scenes change smoothly (by using the "next scene" function?
I wish it wasn't such a pain to get the iphone viewer installed ....
It's been a good day The Little Composers Clarinet is 90% done ... and so am i
When I started my first app I thought RI would be a good idea. The two words suggest that
when selected that graphics will look good across all platforms. WRONG.
When I finally loaded my app onto my iPhone 3GS everything was blurry...just terrible.
I went back and deselected RI, loaded the app back onto iPhone and everything looked great.
My app "Coin Fountain" was released 3 days ago and so I checked it out on both the new iPhone4 and an iPad.
It looks great on both screens.
Its easy to mistake RI for a magic bullet which it isn't.
I created my app as a 320x480 and it looks great.
It's a small app and comes in at just over 8.3MB cause of 3 full size screen images.
If I would have set it to the suggested larger res for the new iPhone 4 it would be way over 10MB.
i did not know this but asked earlier because of the discrepancy between testing in the simulator and then on the ipad. The simulator looked perfect (no strange movement) but exporting to the ipad revealed a problem.
The fix was to adjust them images from "stretch" to "fixed" which took care of my problem!
Now, with RI, i don't have that option so i was concerned ..... will see what the actual test reveals but yeah, i'm ready to drop RI in need be.
Question: How did you submit to Apple? Two separate builds?
p.s. I've decided to add a third column to my web page ... so that's all the fun i'm having