dop2000's Recent Forum Activity

  • If you copy an event in C3 editor and paste it into Notepad, it's pasted as JSON string. You can probably train ChatGPT by giving it different JSON strings and explaining what each of them mean. After that it may be able to generate events which you could simply paste into C3.

  • Try pressing F12 in preview and see if there are any error messages in the console log.

  • On second thought, maybe I can put a reference object with tween then read it's values into the layers.

    Exactly, an invisible sprite which runs Tween Value - I do this all the time.

  • Can you show a screenshot of your events?

    dt should work if your FPS are 30 or more.

    You can also use the official behaviors like Tween - they are framerate-independent.

    Changing the minimum framerate to 10-20 somewhat helps

    How do you do this? If your game runs at less than 30 fps, you need to focus on fixing the performance.

  • Use a global variable.

    If you are resetting global variables when switching between layouts, then you can store this data in a Dictionary, Array or JSON object.

    An Array would probably be the best choice to store the progress if you have many levels.

  • I've never seen this, can you post a screenshot?

    Are you using any editor theme addon?

  • Don't check for overlapping. Pick all sprites with Sprite.X>Line.X, and then among them pick a sprite with the lowest X.

    There are several ways to pick by lowest X, you can use a loop:

    Sprite compare X > Line.X
    For Each Sprite Ordered by Sprite.X 
    ... Line set X to Sprite.X
    ... Stop Loop
    
    
  • The easiest solution would be using a TextInput or HTML Element object.

    For Text object there was an old C2 addon that allowed scrolling, but as far as I know it was never ported to C3.

    You can also break the text into lines using tokenat() and make your own scrolling system by displaying only several lines at a time.

  • When something is not working correctly with Physics objects (for example a joint breaks, or objects not colliding properly), you can try fixing it by changing these stepping parameters. Sometimes it helps, but most of the times not.

    Here is a little more info:

  • You can generate a permutation table and copy all values from it into an array. Then use the array to get random values.

    You can use one 2D array to store both permutation tables - one on Y=0 and another on Y=1

  • I made quite a few changes, but the code is much simpler now:

    dropbox.com/scl/fi/tldvfge6qlep0ien4ryd4/blockslug2.c3p

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Here is an even simpler method with just one event. Change 1.5 value to make it move faster or slower:

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 256 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