dop2000's Recent Forum Activity

  • So you want to spawn a copy of one of the items from the inventory?

    And what do you mean by "no duplicates"? Once one item is spawned, it can't be spawned again?

    Here is one way to do this:

    https://imgur.com/a/okN1n

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Every second?? Did you mean every tick?

    You can add Fade behavior to that ski trail sprite, to make it slowly fade away and get destroyed after a few seconds.

    Also instead of Pin you can add Bullet behavior with the same speed and direction as your background moves.

  • Turret with predictive aim should work much better than path finding.

    If your bullets are small and moving fast, they can pass through each other "in between frames", faster than the system can detect collision.

    You can try making their collision polygons bigger.

  • Yes, you can use touchscreen when previewing your game on PC.

    But I highly recommend testing on the actual phone as well.

  • matriax

    Minimum, maximum and step are easily done with instance variables and a couple of events.

    SliderBar is a Form Control object, and form control objects in C2 have lots of issues - they are rendered above all layers, have problems with scaling, scrolling, parallax etc. I really don't like using them in games.

  • Yep, everything looks perfect.

  • You can change opacity or set instance variables immediately after the "Create" action.

    Instead of "Repeat" use "For" loop and loopindex() expression:

    For "y"=1 to 6

    ...For "x"=1 to 6

    ........create object at (loopindex("x")*40), Y+(loopindex("y")*40)

    ........Object set opacity to 0

    Loopindex (without parameters) works with "Repeat" loops too, but if you have two nested Repeat loops, you can't reference both of them.

  • You can make your own slider with 2 sprites (or 9patches), it's easy. Here is an example from another post:

  • Try this:

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

    Note, that this method creates ~60 sprite instances every second, so don't make the sprite image too big and don't allow players to draw for too long without destroying old sprites.

  • I have a related question.

    In my game there is a level selection screen, where players can choose level number, then click Start button.

    I want to show interstitial ads before the level starts.

    How long does it take to "Preload interstitial"?

    Should I do this after player hits Start button, will there be a long delay?

    Or should I do this in advance, on start of the level selection layout? How long can the preloaded ad wait to be shown? Will it expire if after 1-2 minutes player still hasn't decided which level to play?

  • You can add Platform behavior to your character, Platform can walk on uneven surface.

    But if you try to make collision polygon on your ground to copy all those little bumps and drops, the collision polygon will be too complex and could affect performance.

    So one way to do this is to build the surface with simple invisible sprites, roughly replicating the terrain. Your character will actually be walking on these sprites, but it will look like it's walking on the ground.

    Another option is to use an invisible tilemap, but it's quite advanced. See this post:

dop2000's avatar

dop2000

Online Now

Member since 26 May, 2016
Last online 31 Jan, 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