Aphrodite's Forum Posts

  • Also the events are read from top to bottom, so make sure that first the player is placed, then the gun if possible

  • gplar : I've made a little function (using C2's Function Object) that can take your list

    and

    when

    sell

    up

    to

    five

    hiundred

    into a one dimensionnal array:

    First it clears the array, then it size it accordingly to the number of values, then it enters the values inside it, you may wonder "how do I concretely use that thing", well, like this:

    The first parameter is the list itself (I put it directly, but it can be a separate project file), the second parameter is the characters between each elements of the list (here it is newline, because each part of the list is separated by a new line)

    The debugger shows that at the end, the array has the correct values after using it.

    Hope that helps

  • the timescale indeed does not affect performance, since the logic still applies to render to 60 fps.

    jayderyu: "It's a pitty. I would have like to set my logic fps. I found this does wonders for mobile performance to use manual 30fps logic."

    I agree with that, it would indeed mean 2x more time to render the logic, which could be great for games that don't require a lot of precision on all platforms.

  • And i had to create the same asset 4 times to use on the different layers due to OpenGL HUE n Blur performance issues on mobile devices.

    I did not understood this part, what is it about?

  • Hello,

    I wanted insert a URL link to show the issue, but I can't in the forum.

    I have a black screen, the loading logo on screen with a red bar under, but nothing else...

    If you want to see, 3w.media44.fr/fourzitoo/essai

    Best regards,

    That means normally that a file that should be downloaded isn't downloading correctly (did you upload all the files?)

  • Hi. I'm also struggling to get data from a text file into an array, so if anybody can enlighten me.

    I have a list of 500 Words in a TXT file. looking like this:

    Should it be formatted otherwise?

    I want an array, from which I can select a random word.

    Anybody?

    I think for a list that simple, you could do something like:

    and|when|sell|up|to|five|hiundred[/code:3ddusuwd]
    
    And retrieve one of them with the tokenat expression: [url=https://www.scirra.com/manual/126/system-expressions]https://www.scirra.com/manual/126/system-expressions[/url]
    
    With the parameter index equals to int(random(number of elements))
  • Physics objects only collide with physics objects, you can give to a wall the physic behavior but setting it to Immovable

  • One way to do this could be by having your credits set in the layout, and using a camera sprite (aka: a sprite with the scrollTo behavior) that goes down you could have the effect you want I think.

  • you can pass a text as a parameter of a function, for exemple if you pass the value "I like eating chocolate" as the second parameter(parameter number 1) of your function along with the value 1 to the first parameter (parameter number 0), and you add an action :

    SystemMessage : Set text to Function.Param(1)

    Then the text displayed will be

    I like eating chocolate[/code:2krku3vh]
  • Good to know it's by design, was going to post the same thing in in the bug thread =O

    but I agree with clrammer. this is not as intuitive and obvious as ashley claims.

    the manual should say that the events will reset their events when disable and enabled again.

    although, when i think about it, it kinda makes sense. good to know though.

    I think that for a trigger once to trigger, it must have one of it's conditions before it to be false, then all of them to be true.

    A group basically logic-wise works the same way as an "Is Group Active" condition, so when you deactivate it, then reactivate it, the condition chain was broken then relinked so it does this.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Arima : from my experience it doesn't work exactly like this but I could be wrong on that. (also the debugger shows the expected number of collisions check, and I do not think the exporter would alter the game's logic like that), it seems more like a visible scope of event, Also the "on collision" is not a trigger (or not directly a trigger), since it makes supplementary checks to verify if the collision needs to be checked (for my understanding, a trigger wouldn't have to be really checked like that, it would happen or be called most likely)

  • Jase00 : Indeed I didn't though about those cases

    I was trying to work on a document about C2 and organisation and performances, and this case troubled me for a little while so I went to try it, even though I do not think It'll figure directly inside since the requirement it has, but I could use it as a potential exemple.

    Arima: I didn't know about collisions doing more checks than overlapping, but I'll try it.

    As I said, It was more a though rather than a real need

  • I've always though it would be a stupid idea but, I don't know why, it seems that in the cases where every concerned object is on screen and has collisions activated, picking the nearest object only before doing the collision check seems to work a little better than actual collisions check alone (at least it seems from what the debugger stated), so I wonder, wha tdo you think about it?

  • I don't have the error message by clicking on the link you gave.

    This is what C2 does to alert people that run it in preview:

    <script>
    	// Issue a warning if trying to preview an exported project on disk.
    	(function(){
    		// Check for running exported on file protocol
    		if (window.location.protocol.substr(0, 4) === "file")
    		{
    			alert("Exported games won't work until you upload them. (When running on the file:/// protocol, browsers block many features from working for security reasons.)");
    		}
    	})();
    	</script>
    [/code:9z9bazja]
    
    However, that should not happen outside when uploaded and loaded from the public link.Can you confirm that the browser URL is the public link of the game?
  • I love you Fishy.

    I've made a little mistake, I've corrected it now (I was doing + 180 instead of *(-1) so it didn't worked when behind the tower, I've updated the files that the links gives)