Unnatural20's Recent Forum Activity

  • scirra.com/tutorials/237/ho ... -web-fonts

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Event: System -> Compare Two Values Distance(p1.X,p1.Y,p2.X,p2.Y) <= WindowWidth

  • Can you tell if it's motion blur or a systemic blur of the sprite? The latter will show up with Printscreen; the former won't.

  • Well, for reference you upload the .capx file by saving as a .capx, then clicking the "Upload attachment" tab at the bottom of the reply box (needs full editor,) then select that .capx file. (as I have done below)

    I think if you're using a custom movement like that, your best best is to use the Physics behavior.

    Give both player and walls Physics. Set Walls to immovable and Prevent Rotation to yes. Set Player to Prevent Rotation.

    Very important, however, is to set World Gravity to 0 at the beginning of the layout, or else your player will always fall down.

  • Now, realistically, you probably wouldn't need that many images for your animation. Even with animation speed set to 60, this looks smooth and a little slow. You could probably cut out 2/3s of the frame and still have it look smooth.

  • Well, I'll be honest: I didn't look at the .capx

    1 & 2: What I would do would be create the reels as sprites. Since sprites have a built-in animation, you could have the reel simply stop animating at whatever frame the button is hit. You can also change the framerate on the animation without affecting anything else.

    3: To achieve the 'easing' effect, I think you would want to split the reel's animation up. Have a seperate animation within the sprite for each possible result of the reel. The animation's frames go from the previous image off-center to the ending frame, which is a locked-in-place image.

    [attachment=0:2b7m9896][/attachment:2b7m9896] As so.

    So you have an event, where until a button is pressed, the Reel's animation A proceeds to B when A ends, when B ends go to C, etc, until you come back to A. when the button is pressed, the animation proceeds to its end, and stops.

    Make sense?

  • Okay: Solid objects can totally overlap. What behaviors are you using to control the character?

    Or are you using, like, "on tap move character towards tap position"

  • Does your Player Sprite have any or all of these Behaviors:

    • Bound to Layout
    • Solid
    • 8-Direction

    Do your boundary blocks have the Solid attribute?

  • .>

    What problem are you currently having?

  • Including a .capx brings along everything but fonts: images, sound, etc.

    And you would just include the .capx as an attachment. (as I have in this post)

  • Honestly, what's stopping you from attaching the full .capx?

  • You've definitely got a good understanding!

    The one thing you might have missed is this: The reason the subevent picks all instances of the object is that the parent event had already selected just one instance. If the code ran on every tick, it could just use ForEach, but it's better (lower processing, better organized code) to only run that loop when needed.

Unnatural20's avatar

Unnatural20

Member since 8 Jan, 2015

None one is following Unnatural20 yet!

Trophy Case

  • 10-Year Club
  • Forum Contributor Made 100 posts in the forums
  • RTFM Read the fabulous manual
  • Email Verified

Progress

13/44
How to earn trophies