Integrating Parallax for mobile app game

Creating Games? Developing something for fun?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
creativesmythe
Posts: 4
Joined: Thu Sep 26, 2013 7:53 pm

Integrating Parallax for mobile app game

Post by creativesmythe » Thu Sep 26, 2013 8:23 pm

Hello,

I would like to know how to integrate parallax for a sheep herder like game to be deployed as a standalone mobile app. I watched the ebook academy tutorials...and I really liked the feature. I have been playing with it on my adobe creative cloud.... but I would really like to integrate the feature in a sheep herder like game.

Thanks
C :?:

BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1239
Joined: Sat Apr 08, 2006 1:10 pm
Contact:

Re: Integrating Parallax for mobile app game

Post by BvG » Fri Sep 27, 2013 3:09 pm

I'd say you need to give more details about what your goal is.

Parallax in side scrolling games is achieved by having several "layers" that move at different speeds, the further 'back' the slower they move.
Various teststacks and stuff:
http://bjoernke.com

Chat with other RunRev developers:
chat.freenode.net:6666 #livecode

LCNeil
Livecode Staff Member
Livecode Staff Member
Posts: 1223
Joined: Wed Oct 03, 2012 4:07 pm

Re: Integrating Parallax for mobile app game

Post by LCNeil » Fri Sep 27, 2013 3:26 pm

Hi CreativeSmythe,

As BvG says, it will really depend on your overall goal is.

However, the following stack is a great example of how to implement the parallax scrolling effect within your application. You might be able to alter this to suit your game.

http://www.derbrill.com/aforest.rev.zip

Kind Regards,

Neil Roger
--
RunRev Support Team ~ http://www.runrev.com
--

creativesmythe
Posts: 4
Joined: Thu Sep 26, 2013 7:53 pm

Re: Integrating Parallax for mobile app game

Post by creativesmythe » Fri Sep 27, 2013 5:00 pm

Neil & BvG,

Thanks for responding!

I want to add a parallax like background to my sheep herder like game. When I looked at the attachment, It was like exactly what was in my head... just didn't know how to verbalize well.... gonna try to see if I can apply the code you sent to the idea I have... Thanks Again! :D
I really appreciate the help!

C

amberdp
Posts: 1
Joined: Mon Oct 14, 2013 12:05 pm

Re: Integrating Parallax for mobile app game

Post by amberdp » Mon Oct 14, 2013 12:20 pm

It's better for animation, because they are simple.

Post Reply