tarek2's Forum Posts

  • clock

    In the Picture that you shared its just a normal Rectangle so you could do something simple like

    Capx:

    https://www.dropbox.com/s/3anch8qlw7798bh/Snail.capx?dl=0

    It's that what you need?

  • Are you referring to C2? as this section is for c3

    If you are referring to c2 the Object must exist in some Layout, so you have two options:

    1-Place the objects that the current Layout is gone be using during that Level

    or

    2-You can Put all the Objects on a different Layout you can Name it "Bank Objects" then you will be able to create the objects on RunTime

  • You can use PathFinder, make the Grey Area as solid with TileMap or something like that

    or

    Another way You can use way Points

    Mmm I just looking at your Pictures again and it looks more like a snail Enemies, are you referring to walking stick to the Edges with the Angle an everything like a Snail or just normal characters that walk around the Edges?

  • You do not have permission to view this post

  • I'm having difficulties when I try to save making me lose the whole progress because to cancel the saving I have to refresh the web browser and lose everything.

    Here is a video that I recorded after my fifth attempt to save as "Download a Copy" where it just gets stuck at 0% forever the problem is that to cancel I have to refresh the Browser and I have to start from the beginning all the Events.

    After many attempts that I lost everything which gets very annoying having to start all the Events from the Beginning I said ok this Time I will save first as "Save to Local Browser" then after I do a second save as "Download a Copy" but after I did this I notice even the "Save to Local Browser" it didn't work as you can see on the Video Bottom Left Corner.

    So at the End they where Both Stuck Tring to save

    1-"Download a Copy" >>>>The One on the Middle of the screen with 0%

    2-"Save to Local Browser">>>The One at the Bottom Left Corner with 0%

    This happened many many Times, the only thing I can think of causing the problem is that I wasn't logged in or is there any known bug for this?

    I was planning to try again c3 subscription but these things it really makes me wonder if I should wait longer until this thing gets more stable.

    And the problem how we should report this as a Bug if there is no related to Capx to investigate, I can just make videos but I'm not sure if that will help to solve the problem.

    Another thing will be Helpful if it was a Cross or a button just to cancel the Saving progress when we see that it got stuck so we don't lose the whole progress refreshing the browser.

    Video:

    https://www.dropbox.com/s/z4f7ewiy4nlcuw5/C3%20Saving%20Bug.mp4?dl=0

    I forgot to mention the Project is really small less than half Megabite

  • Hi Everyone

    If I have for example 4 Instances of the same TileMap and all display tile Frame ID=0 does it count as four Draw Calls or it just 1 Draw Call as if it was using one TileMap without Instances?

  • You do not have permission to view this post

  • I'm trying to make a game with a player with TileMovement, and boxes. When the player runs into a box, the box is pushed, unless it's pushed into a wall, in which case, the player & box stay in place. Any idea how to do this? Thanks in advance.

    https://drive.google.com/open?id=1FJWvk4nyG5_x50RllM1H5y8S4dsUmQoc

    I made an example for you but using just the Free Edition of c3 so I couldn't use any Array, Family et... plus it was crashing quite a lot while I was saving I lost many Times the things I was doing.

    it works only for the Right as the Events are limited but it should be easy to replicate for all the Directions.

    It was a bit challenging the way you choose to do it with TileMovement & Solid Boxes as the TileMovement for the Boxes if they need to check if they can Move you have to deactivate first the Solids for that box other ways it will give you negatively even if it can Move to that Direction

    An Array saving all objects in the Grid will be much easier hope it helps.

    https://www.dropbox.com/s/0ypidki16rdztkq/Push%20Blocks%20TileMovement.c3p?dl=0

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You do not have permission to view this post

  • moboster

    say you have two Arrays

    2DArray

    1DArray

    you can use the system "For" Loop

    Set first 1DArray Size (0, 1, 1)

    Then Loop:

    For "X"

    From :0

    To: 2DArray.Width-1

    Action: 1DArray Push Back on X: 2DArray.At(loopindex("X"), 0) & "," & 2DArray.At(loopindex("X"), 1)

  • If you need to display the sum of all the Prices on the Moment you adding the Prices into an Array you can just create a Local Variable = Total

    Then while you adding the prices to the Array in that loop add another action add to Var "Total" the sprite.Price

    Then at the end of the loop set Txt to Total this will show the Sum of all the Prices that you added into the Array

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

    But if you need to retrieve the Sum from the Array Directly while not adding Prices you can use the "For" Loop & a Local Variable: Total

    For "Y"

    From :0

    To Array.Height

    Action: add to Var "Total" >>>>> Array.At(4, loopindex("Y"))

    Set Txt to "Total"

  • > CureLovelyWarrior No problem mate

    >

    > Don't forget to vote on the Link for MoveTo to be included as Official Behaviour on C3

    >

    > https://construct3.ideas.aha.io/ideas/C3-I-574

    Thanks, I voted +3!

    I read what was written there and I definitely agree with it, I think it sounds like Ashley might've been a bit misleading by saying the two behaviors serve the exact same purpose.

    I also hope too that if it becomes official, the official version will be able to read events made with Rex's version and that I won't have to go and change them all.

    Regardless, me having the Rex version with C3 runtime is definitely a big help, and now it seems like my game is able to switch to C3 runtime... though I'm still experimenting on whether I actually want to make the switch to C3 or not for other reasons combined. This definitely brings me closer. But changing from C2 to C3 is still a big deal for me and I'm still not sure if I'm ready for it. <3

    Bravo Thanks a lot, Mate :)

    let's see if this Time is Happening, I'm in the same situation as you I use just one Plugin "MoveTo" and I would like to give c3 another Go if that "MoveTo" was available, Even that they have a lot of great new Additions on c3 RunTime that I would like to use but for some reason its very hard for me to make the switch from c2 as I'm so used to it, I haven't got any problem with the subscription though.

  • Mmmm Interesting I never need it to Mirror a TileMap and you Right you cannot do it like Normal Flipped Sprites, how about with code will it help you?

    Cpax:

    https://www.dropbox.com/s/nklu7nq1xlc23zx/Mirror%20TileMaps1.capx?dl=0

  • andreluizgollo

    Group "Slow Time Upgrade Levels" On Event 93 is the one causing the problem all your events inside this Group are referencing to "biggergaps_upgrades" for changing animation instead of referencing "slowtime_upgrades" Animation.

    Another thing is that these events runt every thick

    -Bigger Gaps Upgrade Levels

    -God Mode Upgrade Levels

    -Slow Time Upgrade Levels

    -Spawn Chance Upgrade Levels

    you should put them under the Triggers that you have on Group "Upgrades Menu Buttons"

    Example On Touch on "biggergaps_buy"

    Total coins is bigger than biggergap_Price

    Bigger_gaps upgrade < 7 >>>>>>>>>>>>>>>>>>>>>>>>>>>>All your Actions here that you already have plus the ones from goup "Bigger Gaps Upgrade Levels"

    And do the same for all the Group Upgrades

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

    And I would recomend you for the Next Time to not share your whole Project because it can get stolen mate, when they ask you for a Capx project try to remove everything that you can and just leave the code related to the problem just with minimum capx enough to replicate the problem.

    Another benefit of doing this is that while you deleting or recreating a minimum capx most of the Time you will find the error before you post it

    And finally, I would like to say for your first project you did a great job mate keep it up, the graphics look great too, one thing I see you can do quite a lot of optimisation Though, good luck with it

  • CureLovelyWarrior No problem mate

    Don't forget to vote on the Link for MoveTo to be included as Official Behaviour on C3

    https://construct3.ideas.aha.io/ideas/C3-I-574