dop2000's Recent Forum Activity

  • No worries!

    You can apply Bulge effect to a sprite or any other object.

  • You mean something like this?

    dropbox.com/scl/fi/awsgtkvfkijxq4baqy0jp/pulse_effect.c3p

  • Correct, "is overlapping" check performs many times per second.

    But I would suggest re-organizing your events like this:

    This way you don't perform unnecessary checks on every tick, which means better performance. It also makes the code easier to understand when everything related to enemy damage is grouped in one event, rather that scattered across the event sheet.

    Also, instead of updating the position of Slash sprite on every tick, you can pin it to the player, or attach with hierarchy (add as a child).

  • Make sure the bullet image is aligned properly in the animation editor. The default orientation for all sprites in Construct is 0 degrees, which means they should be facing right or "East".

    If this doesn't help, please share your project file or a screenshot of the event sheet.

  • So...how do I find the mouse position so I can start working this out?

    Have you tried the manual?

    construct.net/en/make-games/manuals/construct-3/plugin-reference/mouse

    You can save Mouse.x and Mouse.y when an object is clicked in a pair of variables (global/local or instance). Then on every tick compare the distance and angle between the saved and new position of mouse cursor. Use distance() and angle() expressions.

    Say, if the distance is >50px and the angle is between 150 and 210 degrees, you can assume that this is a "left swipe".

    Another option is to use the Touch plugin instead. It already has Touch.SpeedAt and Touch.AngleAt expressions which can be used to easily detect swipes. And it's compatible with mouse.

  • You should still be able to export your game in C2 in html5 and upload it to websites.

    You can also open C2 project in Construct 3, it does support the old "Function" object. And it will be possible to convert C2 functions to C3 functions.

  • When stuck, check the manual:

    construct.net/en/make-games/manuals/construct-3/plugin-reference/nw-js

    You can't read files like that. Use NWJS.ReadFile expression:

    Dictionary load from JSON string NWJS.ReadFile(path_to_the_file)

    But first you probably need to check if the file exists using NWJS Path Exists condition.

    And definitely don't do this on every tick!

  • Import a new audio file with a different name, then update it in all events. Then delete the old file. Unfortunately, there is no other way.

    This is one of the reasons it's better to create a function to play sounds. Then instead of playing an audio file directly, you call a function with the file name.

  • Well, don't use Physics with Solid and DragNDrop behaviors - they are not compatible.

    See the official manual:

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

  • You need to share your project file. Or at least a screenshot of the code.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Use "NWJS Write Text File" action.

    Path: your selected path

    Contents: Dictionary.AsJSON

  • Yeah, there must be some other event that changes the sprite position then. Perhaps "Pirate on created"?

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