oosyrag's Recent Forum Activity

  • Bug reports for specific platforms are very useful, as long as they are reproducible. There's a reason why specifying what platform is affected is mandatory for a proper bug report.

  • If it's reproducible in a minimal project, yes you should file a bug report.

  • Might run into trouble with the 5MB localstorage limit. Although I'm not actually sure if that's a thing that applies to Construct? I feel like more people would have run into problems by now with even just normally saving a game with just 5MB.

    I'm sure there are ways to access device storage but I am not familiar with them. Would probably need JavaScript.

  • dropbox.com/scl/fi/p3mrqiykgco5zyb4006va/particlemovementexample.c3p

    Basically you need to make your individual particles move left at the same rate as everything else.

  • Aha. There is a completely different problem here.

    So in flappy bird, rather than the player moving, the stage actually moves around your character. Instead of the player moving right, what is really happening is that everything else is moving left. After your particles get created, they stay in the same location and don't move left with the rest of the objects when they move.

    I don't think there is a way to control the particles made by the particle object to fix this. However, what you can do is create your own particles with sprite objects that have the fade and bullet behavior. Every X seconds, create the sprite object at origin x, y, set bullet angle of motion to random(a-n,a+n) where a is the target angle and n is the variance, set fade time and duration, bullet speed, ect. Then you put these sprite object "particles" in the same family as the rest of the level obstacle objects, and they will move along with the rest of the stage.

  • You say there is nothing else, but there probably is.

    You can confirm by making a minimal project with just that object and using the moveto behavior on start of layout.

    Are you sure the player sprite isn't just so far out of the viewport that it takes 30 seconds to reach the visible area?

  • So you're picking the tab close object, but there are no cards picked in the condition, so destroying a card will destroy all of them. You can add the 'mouse -cursor is over object' condition to pick the correct card.

    Otherwise, you'll have to associate the tab close object with the card it belongs to somehow. A container could be good for this. Then they will always created, picked, and destroyed together as a pair.

  • Try using the tween behavior.

    For physics, you can apply a force to an image point which is off center to cause rotation.

    For it to stay in place, you might need a second image point exactly opposite from the origin to apply an equal and opposite force too. You can also create a revolute joint on an immovable helper object to pin it in place.

    Edit: reminder not to mix physics with other movement to avoid issues.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You would need to "pick" the correct instance with a condition.

    Normally this should already be done with the object on clicked condition, so that any actions in that event such as destroy are applied only to the instance that was clicked.

  • Mostly readability, there's nothing particularly wrong with having a lot of paramaters, just seems odd that it would be a problem, to me.

    One thing that might help reduce clutter is to use event sheet includes, maybe keep your functions on separate sheets.

oosyrag's avatar

oosyrag

Member since 20 Feb, 2013

Twitter
oosyrag has 39 followers

Trophy Case

  • 11-Year Club
  • 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
  • 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
  • Email Verified

Progress

21/44
How to earn trophies