★ iOS 7 Parallax GS Demo ★
GSAnimator
Member Posts: 312
Just upgraded to iOS7 beta 2 and like the parallax background So made this quickly demo in GameSalad.
Hope you guys can make it better
DOWNLOAD DEMO
Hope you guys can make it better
DOWNLOAD DEMO
Comments
✮ FREE TEMPLATES, ANIMATIONS ✮ ✮ GAME PRO MARKET BUY & SELL ✮
here is my code to make a BG move with the tilting of the phone
Make 4 real attributes in your BG actor: "My X" and "My Y" "movement point X" and "movement point Y"
rule 1
change attribute my X to self.position X
rule 2
change attribute my Y to self.position Y
rule 3
constrain attribute movement point X to self.My X + game.accelerometer X * 28
rule 4
constrain attribute movement point Y to self.My Y + game.accelerometer Y * 28
rule 5
constrain self.motion.linear velocity X to 10*(moment point X-self.postion X)
rule 6
constrain self.motion.linear velocity Y to 10*(moment point Y-self.postion Y)
this keeps it moving pretty smoothly.
-Ash
✮ FREE TEMPLATES, ANIMATIONS ✮ ✮ GAME PRO MARKET BUY & SELL ✮
Lump Apps and My Assets
http://db.tt/5wiyGto2
https://dl.dropboxusercontent.com/u/27937751/gs/modules/iOS7Parallax_v1.0_06_27_13.gameproj.zip
✮ FREE TEMPLATES, ANIMATIONS ✮ ✮ GAME PRO MARKET BUY & SELL ✮
✮ FREE TEMPLATES, ANIMATIONS ✮ ✮ GAME PRO MARKET BUY & SELL ✮
Not sure if you checked out my project above... I've worked a lot with the accelerometer in the past.
The example project uses only 2 constrains and no rules. Most importantly, the function includes a low pass filter with a couple settings to adjust sensitivity as you see fit.
Also, function is based on camera size so it should work completely independent of scene or project size (as in for any device with no modifications to function).
Oscar what am I supposed to do with an apk?
GSanimator filling out a form/shopping cart and handing over all kinds of private info? I DONT THINK SO.
Few month ago we got our a new website called GSAnimator.com then put our product on it and allow people to buy&download the templates without register or fill form, after that a lot of people said that they don't get the files or any email info after purchase the item, so we decided to change the way when people buying templates require to register&login, so they can automatically get the file in their account without any problem.
Now we still working on some high quality Templates&Animations And if you guys afraid to provide your personal info on GSAnimator.com here is the iOS 7 Parallax GS Demo
for you to download directly.
Cheers
Zhong.
✮ FREE TEMPLATES, ANIMATIONS ✮ ✮ GAME PRO MARKET BUY & SELL ✮
Cheers ! >-
Cheers
Zhong.
✮ FREE TEMPLATES, ANIMATIONS ✮ ✮ GAME PRO MARKET BUY & SELL ✮
@GSAnimator.com
Agreed, ericzingeler's demo (with it's excellent LPF) is working back to front, I made exactly the same change as you did (*0.5+ . . . . to *0.5-).
Also I changed the move distance to Y=0.2 and X=0.3 as I think the more subtle/subliminal this effect it the more it works.
But regardless excellent work from everyone ! >-
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
One more question. In your demo who is that Girl (bg2)?
"The document “iOS7_Parallax_Demo_iphone.gameproj” could not be opened. Unable to read file."
GS Creator 10.3
Mac running System 10.8.4
I even implemented it in my latest App I am working on. Nice touch.
BTW Bist Du in Deutschland?
Thanks, I got it fixed. It was my fault.
Quite off topic: z.Z im Ausland