dop2000's Recent Forum Activity

  • hhg21011998

    howtoconstructdemos.com/physics-puzzler-move-and-re-arrange-blocks-with-mouse-c3p

    Wouldn't if var=0, set it to 1 do the same thing?

    Yes, but you have to add extra sub-events to compare the variable.

    Set var to (var=0?1:0) allows to toggle a variable in a single action.

  • What does var=0?1:0 mean?

    Set var to (var=0?1:0) means "if var=0, set it to 1, otherwise set it to 0"

    en.wikipedia.org/wiki/Ternary_conditional_operator

  • Only Zoom Out works now (CameraZoom=1 event). Zoom In doesn't work.

    That's because CameraZoom can never be 0. Check your logic - first you're adding 1 to CameraZoom, then comparing it to 0. Should be the other way around.

    If you want to toggle a variable between 0 and 1, there are several easier ways to do this:

    Set var to (var=0)
    Set var to (var=0?1:0)
    Set var to (var+1)%2
    

    Or you can use a boolean variable - it has a toggle action.

    how should I credit you in my game (should I ever publish it) for helping me? Your real name or dop2000?

    This isn't necessary, but you can put dop2000 :)

  • On your second screenshot, the last event (Is tween playing) is nested under the parent event (On key pressed). It needs to be a separate, top-level event.

  • when I set gamepad to 0 and the app on 1

    What does it mean? Which app?

    Does it work correctly here?

    hardwaretester.com/gamepad

  • I don't understand why do you use loopindex in arr_crew.At(..., loopindex) expressions. Loopindex will correspond to the nested "While" loop, not the parent "Repeat" loop.

    By the way, instead of the safety_counter you can just use loopindex<200 condition.

    .

    This task would be a lot easier if you use JSON instead of the firstnames array.

    {
     "elves": {
     "male": ["Aelar", "Theren", "Faelar"],
     "female": ["Lia", "Shalana", "Aeris"]
     },
     "dwarves": {
     "male": ["Borin", "Thrain", "Karg"],
     "female": ["Dis", "Hilda", "Brynja"]
     }
    }
    

    To find a random name for any species/gender:

    JSON.Get("elves.female." & int(random(JSON.ArraySize("elves.female"))))

  • After pressing "Z" the screen goes blank. I'm guessing the layout zoomed too quickly for too long?

    No, the screen goes blank because the tween value is always zero. Your mistake is that you are using the wrong action - you need Tween value action, not Tween two properties.

  • Yes, you can use a special object with Tween, or just add Tween behavior to an existing object - say, to a background sprite.

    I tried it and it didn't work for me though.

    Can you post a screenshot of your code?

    Check that the "scale rate" property on layers is set to 100%

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • On start of layout: Set layout scale to 10
    
    On every tick: Set layout scale to lerp(layoutScale, 1, dt*4)
    

    It’s not a great method, because lerp will keep adjusting the layout scale very close to 1 for a long time. I’d use the Tween behavior instead — run a value tween and update the scale with this event:

    Object tween "zoom" playing: Set layout scale to Object.Tween.value("zoom")
    
  • The fact that everyone will use AI then if you don't will be behind is the same like saying everyone is stealing/killing/committing violence, if you are not doing it you will be behind.

    No, you're twisting the argument. We want to use AI for good. What you're saying is "Criminals use knives to rob and kill people, therefore we must not use knives for hunting or cooking."

  • and it reads like you are fine with it and actively push for exactly this thing to happen

    I'm not fine with it, but there's nothing we can do to stop it. Accepting AI and using it in our work is not "giving in" - it's actually a way to stay competitive for a bit longer, before most of our jobs inevitably become redundant.

  • but now it seems like you are fine with vibe coding the entire game.

    Where did you even get that from? I never said that and of course I'm against it. I said I need an AI assistant — something that helps me work faster, write cleaner code, catch more bugs.

    Just because some people use AI to generate low-effort slop doesn't mean we should avoid using it responsibly to make better games.

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 279 followers

Connect with dop2000

Trophy Case

  • 10-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

30/44
How to earn trophies