dop2000's Recent Forum Activity

  • My reply was actually for PapitoMyKing. I meant to use Btn.ImageWidth and Btn.ImageHeight in expressions instead of Btn.Width and Btn.Height

  • Tween behavior is made specifically for this case. You can tween a certain parameter (like sprite opacity), or a numerical value.

    construct.net/en/make-games/manuals/construct-3/behavior-reference/tween

  • You are probably overthinking it. I suggest using MoveTo behavior for the camera - it's more flexible than lerp, you can configure maximum speed, acceleration and deceleration values for a nice smooth movement. And then you can do something like this:

    If variable: Camera Move To (room_center_x, room_center_y)

    Else : Camera Move To (Player.x, Player.y-100)

  • You need to use Button.ImageWidth and Button.ImageHeight in tween actions.

    Button.ImageWidth*1.1 when the cursor is hovering, Button.ImageWidth when it's not.

  • Yes, or at least a screenshot showing their parent events and event numbers.

  • It's difficult to tell what is wrong without a project file.

    Run the game in Debug Mode (Shift+F4), then you will be able to check how many sword instances there are on the layout (should be just one), check all angles, animation etc.

  • It's stored on the servers of the marketplace (Google Play or Appstore). I don't know if the device needs to be online.

    You can store the purchases in the app, but you still need to check if the product is owned when the app is launched for the first time - in case the product has been purchased before on a different device, or the app was re-installed.

    Also, people can refund the purchase. So it's still recommended to check if the product is owned occasionally.

  • There is a mistake in your condition. You have:

    Array_Hand value at (Array_Hand.at(0,1))=1

    Should be:

    Array_Hand value at (0,1) = 1

    Use "Compare at XY" condition.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Well, from what I can see, you set the sword angle to 45 degrees, spawn a bullet, then set bullet angle of motion to sword.angle - that's why it moves at 45 degrees.

    .

    A few other things - you are using the signals wrong. It makes no sense to send a signal on every tick.

    And you don't need to "Pick last created" in event #40. The bullet instance gets automatically picked in event 39 when you spawn it.

  • Did you check if the file is being created?

    I hope the events on your first screenshot (Main Menu) are sub-events under some trigger. Because otherwise they will be running on every tick, constantly reading and overwriting the file, which may explain why it's empty.

    Can you make a bigger screenshot showing all these events at once? It's impossible to tell what can be wrong by those fragments.

  • You can use Mouse conditions "Mouse button is down" and "Cursor is over object", but this event will run on every tick, so you will need to use delta-time.

    For example:

    Mouse Left button is down
    Cursor is over Car 
    ..... Add 2*dt to CarHealth
    

    This will increase CarHealth by 2 every second.

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 250 followers

Connect with dop2000

Trophy Case

  • 8-Year Club
  • Entrepreneur Sold something in the asset store
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Forum Wizard Made 5,000 posts in the forums
  • Forum Unicorn Made 10,000 posts in the forums
  • x4
    Popular Game One of your games has over 1,000 players
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • x3
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x13
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

28/44
How to earn trophies