shirokuma's Recent Forum Activity

  • Giganten - I've also had a problem with missing consecutive days. I think their system is based upon the company's timezone. For example, if you visit the site at 9:30am on the 15th your timezone which happens to be 11:30pm on the 15th at the company's timezone one day. Then the next day you visit at 11:30am on the 16th your timezone, but it's 1:30am on the 17th at the company's timezone. So even though you visit every day Scirra thinks you missed a day. I've been bitten by this bug on more than one occasion, and is part of the reason I stopped hanging around here as much as I used to.

  • ALLMarkMade

    That's kind of a different beast, but it can be done. Here is something to get you started. Use the arrow keys to move the player, and use the space bar to drop the prize.

  • deleted

  • Mazdakfx

    Do you have a personal license copy of C2? I know you need it for functions.

  • A good example for why to use a 9-patch instead of a sprite! Thanks!

  • Mazdakfx

    Every so often I'm getting a strange bounce when Seasky's menu closes. Are you seeing that too?

  • Seasky's is much nicer!

  • I imagine there is a better way to code the menu. That was just the fast-n-furious way to spark an idea.

  • An image works as long as there is a center section in the vertical and/or the horizontal that is repeatable. The number of pixels in that center section will then determine the size increments that you can scale the image up. Say for example you have a 15 x 15 image that can be broken up into 9 - 5 x 5 pixel units. If 5 pixels are repeatable in the horizontal and vertical you could scale it up to 20 x 20, 25 x 25, 30 x 30, etc... But if you scaled it up to say 27 x 27 you would only get a partial repeat of the center 5 pixels and it would be obvious.

    I don't know if that made any sense. If it didn't I'll make an example when I get off work.

    As for an animation, you could use 9-patch as a background for the animation, but I think that is about it.

  • Did you see the flapping bird template? Start a new project. In the window that opens up type flap in the search field.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If you use a sprite when you change the size you can get some pixel smearing/tearing. (So it can look blurry) With the 9-patch (9-slice) the outer border pixels (# set by you) stay the same and the inner pixels are repeated.

    Not only does it make the graphic look crisper when scaled it allows you to keep your file size down. So if you just wanted a solid color rectangle you could create a 3px by 3px 9-patch and scale it up to any size in app with no loss in quality, but the server only had to deliver a 3px by 3px image.

  • I thought I had taken care of the buy button being touchable. It didn't seem like it was in Chrome. In this version I set the buy button sprite to a scale of 0 when the menu item isn't active.

    BTW: I'm just making a GUI for an iPhone app at work today, so it's nice to get away from that from time to time.

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