Kyatric's Forum Posts

  • The Array.AsJSON string, it is literally all you need.

    Perhaps your issue lies with the quotes.

    If you are copying the string given from the .asJSON string (something like :

    {"c2array":true,"size":[10,1,1],"data":[[[7]],[[3]],[[9]],[[2]],[[5]],[[5]],[[2]],[[8]],[[3]],[[7]]]}[/code:3rbc9oxg]
    
    You need to put that line between the quotes when loading JSON values in the array and double the existing quotes within the line.
    
    => [code:3rbc9oxg]"{""c2array"":true,""size"":[10,1,1],""data"":[[[7]],[[3]],[[9]],[[2]],[[5]],[[5]],[[2]],[[8]],[[3]],[[7]]]}"[/code:3rbc9oxg]
  • Walessio: Yes. In the manual article on "Testing and publishing" this is described in the paragraph "Publish to desktop".

  • This is because you have likely added the bullet behavior to your Text object, and did not set the "Set angle" property of the behavior to "No".

    Do it and the angle of your text object won't change.

  • C2 handles the RAM usage part as the engine.

    All you need to do is be smart on the memory usage of your game and stay within reasonable boundaries.

  • As far as out of the box Construct 2 instances of a dot/sprite is pretty much the closest to an actual drawing you will get.

    You can look into the third-part addon "Canvas" and/or "Paster" which could provide you with possibly more advanced features concerning pixel manipulation.

  • I also can confirm that the capx used seems to have an influence on the issue.

    I've just managed to export and minify the "Car behavior" example without problem (in r240 and r239) as Scirra arcade and as HTML5 website.

    This issue is making less and less sense

  • Does it work again if you immediately go back to r239 and try again?

    As mentioned in my report, I did downgrade from r240 to r239 and exported the Space Blaster example without minifying issues (and so without touching the installed version on my computer).

    From this, uninstalling again r239 and installing r240, the minifier issue comes back.

    As for the Java version I am having installed on my computer :

    * Java 8 Update 31

    * Java SE Development Kit 8 update 5 (64-bit)

    According to my software panel. I haven't updated those in a while, perhaps I should.

    On the other hand, it goes against the report about the new Java version having an issue, since the "same old version" works fine with r239.

  • You do not have permission to view this post

  • Problem Description

    ____ A concise description of your problem here ____

    When doing an export of the Space Blaster example, C2 raises an error indicating it can't find the minifier, despite Java being installed and all working in R239 (I tried downgrading with the same configuration and minifying worked).

    Attach a Capx

    ____ Upload a Capx to this post ____

    Space Blaster example provided with Construct 2

    Description of Capx

    ____ Concise description of what this CapX does ____

    A magnificient shoot 'em up example.

    Steps to Reproduce Bug

    • Step 1 Open the Space Blaster example from the startup page in R240.
    • Step 2 File menu => Export project => HTML5 Website => Normal style
    • Step 3 Notice how an error dialog pops up during the export process (towards the end) indicating :

    Observed Result

    ____ What happens? ____

    An error dialog pops up indicating it can't find the minifier (2), whereas the same installed minifier works in r239.

    Expected Result

    ____ What do you expect to happen? ____

    The project to export as intended and be minified without issue.

    Affected Browsers

    • Chrome: NO
    • FireFox: NO
    • Internet Explorer: NO

    Operating System and Service Pack

    ____ Your operating system and service pack ____

    Windows 7 Pro Sp1

    Construct 2 Version ID

    ____ Exact version ID of Construct 2 you're using ____

    R240 (Bug) /R239 (for comparison purpose)

    Note :

    This was initially reported by another user in support who encounters the same issue on Windows 10.

    It happens also on my end so I'm making the report.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • By dropdown, I assume you mean you use the "List control plugin".

    This plugin only, indeed, displays a text for a given index.

    Once you know the index, a way to associate it would be to use an array.

    When setting the name of the index in the list, you also set the value to the index in the array.

    Then, when an index is clicked in the list, you know what index to look for in the array and it will give you the IP you are looking for.

  • When dealing with a moving object it is indeed more appropriate to look for a range than a single absolute value, as, unless a precise movement (like a determined grid movement), most of the chances are that your object won't actually reach the exact position you are testing.

    By checking for a range, ( Object.X >= end position - 10 & Object.X <= end position + 10) you will always be sure to be able to trigger your end of movement within an appropriate range and can then move your object to the intended ending position.

  • Example capx

    String manipulation through system expressions.

  • YoHoho: Thanks.

    I often use arrays within my tutorials, but I don't have a dedicated tutorial for arrays, or a tutorial that uses the array in such a way as described in this topic.

    I have made several capx examples in the past, they surely can be found in the How do I FAQ probably in the "Array" category, but no video tutorial I can remember of at this time.

  • Tutorial about troubleshooting C2's preview server.

    Be sure you execute C2 as Administrator.

    Do you have a WIFI router or are you just hoping your computer act as one ?

    I'm not sure how accurate Mac will be to allow you to preview over LAN.

  • What about Just using sprites as bank of images that compose your characters and not using tilemaps for what they are not intended to be used...