dop2000's Recent Forum Activity

  • Create a text file and import it to your project.

    Use AJAX to request this file and then parse the text with tokenat, tokencount expressions (with newline as separator).

    There are plenty of examples here.

    Or you can use CSV plugin:

    Or built-in XML plugin.

    Here is a dialog system where lines are loaded from XML:

  • That's probably because you are mirroring or changing the angle of an existing bullet instance.

    You should set the angle in the event where you create/spawn new bullet.

  • Your cell size is too big and gaps are too small.

    Read about the cell size here:

    https://www.scirra.com/manual/154/pathfinding

  • Problem Description

    Sorry for the confusing title, this bug is quite weird and it's difficult to describe it...

    After moving a sprite with Drag&Drop behavior to a folder, "Is touching object" event is not working correctly.

    Attach a Capx

    https://www.dropbox.com/s/vjm5k49g5ifps ... .capx?dl=0

    Description of Capx

    Small project to demonstrate the issue.

    Steps to Reproduce Bug

    • Run the project, try dragging the green sprite, note that the text says "Background NOT touched"
    • Move the TaskDrag1 sprite out from the folder
    • Run the project again, drag the sprite, text now says "Background touched"

    Observed Result

    Inconsistent results depending on whether the sprite is in the folder or not.

    Expected Result

    "Is Touching" event should be registered for tiled background.

    Placing the sprite into a folder should not have any effect on events.

    Affected Browsers

    • Chrome: YES
    • FireFox: YES
    • Internet Explorer: YES

    Operating System and Service Pack

    Windows 10

    Construct 2 Version ID

    r255

  • Your link doesn't work..

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • AnD4D

    Not sure if this is what you wanted..

    https://www.dropbox.com/s/nc4etntyw8oz2 ... .capx?dl=0

  • Use "AJAX Request URL" action.

    Just put the name of the project file in the URL field.

  • Create a family with this sprite and change your event to this:

    Sprite is overlapping SpriteFamily -> Destroy Sprite.

  • There are a few ways you can do this:

    1. create separate animations for the character sprite holding different weapons.

    2. Pin weapon to an image point (might need a plugin) or origin point of the character sprite. Mirror both the character and the weapon.

    3. Set weapon position/angle/mirrored state on every tick to character's position/angle/mirrored state.

    See this post:

    As for firing a bullet, you need to set bullet angle (or bullet angle of motion) to 180 when the character is mirrored.

  • Force is for continuous "pressure".

    In your case you should apply impulse.

    Tap is a gesture, it takes longer time to register, use "On touched object" event instead.

    Also, the ball mass is too big.

    Try this:

  • You can't drag "Cancel" sprite because on every tick you set its position to (tools3.X, tools3.Y)

    Your code is pretty cluttered and poorly organized.

    I suggest you read about functions, groups, families, containers etc., and start using them. This will make a huge difference.

  • Try Browser.WindowInnerHeight and Browser.WindowInnerWidth expressions.

    If they give you the correct div dimensions, set canvas size to these numbers.

    Also, have you tried iFrame instead of the div?

dop2000's avatar

dop2000

Online Now

Member since 26 May, 2016
Last online 3 Feb, 2025

Twitter
dop2000 has 257 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
  • x5
    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