shirokuma's Recent Forum Activity

  • Okay, give this a try.

  • I played Jetpack Joyride a little, but I'm not sure which menu you are referring to. Is it the store menu?

  • That has possibilities. Or here is a start on my idea.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • You could use gestures. (Of course that's a little harder to code)

  • Mazdakfx

    I'm just about to head to work so I can't try this out, but off hand I would say set up the triangle with an on touch that changes the height of the sprite underneath it as well as the Y position of the sprites below it. You probably want to set the origin of the of the menu sprites to the top so that when you adjust their height they grow down only.

    I hope that made sense. If you don't get it worked out beforehand I play with it when I get home tonight.

  • You might want to check to make sure you device can access Alpha, Beta, and Gamma. I have an iPad 1 that I was trying to get the compass and tilts to work on an HTML5 export, and I couldn't get them to work. As it turns out Safari on an iPad 1 running iOS 5.something is unable to access Alpha, Beta, and Gamma.

    So just something to check...

  • Here you go. Any time the stalker isn't in line with the player's x value he will move to the player's x value. If you adjust the 0.02 you will adjust the speed at which the stalker aligns itself with the player.

  • I found the first clue, but I'm wondering if that part after the comma is part of the clue. It doesn't mean anything to me and Google searches haven't helped. I'm wondering if the site redesign has partially changed the first clue, or should I spend more energy trying to work out what it means.

  • The sites badge system doesn't seem to be working. This morning I received the Notably Active badge, but I thought it was strange that I still hadn't received my Active badge. So I went to the My Badges page (https://www.scirra.com/me/badges) and my Notably Active badge was taken away!?!

  • Datasun

    Is this a side scroller where you want the stalker to start following the player if the player gets to the right of the stalker?

    Or more of a top down view and you want the stalker to try to stay aligned with the player in the X axis?

  • wolfomat

    Ah... Now I understand.

    Just add the drag and drop behavior to the sprite, and in the properties panel you can set the behavior to only work in the vertical axis.

  • Honestly, I think I think your code is too long for someone to debug using pictures.

    So right now when your program starts it reserves memory for all of those global variables and stores their initial value.

    Then it gets to line 1 and says to itself "Okay, I need to update that text with varScore twice every tick"

    Then it gets to line 2 it says "This event is true, so lets do the action."

    Then it goes down to line 338 and executes that function call. Turning all of those things to invisible. (By the way we can't see any of the object in your actions because the names are hidden in your pictures.)

    So after the program does everything in that function it goes back to line 3.

    The conditions of the event on line 3 - 11 are all false at this point so it skips them and continues to the next line.

    So I assume at some point the conditions of the event on line 5 become true. So it's going to go to line 365 for the function call. But since the function on line 365 is empty it will immediately go back to line 6. So that was basically unneeded code as it is now.

    I think I'd start debugging by looking at where you are changing Active_level. It's easy enough to do in C2 by clicking on the Events tab and entering in Active_level in the search field. So you can see exactly where it's used. In your images... not so easy...

shirokuma's avatar

shirokuma

Member since 8 Mar, 2014

None one is following shirokuma yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies