tarek2's Forum Posts

  • Is there a way for it to loop so when it goes to frame 1 it goes back to frame 0?

    If you need to loop back just once on click then you could just do:

    On Click object:

    -----------------Set Frame to 1

    -----------------Wait 1 second

    -----------------Set Frame to 0

    If you need it to loop forever then open the animation on the Animation editor and tick the box "Loop", which is at the Bottom right

  • On Object Clicked --------------Action: object set frame to self.frame + 1

  • It's hard to say without seeing your project but It sounds like an infinite loop.

    If it's an infinite loop, the two events that have the most potential to cause an infinity loop are:

    Event = 8

    Event = 11

    Your Tile size looks like is = 48x48

    Your player most likely is 48x48 swell

    If that is true when the player is standing on the tile next to the door will count as overlapping.

    1-On overlapping door "LVL1_Door4" you send the player to (384,144)

    2-If the Door that is on the next tile of (384,144) is the "LVL1_Door"? Then because it counts as overlapping you have "Event 8" sending the player back to (624,336) which is next to "LVL1_Door4" and because again it counts as overlapping it will send it back to "LVL1_Door".

    So this keeps going infinitely.

    This is just guessing as I cannot see if (384,144) is next to "LVL1_Door".

    You can confirm if this is true by making the Player collision box a few pixels smaller, like 46x46 and see if it works.

  • Is the top event "Level =9" under a trigger once?

    If not then your Timer is resetting each tick that's why it never triggers.

    You could do something like:

  • Maybe I can ask this differently...

    Does anyone who still uses C2 still have their preview on LAN working for other mobile devices on their home network that are trying to reach the 196.158.x.x IP address when previewing on LAN?

    -Still Curious

    Yes I still use C2 all the time and the preview works perfectly fine for me, I specifically still use c2 for testing even though Im developing on C3 because the preview on mobiles works better on C2 as I can preview at full screen but you cannot do that in C3 as I have to export every time I need to preview on mobile. So definitely it's been working as Im using it all the time.

    One thing you could check is that sometimes the IP provider changes the IP so you need to update manually in C2.

    Go to File >>>> Preferences >>>> Preview

    1-check if the IP that C2 has is the same as the current internet IP

    2-If the IP is not the same then click that grey button next to the IP box and it will show you all the available IPs so choose the one that matches your internet IP.

    If your change the IP on C2 then to preview you will need to use that new IP:

    "http://New IP:50000"

    If the IP is not the issue then I have no clue as it must be something else.

    Update:

    Also, I forgot to mention that to Preview on mobile you need to open the capx in "Administrator" mode

  • Awesome Rojoh!

    Working great here on (Windows + Chrome)

    Thank you))

  • Yes please, I have sensitive eyes and the pink is hurting quite a lot. You could add on the profile settings the option to choose the old theme as it was perfect and we were already used to it.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • tarek2

    Just one question on this example you shared, how would I make it so that you can click on the scroll bar (not the slider) and it jumps to that point in the text?

    Np Glad, it was helpful.

    Something like this?

    https://www.dropbox.com/scl/fi/sa2fo1uacqo5bu4xl6i0l/Scrolling-List-Dinamic2.c3p-Shortcut.lnk?rlkey=lmefywsh509o9fs86kri8wugk&dl=0

    Now that I think you could also use a list and jump to the logs directly but that means you will need to use a form object which will always be on top of the canvas so it can be very annoying.

  • zephirum

    I apologize, I haven't been on the forum for a while and I missed your last post.

    Most probably you fixed your issue so you can ignore this post:

    If that way works better for you and you feel more comfortable then go for it, normally for me what I do as long doesn't affect performance I try to make it as readable as possible as that is number one to finish any project, otherways if you cannot understand your own events then you can get pretty frustrated and it can be difficult to advance and finish it, so go for what you feel more comfortable as in your case it will not affect in any way.

    Though that's what I suggested in my first comment you just added an extra container "qContainer" instead of just adding the choices to a hierarchy to the "Question" directly, is the same thing if you like that way just needed to spawn extra objects.

    For your question:

    -Event = 27 >>>>>>>> Condition = 1:

    (Pick "qContainer" where ID is = variable 1)

    You dont need it as you already picked the "qContainer" in the top event so you can remove it as you dont need to pick it again. The Picking will carry into any subevent.

    -I'm Not sure why you need to pick all the choices as you can just do:

    You can save the answer into the "Answer" txt object in a variable and do just one comparison to check if it's the same.

    On choice clicked: ------------- Check Answer

    But if you need to pick all the choices as you do then you dont need the variable1 & 2

    On Radio_Btn Touched

    qContainer is overlapping Radio_Btn

    Pick all Radio_Btn

    qContainer Pick Own children Radio_Btn

    If you didn't know already you have Families also if you dont want to use the Pick All.

    qContainer Pick Own children Radio_Btn_Family

  • There are many ways to make the scroll depending on your preference but if you haven't done any yet then I will suggest going for the simplest by using hierarchies so you can pin all the logs in one base, you will just need to keep track of how much you need to scroll when adding new logs.

    Here is one example:

    https://www.dropbox.com/scl/fi/man2cdgemh24xr70hrvzl/Scrolling-List-Dinamic1.c3p-Shortcut.lnk?rlkey=7pg827mbdtt785psvesfuawt7&dl=0

  • Really cool. When are you releasing and what platform?

    Thanks! Frozen Angie

    Planned to release it to Mobile first then steam later on as I have been developing and testing on mobile all the time to get the performance right so hopefully could be played on any PC without any issue as it's been tested targeting the lowest phones to ensure as many PC can play it as possible.

    Thanks for checking it out!

  • I see, I'm still not sure exactly how you wanna make it work, for example, you upload a song but what happens after? do just save it in a general list? or do you link that song with a specific button? etc... there are many questions that only you know so generally answers will change according to each situation.

    At the moment I can only assume what are you trying to do:

    1-It looks like you select one of those 10 buttons

    2-Then you press that upload button then when the song is uploaded you link that song to that button?

    If that is correct here is an example:

    https://www.dropbox.com/s/7ah5attx9u9e9ve/Upload%20song1.capx?dl=0

    And if you need instead to upload to a general list instead of binding it to a button then the link I posted above has an example of how to do that, hopefully will help you any of those two examples.

  • -For number 1, yes you could create your own scrolling using sprites that shouldn't be a problem.

    -However for number 2, this is gonna be a bit tricky depending on how big your log data is.

    Example:

    -The "text Input plugin" has scrolling but doesn't support the BBcode as far as I know, so you cannot make some parts of the text in bold.

    -So you are left only with one choice the "Text plugin" as here it supports the BBcode but you need to be aware of the limitations that the Text plugin has a "maximum texture size limit"

    https://github.com/Scirra/Construct-3-bugs/issues/5331

    So if you cross that limit the text gets blurry, this means that you will need to split the logs into multiple texts instances if the logs are too big then you can place them one after the other so you can scroll them nicely like if they where in just one Text object. The calculation should be the same as if you had just one text object as you add up all the text objects Heights so you can use it to make the scroll bar calculation.

  • onur

    Any updates on this project? Really interesting to see a brick game in this concept. Congrats

    Thanks!

    Yes is still in development, it took way longer than we expected as it's going ober 2 years now full-time when we originally were just looking for a small game that could be done in a month that was meant to be for taking a break from the other bigger games that were long in development but it turned to be far way more complicate, challenging and time consuming than we anticipated, also as we kept adding things and new ideas we switched from a quick game to a full more quality polished game. Though we nearly finish it hopefully, also we did a whole change of the art direction like Backgrounds etc... so we finally found the game identity as it was still not clear before. We are now really happy with how it turned out and the direction we finally chose.

    Thanks for checking it out!

  • I'm not sure what you meant by:

    upload my own sounds when it is running

    Running where?

    But if you just need to upload a song from your PC then here is an example that I posted not long ago, which takes care of duplicate songs etc... is C2 example but you should be able to open it on C3 as it works the same.

    https://www.construct.net/en/forum/construct-2/general-discussion-17/file-chooser-174941

    Edit:

    Sorry I just released that you are on C2 forum section so you dont need to open it on C3.