tarek2's Forum Posts

  • You have Picking Problem

    You create the lines in a separate event >>>> Event 22 But you don't link the enemies to that lasers so it doesn't know to who belongs to

    On Event 24 you have the same Picking problem as you pick all the enemies in one go but you don't specify which lasers belong to which enemy unless you have the objects in containers.

    So the best thing to do is make all the events in one, for example in the function event 22:

    Enemy is on Screen

    ">>>>>>Sybevent": For each Enemy: Create the Lazer + Move the actions from event 24 here, after the action that creates the laser + also you can add play the music action here so it plays for each enemy or if you need to play the sound just once then move that action outside the loop but inside the function.

    Not sure why it will work on debug though as it should fail swell.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • This is a html5 engine, which thoise consoles do not run. IT is not related to Construct.

    I know the guys at Ratalaika port C2 and C3 projects (and a lot of other software) into PS4, XBOX, Switch etc. They are working on PS5 as well now.

    Indeed I know

    I think the point that GeorgeZaharia was trying to make is that you don't have to rely on anyone if somehow was possible that the consoles add support for Construct.

    Xbox had support before so I think could maybe one day possible if you keep trying, who knows, the thing is it doesn't hurt to try and also if he tries and they deny Ashley could have already the probe for any future threads like this as he can show them that he already tried and there is nothing he could do but if they accept everyone wins, its a win-win situation.

  • +1 To what GeorgeZaharia said

    I think that is the most logical thing to do and the option that has the most higher chance to succeed as it comes from the Owner of the engine by himself so will have more weight on their eyes as it means that you commit to doing anything to support their platforms.

  • I tested exporting the same capx but this time I used C3 Build service that exports C2 projects that have Plugins and the results exports normally and installs normally on the phone without any issues.

    Following this guide:

    https://www.construct.net/en/tutorials/using-c3-build-c2-mobile-22

    So This means that only happens when I export from C2, weird I never had any problems before

  • Hi

    I start having errors today from Xcode that doesn't let me build Cordova app exported from C2, I tried a few different projects that they use to build just fine and I didn't change anything on them.

    Does anyone know why this is happening?

    Here some error messages from Xcode:

  • Whooa!! this is soo cool BH Thanks for sharing )))

  • 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

  • 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