tarek2's Recent Forum Activity

  • Really enjoy the video, was really interesting to see the progress and struggles. Hope you manage to finish it one day and make your passion come true.

    Good luck

    And Thanks for sharing ))

  • Thank you that is much helpful

    I checked your project and the spawners are working correctly

    But the are two problems:

    -You manipulating the objects Angle instead of the Bullet Angle on these two events

    That's why they get spawn perfectly but they never rotate or set the Angle towards your "HWBFairy" they just keep moving to the right outside the layout, you don't see them as they never enter fully into the layout.

    To fix this you can set the bullet setting "Set Angle" On then you can manipulate the object angle as you do so the bullet it will follow that.

    Or set just the Bullet Angle of motion in the events if you don't want to set the settings "Bullet Angle" On

    ===================================

    Second Problem:

    The spanners are to close to the layout so when they get spawned there is a little bit from the object edges inside layout that's why your

    Event 28 : is outside layout>>>>>> set angle towards HWBFairy is not working as it counts already inside the layout

    You can fix this just by moving a little bit farther the spawners

  • Iam learning a lot, but i could do some kind, but i have some idea, if we hace a table with 10x10 we have the numbers with order.

    If i change the px of the text i put more big always the numbers is overlap.

    Could be exist something to change?

    Not really sure if I understood correctly

    It would have been quicker if you posted your Demo project as every case it's different and it will be done differently.

    If you have already fixed grid size like 10x10 then you will not need to do overlap checks, just spawn in order and leave the spaces between Txt (Width/Height)

    or

    If you talking still about using the Frame to test overlaps, then before the loop starts you need to make the Frame size as big as the biggest txt object that you will have (Width/Height) and that should be enough, by doing this it will automatically leave enough spaces for all the Txts instances.

    If it's not what you looking for please post your capx and explain a bit more and I will have a look

  • The events look ok

    Do you have any small demo that you can share? because it must be something else interfering

    Also, make sure that you didn't pick any of those objects on the top event if any

  • Try Construct 3

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

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

    Sorry for late replay I didn't receive any notification

    If you mean that you don't need the Frame?

    Yes, the text objects don't have the overlap check condition but you could use just one frame to do the overlap check then just delete it at the end.

    https://www.dropbox.com/s/wdnq21blo4gsc7a/sequence%20order3.capx?dl=0

  • Sorry was on a vacation and didn't get to reply until now.

    So the first part i'm already doing correctly, the loading. It's in the "Initialize the array" screenshot in first post.

    Then you're saying to basically store three values in a 1D array that match the "answers" array. but only the answer for that question so it would be like the following for example -

    4

    5

    12

    As they are picked, delete the value and resize the array to one height smaller?

    Yes Push the Y index numbers of the questions into the 1D Array

    Then once you add them all of them, to pick one question random you can just do random(1D Arrya.Width-1)

    After you set the question just delete that index from the 1D Array so you don't select it again

    Note:

    you don't need to resize the Array as when you delete and index it resizes automatically

  • Might be similar to the issue that I've had for a while now. It seems that if I open a project and attempt to preview it will be black. If use worker is on it will remain black, if not it will hang for a bit then load. The workaround is to switch use worker off then run the preview once. After that you can turn it back on if you like and it works normally

    That's a different problem I have it too, it's been for a while now, I think like 5 Moths or more, it looks like its permanent as they haven't fix it yet

  • Not sure if I understood correctly:

    But for what I see in your events is that you trying to spawn at random Position and that they don't overlap also you trying to avoid spawning on the borders of the Screen ViewPorts

    If it's that what you trying to do then:

    Here is an Example:

    Capx: dropbox.com/s/axlctj8rr1kvusa/sequence%20order2.capx

    Note:

    Be careful don't spawn too many objects on small spaces or the While Loop it will cause an infinity loop because it will not be able to find spaces to places the objects without overlapping. So always make sure whatever quantity of objects you are spawning they have plenty of space to spread out without overlapping.

    Here 100 objects is ok as it loads fast, the more objects you put the more it will take to load as it needs time to spread the objects so they don't overlap.

  • I did a demo for you:

    This is ascending form 1 to 10

    Capx: https://www.dropbox.com/s/ew42agxcocezifo/sequence%20order.capx?dl=0

    If you need to do the descending 10 to 1, you just need to put the Global 11 and then do the opposite which is subtracting instead of adding

    I hope it helps

  • Just trying to delete all text with the exception of button text. But I guess I will just use other text objects for button text then. Might also have better performance than checking collisions etc. .

    If it is just to pick the objects without involving any overlap check you could add an instance variable or boolean and check Pick by comparison, this is assuming that you don't really need to check for overlaps

  • Hi

    Click on the object that has the [latfprm behaviour and on the left properties panel turn Off/On

  • Tokinsom

    You right, yesterday I spend a bit more time than usual doing a demo on C3 for someone and it crashed many times at random. I was using the Web browser r210.2 instead of the Beta so it must be the same issue then.

    It's very annoying as when it crashes you lose the progress.

tarek2's avatar

tarek2

Early Adopter

Member since 26 Jan, 2016

Twitter
tarek2 has 12 followers

Trophy Case

  • 8-Year Club
  • 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
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • x5
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

15/44
How to earn trophies