Tomycase's Forum Posts

  • Hey there, the way to proceed is to use the AJAX plugin to request the content of the Json in project files, once it is complete, use AJAX.LastData expression when loading your array from Json

  • I modified DiegoM example to get the result you wanted : drive.google.com/file/d/1osyoVyE536Zb4pf1I7THuT7STQ6YhgxZ/view

    I changed and added a few things, everything is detailed in the project, don't hesitate to ask if you need more details ~

    EDIT : I fixed a few things, notably a mistake that prevented to edit the range of the line

  • Hey there, this is sadly the wrong topic to share your game, there is a topic designed for sharing your C3 creations

  • Hey there, this is definitely not an easy task, but I might have an idea, I'll give it a shot when I have some time, unless someone bring a solution in the meantime

  • Instead of using For each element, which will pick each element of the array as it says, you should only pick a random one

  • Hey there, do you have a dictionary or an array that store the information that the item have been collected?

    Edit : lionz outspeeded me on this lol

  • Ah I understand better, you're describing different figure cases, and indeed case 2 is a bit more complex, what you can do is, instead of using For Each Element, use a For loop and use its loopindex to look through the values of the first array, and for each of these values, run another For loop through the second array, and if any of the values it contains is equal to array value at first For loopindex, stop the loop and trigger an event;

    I guess an example would be easier to understand, I'll give it a shot once at home

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hey there, you can compare two arrays values by using "For each element" loop and "Compare Current Value"

  • Hey there, make your tick sprite a separated object (if not already done), then On Sprite Clicked > Sprite : Spawn another object (the tick sprite) at imagepoint of your choice

  • You do not have permission to view this post

  • Have you launch the last version of C3? I think you have to manually launch the beta from its update page

  • You do not have permission to view this post

  • You can also use the clamp() expression, that prevent a value to go under or above a certain limit, for example clamp(Camera.X, 10, 100), the camera object's X position will never go under 10 or above 100, very useful to know for custom camera!

  • Aight I found the culprit : the layout is not using Unbounded Scroll, as soon as you enable it, you'll see the new bottom of the stage after the rotation, but that also mean that you'll have to program an independant camera from the player and set the scrolling limits yourself