dop2000's Recent Forum Activity

  • From the release notes to r281:

    How do I retrieve the list of animations?

    Tagged:

  • Here is another example of using permutation tables I made for some other post:

    dropbox.com/s/qschy8ji3bfrvxx/PermutationRandomImages.c3p

  • It's in the event sheet. First you need to create an event and choose a condition (or conditions) for it. Then on the right side of the event you can add actions - click Add Action -> Enemy -> Simulate control

    You should probably start with the Guided Tour in Construct 3.

  • CloudDealer Please see the link I posted, you need to properly load JSON into the array.

  • First, if you haven't done this yet, you need to load the array json file into the Items array object using AJAX. See the first two events in this template for an example: editor.construct.net

    Custom column and row names in the Array Editor are just for your convenience, you can't use these names to access data. So you will need to use numbers for x and y index - Items.at(0,4)

    If your table is big it will be difficult to remember what all those row numbers mean. You can create a bunch of constant variables and use them to make your code more readable:

    ITEMNAME_ROW=1
    HEALTH_ROW=2
    ARMOR_ROW=3
    EQUIP_ROW=4
    INSPECT_ROW=5
    
    Set Description to Item.at(0, INSPECT_ROW)
    
  • XHXIAIEIN These links are amazing, thank you! Yeah, that video tutorial definitely explained one of these algorithms, it doesn't matter which one now :)

  • Again, you need to post a screenshot of your code or your project file. It's a guessing game without it.

  • R0J0hound Thanks, your example is what I need! Although I have a feeling they used the Wave Function Collapse in that video... Maybe I'm wrong.

    oosyrag Interesting method, but a bit over complicated. And as I understand, it may create impossible configurations, which means it will need to be repeated until a good solution is found.

  • You should post your code.

    Normally if you need to process a 2D array you can do "Array For Each XY" loop, but I prefer using two nested System For loops. If your characters are on X axis in the array and their stats are on Y axis, it may look like this:

    System For "char" from 0 to array.width-1
     System For "stat" from 0 to array.height-1
     ... array Set At (x=loopindex("char"), y=loopindex("stat")) value int(random(1,10))
    
  • If you don't receive any response from AJAX, check error messages in browser console log (F12)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I don't understand, do you receive "1" from AJAX or not?

    Try changing the "last" variable to string type, or use int(AJAX.LastData) to convert "1" string to number.

    If you don't receive any response from AJAX, check error messages in browser console log (F12)

dop2000's avatar

dop2000

Online Now

Member since 26 May, 2016
Last online 19 Oct, 2026

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