dop2000's Recent Forum Activity

  • Try this:

    "HIGH: " & (HighLevelStart-DropLossHigh-SplitterLoss)

    & is a concatenation symbol, used to attach two strings together. You should not use it in math formulas.

  • Then, like I said, you'll need to perform a ton of overlapping checks to determine object shape.

    If this can be done easier with Trace plugin, you should definitely use it.

  • Nice question!

    Here are my thoughts:

    1. Give yourself challenging tasks, you can find lots of these in "How do I.." forum.

    2. Study other people's code, but keep in mind that it's not always good or correct (especially in "How do I.." forum ). You can usually recognize a good code if it's well formatted, commented, functions/loops/groups are being used, variables and objects have meaningful names etc.

    3. Explore expressions - every object in C2 has dozens of useful expressions and many people have no idea about them.

    4. Read this post - Best practices in C2

  • See this post:

  • There are several C2 plugins for seeded random. I don't know if any of them ported to C3.

  • Here is another way to smoothly rotate a sprite 360 degrees in 1 second.

    Using "dt" guarantees constant speed even if the frame rate changes.

  • Yeah, TextBox "intercepts" most keyboard events. I think "On Return" and "On Escape pressed" are the only ones that work inside the text box.

    Thanks!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Are you using TextBox?

    You can use "Keyboard -> On Return pressed", this event triggers even when cursor is inside the textbox.

    I've just tested, it works on mobile with on-screen keyboard.

    Thanks for the coffee! : )

  • In your capx you made every bullet harmless for 5 seconds.. Which is wrong, obviously.

    For this task it's best to use Timer.

    Add isImmune boolean instance variable to your Player sprite and Timer behavior.

    Change your code like this:

    (clickable)

  • Oh, sorry, I misread your previous comment.

    You need to add "Set bullet speed=1000" after "Set Bullet enabled". This will reset the speed.

  • You can request fullscreen only after a touch or mouse event.

    For example "On tap -> Browser request fullscreen"

    Note, that you can't do it in "On touch start", it will not work in some mobile browsers. Better use "On Tap" or "On touch end" or wait 1 frame after "On touch start".

  • Yeah, angles in C2 can be confusing. Say, angles -30, 330 and 690 are actually the same angle.

    If you use system expressions anglediff, anglelerp, anglerotate etc. - they take care of conversions for you.

    For example anglediff(-29, 690) = 1

    If you still can't fix it, please share your capx or a screenshot of your code.

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 269 followers

Connect with dop2000

Trophy Case

  • 9-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
  • x14
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

29/44
How to earn trophies