tarek2's Forum Posts

  • Hi,

    I was on R268 and today when I opened C3 it did an update to the last version R276 without asking me for my authorization.

    Why is this happening as I didn't want to update? I wanted to stay locked on R268 as I don't want to gamble with the new features added yet.

    Shouldn't they need to ask if I need to update first?

    Also after it was updated it showed a message that it was updated from R275 to R276 but I was on r268, is this a bug on C3??

    I confirmed that indeed I was on r268 by opening my last project in an older version:

    is there any way that I can set the default to R268 again?

    I know I can visit directly the link r268 but I have already the icon on Chrome to visit C3 Editor which is quicker than looking for the version is very annoying.

  • wow that is not very intuitive, I thought the variable would reset to false at the top of each sheet. so this means I have to turn it back to false in the event - which is fine.

    They are very useful once you get used to it, the local variables think of it as a temporary variable that you will use and modify on that same tick in that scope for temporary calculations and values that once you leave that scope you will not need them anymore and it resets it to default for you.

    but now I am worried about using the mouseclick bool many other places and in #includes etc.. so I am worried about the order. I can't really see it in my head right now, but maybe it works out?

    Not sure which problem you referring to with the order but if you want to access the Boolean in any event sheet just set it as Global as it should work exactly the same but it will retain the values.

    is this the standard way to add mouseclicks/keyboard keys/gamepad buttons to the same condition?

    For me, I will recommend you not to worry about the standers and choose the way that is much easier for you because is more important that when you look at your code you recognize what each event does as quickest as possible other ways you will waste hours looking at your events just to find out what they do or how they work. So choose the way or method that is more comfortable for you for readability as you dealing with mostly triggers so is not gonna hurt your performance doesn't matter which way you do it.

  • I have some OR block code. but when I use the mouse I have to pick which object I clicked so I need to add ANDs but you can't mix AND and ORs

    so I did it with 2 different events, but its not working. how is this done without repeating the code for a mouse specific event?

    https://www.dropbox.com/s/zq5lp8zpl91cuuv/mouseCapClick.c3p?dl=0

    The issue is that you are using a local Variable which it will reset the value on the next Top event

    Example:

    -On Event 2: >>>>> Left Mouse click set the mouseclicked to = True

    -On the Next Top Event which is "Event 3" it will reset the mouseclicked to = False because that is the default state

    -So by the time it checks "OR Is MouseClicked" the state of the local var mouseclicked is = False

    The easy fix will be to drag the local variable outside the group to make it global so it retains the state once you change it

    or

    Save it in a dictionary

    or

    Just add an object in the layout just for instance variables so you can use it as global variables by making it global you will be able to use it in any layout.

  • Double Check that you have the Animation Speed set to = 0

    If you have it already set to cero but still doesn't work correctly best thing to do is to fill a bug report

    I just tested r273 it works without any problems for me

  • redfoc

    On your first Array condition check you using twice Array.CurX instead of Array.CurY

    Not sure if that is intended but doesn't look right

  • > More gameplay of our incoming Neon game (Brake The Lights)

    >

    > Still work in progress

    > Things to do:

    > Trails for the balls, some other effects.

    >

    >

    Looks really good, could imagine it's been tricky to optimise this but looks very smooth. Great job

    Thanks a lot for your feedback

  • More gameplay of our incoming Neon game (Brake The Lights)

    Still work in progress

    Things to do:

    Trails for the balls, some other effects.

    Subscribe to Construct videos now
  • tarek2 Cool idea and looks great!

    How did you make this destructible neon image - is every piece a separate sprite/frame?

    Hey Dop Thanks A lot for your feedback really appreciate it ))

    How did you make this destructible neon image - is every piece a separate sprite/frame?

    Yes Dop it is, after trying all the different ways that I could possibly imagine that's the one we choose, though this wasn't an easy process, the game has been really challenging from start to finish, for example just to get a decent performance it took me 3 months or so full time exclusively for that. It looks simple game but its really not what it looks like, it was meant to be for last Christmas))

  • Here is some Gameplay of our incoming Neon game:

    Subscribe to Construct videos now
  • Thanks DiegoM

    You're right I just copied it from the first page didn't think it could malformed ))

    I just tested and is working now if I put the JSON file inside the folder where the frames are

    At the moment "sort" and "order" only work as expected if the configuration file is in the same folder as the files it is meant to affect. A fix for that will be on the next beta.

    Hopefully the next beta will be more useful than this one.

    Thank you

  • Progress for one of the Games that we are working on:

    Loading Gorilla Level

    It was supposed to be a one month game for last Christmas and we are still here working on it ))

    Subscribe to Construct videos now

    Note:

    You need to watch it on the Pc because for some reason if you watched on mobile it losses quality

  • Awesome!

    Thanks so much for adding the Sorting order DiegoM

    I just have some issue as it's not working for me, I tested all the 3 options:

    "sort" can be either "alphabetical", "numerical" or "no-sort".

    But none of them worked as they all do the same sorting

    Do you have any idea what could be wrong?

    Here are the files:

    https://www.dropbox.com/s/3je3gi9k4i3fazw/no-sort.zip?dl=0

    https://www.dropbox.com/s/1j33m5btzjg8i1m/numerical.zip?dl=0

    https://www.dropbox.com/s/s25xan8tcoe1oby/alphabetical.zip?dl=0

  • Thanks GameSoul for updating the plugins really helpfully ))

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I believe array object is essentially a Javascript array, so you can estimate its memory usage:

    https://www.mattzeunert.com/2016/07/24/javascript-array-object-sizes.html

    > This way at least we can show the loading progress for feedback instead of nothing.

    I actually stopped using loadingprogress expression, as it often doesn't refresh. Instead I'm showing a fake progress counter, something like this:

    > Every random(1,2) seconds
    Progress set to min(100, progress+choose(0,1,2,3))
    Text set text "Loading ..." & Progress & "%"
    

    Thanks a lot dop2000 I will have a look at it, hopefully with that will be able to estimate the size

    Instead I'm showing a fake progress counter, something like this:

    Hoh yeah that's exactly what I did, I faked the loading and added some timers etc... not bad for a workaround

    Thanks again ))

  • I don't think you can. It would be off for the whole project and then you request full screen on leaving the logo layout via the browser object. I also don't think you can go without an l full screen mode for mobile exports so that's not really a solution anyway.

    You can try filing a bug report - logo images not behaving as expected on splash screen. If you follow the guidelines, it's probably the fastest most straightforward way to get a response from the devs. Even if it isn't a bug or something they can't change, at least they tell you why and might offer an alternate solution.

    I see

    Yeah I think that's the only possible solution to fill up a bug so at least they can an accurate what's going on, I didn't do it as I thought to save them time to go through the bug report by maybe posting a solution here though maybe I would do that at the end or just disable for completely and leave the black screen at the splash screen for now.

    Anyway, thanks for the help really appreciate it ))