RUBE sliding menu?

General discussion about the R.U.B.E editor
Post Reply
vkreal
Posts: 66
Joined: Sun Jan 13, 2013 7:29 pm

RUBE sliding menu?

Post by vkreal »

Hi iforce2d,

Did you use RUBE to make menu system for "Rookie, PRO" in Downhill? I am interested in how you did the sliding part.


Thanks!
iforce2d
Site Admin
Posts: 861
Joined: Sat Dec 22, 2012 7:20 pm

Re: RUBE sliding menu?

Post by iforce2d »

Not really. RUBE was used to place two bodies and give them special names, and the distance between them defined the direction and distance of one 'step' of the slide. These are the 'selectbutton' and 'scrolloffset' bodies in the screenshots here:
scrollPacksLayer.png
scrollPacksLayer.png (63.29 KiB) Viewed 5749 times
scrollTracksLayer.png
scrollTracksLayer.png (31.88 KiB) Viewed 5749 times
That's about as much as RUBE contributed, the rest was done in the program. I think I basically re-wrote all the code for how lists scroll, bounce, and gravity-snap in iOS :D
Post Reply