playMaker

Author Topic: Making and Endless Scroller in Playmaker  (Read 3687 times)

RyanSchurton

  • Playmaker Newbie
  • *
  • Posts: 5
Making and Endless Scroller in Playmaker
« on: May 27, 2012, 08:01:30 PM »
Hey eveyone so i am currently trying to make an Endless Scroller in Playmaker. I am brand new to playmaker just got it this weekend. So there are two thing am i not to sure about doing. I have a back ground which i want to keep being reyecled over and over and the player travels. Also I want the score to increase as the player travels. I already have my art assest ready to rock and roll. Hope i can get some help

Thanks alot  ;)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Making and Endless Scroller in Playmaker
« Reply #1 on: May 28, 2012, 02:00:11 AM »
Hi,

 have a look at the following game sample on the wiki.

https://hutonggames.fogbugz.com/default.asp?W890

 For the scores,

https://hutonggames.fogbugz.com/default.asp?W895

 For the endless background:

 have two identical planes for the background.

as the user moves, you will need to detect when the first plane gets near the edge and move the second plane so that it's next, and so son, as the user gets near the edge of the second plane, move the first plane.

 one possible easier way to manage this, would be to instantiate and destroy as you go.

Study the following Fsm. They should give you some good hints as to how you could approach this endless background scrolling.

https://hutonggames.fogbugz.com/default.asp?W893

If you are having trouble with this, I think this game sample would be a good base to provide an example of a scrolling background, so that you have a working example.


 Bye,

 Jean

RyanSchurton

  • Playmaker Newbie
  • *
  • Posts: 5
Re: Making and Endless Scroller in Playmaker
« Reply #2 on: May 30, 2012, 03:09:37 PM »
Thanks for these Jean. The Platform one should work good for what i am trying to build. i download those C# game examples but they dont seem to work well. See what i can do and try to figure it out.

Ryan 8)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Making and Endless Scroller in Playmaker
« Reply #3 on: June 04, 2012, 10:31:49 AM »
Hi,

 What do you mean "don't work well", if you can describe your problem , I'll be able to help out.

bye,

 Jean

naktim

  • Playmaker Newbie
  • *
  • Posts: 12
Re: Making and Endless Scroller in Playmaker
« Reply #4 on: January 29, 2013, 03:56:22 AM »
Thanks  this m2h game example is helpme too