Selective solids collision is indeed a tricky thing! You will have to use clever events to enable/disable solids.
Get rid of scroll-to.
Every Tick: scroll to X: player.x.
scroll to Y: some constant value.
Alternatively, keep scroll-to, and make the layout height no higher than the window height.
It really depends on how you are using it... it certainly shouldn't slow down your game!
array.at(floor(random(array.width)),floor(random(array.height)))
This get the value from a randon cell in the array... Is that what you want?
What I want to know, is do they force you to use their launcher, or can you have a native-like experience?
I was working a little on an 'ipad' like screen scrolling feature, but I was a bit too tired to work it out... There isn't much math but it is a little confusing...
Maybe this afternoon inspiration will strike ;)
I suppose you want to scroll with a swipe...
This is a bit tricky, I may be able to put up a capx when I get home.
Develop games in your browser. Powerful, performant & highly capable.
Never fear, Scirra are certainly not trying to rip you off.
Please send an email to scirra's liscence help address ( I can't seem to find it, Tom? ) instead of spamming the forum.
Wow, this is an old thread!
Anyway, happy to help. I can't access the capx file now however (not at home) ... I may in a few hours.
Music = What. The. Heck.
heh heh :D
I don't think this is possible, sorry.
The real trick is making it curve! Very difficult!!
Member since 5 Sep, 2011