NetOne's Forum Posts

  • At home on windows 10 my project does indeed load up and run (chrome) , However I wasnt really able to gauge any performance gains as many of the layers were not being displayed and anytime I touched the joypad the game froze. (something about null "length" in dev tools). Keyboard commands didn't seem to work either but mouse was good. This is not a complaint, I understand it is alpha, just FYI. Its great to see it running.

    My time is very limited recently but I will try to swap over to C3 runtime from time to time to help identify bugs and what not so we can get this bad-boy fully up an running ASAP.

  • No fair..I wanna play...... Im getting black screen on all projects (no 3rd p plugins) (including the scirra game demos) with c3 runtime.... (Work computer - Windows 7 Chrome 57).

    edit: Cheers Ashley I saw your reply on the blog. Yes r95.2 I just tried briefly on work computer which are pretty customized and locked down so will have a proper play tonight with my own gear at home. Its amazing that you have pushed it out already. Nice one.

  • You have probably bookmarked different URLs. You can't see the address bar in home screen apps so it can be hard to tell if you did that.

    Man Im sorry I cant show you I will type out using made up letters -

    It is like they are linking to different "apps" within Chrome

    the target information is slightly, different the long string at the end of the target has different letters.

    under properties of the shortcuts

    For one shortcut Construct 3

    Target Type: Application

    Target Location: Application

    Target: C:\Users\NetOne\AppData\Local\Google\Chrome\Application\chrome.exe --profile-directory=Default --app-id=mhnjmiaekonmoeajlbabiidfpohkaelb

    Start In: C:\Users\NetOne\AppData\Local\Google\Chrome\Application

    Comment: Launch Construct 3 r89. Make games with......

    For the other (Construct 3 (1))

    Target Type: Application

    Target Location: Application

    Target: C:\Users\NetOne\AppData\Local\Google\Chrome\Application\chrome.exe --profile-directory=Default --app-id=uiytutyuihiderhvkkjvfsarytyvjhvkvfxfgfxxxfg

    Start In: C:\Users\NetOne\AppData\Local\Google\Chrome\Application

    Comment: Launch Construct 3 r94.2. Make games with......

  • Because of "Trigger once while true".

    This condition makes it so that it is trigger only once, for the very first instance.

    Following instances are not triggered.

    To have it in events, consider doing as so :

    Add a boolean family instance variable to the Pickups family ("IsFlashing", false by default)

    + Pickups: [X] Is IsFlashing (inverted => Is not IsFlashing)

    + Pickups: MyTimer > 1.5

    -> Pickups: Flash: Flash 0.1 on 0.1 off for 10 seconds

    -> Pickups: Set IsFlashing to True

    Ok thanks man.

    My logic was.

    + Pickups: MyTimer > 1 (Will pick every Pickup who's timer is greater than 1)

    ----+ System: Trigger once

    -----> Pickups: Flash: Flash 0.1 on 0.1 off for 1.0 seconds (Will turn on flash only once for each picked Pickup)

    But you are saying that actually

    this will only pick the first Pickup whose timer > 1

    then turn its flashing on

    and then as the trigger once applies to the first condition as long as there are pickups on screen with timer > 1 it wont ever run again.

    Yes it does make sense now and this is exactly what I am seeing.

    I will have to look into this properly as It possibly means a lot of my Construct thinking may be flawed which could explain a few bugs im having difficulty squashing.

    Hm........ Brain Ache.....

  • "Add to desktop" does not use a separate cache. It shows exactly the same thing you see in the Chrome browser. It is essentially a shortcut to a bookmark, with parts of the Chrome UI hidden (e.g. no address bar). I would guess you just got confused by the update process, which requires an extra reload.

    HI Ashley, yes that is what I thought. But I have two shortcuts on my desktop.

    They both open the same Chrome in the same Chrome location.

    But one shortcut (Construct 3) opens r89 and the other (Construct 3(1)) opens r94.2 (according to the about pages)

    it is possible I have some odd settings but my Chrome is a fresh install and I dont recall changing anything.

    update: I checked the properties of each shortcut. I cant copy here as it is in my personal laptop which is off line. But the targets suggest they are pointing to different "apps"

  • Scirra

    As above just FYI my added to desktop "version" still says r89 even after getting update message and re-launching multiple times.

    It looks like the added to desktop version links to a cached version that cant be updated and you need to delete the shortcut and re add to desktop fresh from web version.

    on the other hand it seems to be a good way to keep multiple versions of C3 on the same pc if one desires.

  • OddConfection

    Hey man Thanks,

    I cant look at your dropbox as Im locked down at work (will check it later) but just FYI

    in my example my pickups also have bullet behavior so float away from the spawn so are not over lapping...

    (edit Im sure you can open any C3 projects in the free online version of C3 just maybe cant edit/save if they use features not supported by free version)

    However, ( I havent used timers much in the past. )

    but I tried your suggestion using

    + Pickups: On created

    -> Pickups: Start Timer "Flash" for 1.0 (Once)

    + Pickups: On Timer "Flash"

    -> Pickups: Flash: Flash 0.1 on 0.1 off for 10 seconds

    And this works ! The pickup begin to flash individually when ready.

    So thanks really appreciate your help.

    Ill now have to look into replacing a variable based timers with timer behavior in my game.

    It is still bugging me why the other way doesn't work tho.....

    cheers.

  • Some help?

    I havnt done a local high score system but I assume you will need to use a dictionary or array with min 2 columns (names vs score)

    you will have to sort the array by score.

    then when you have a new score ready

    if your new score is greater than the bottom score in the array

    push the new score into the array

    and sort again

    then pop the bottom one

    also every time the array is updated then also save it to local.

    and load from local every time you start the game.

    then use the array text wherever you need to display your high score

  • Dont know about desktop version as not used but also an issue on browser version related to suggestion raised here. -

    please vote if you have votes left.

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

    on the browser version you can see the reset zoom option by clicking the 3 dots on the right or right clicking on the title bar. Not sure how or if possible on desktop version tho.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • After using construct for well over a year now I thought I had most things nailed but obviously not.

    Its possible I am being really dumb but here goes.

    link to example file

    https://drive.google.com/file/d/0B6AQ9znz3zwxSkUwbl9pbDZINkNCRVlzRGJMZW1UQ1FrS1lJ/view?usp=drivesdk

    Anyway. Basically I am trying to get some pickup sprites to flash after a second, the sprites are in a family.

    I have 2 pickups spawned by a spawner sprite every 1 and 1.5 seconds respectively.

    Both the pickups are in a Family called Pickups.

    The pickups family has flash behavior and a "MyTimer" variable (to which I ad dt every frame)

    + System: Every 1.0 seconds

    -> Sprite: Spawn Pickup on layer 0 (image point 0)

    + System: Every 1.5 seconds

    -> Sprite: Spawn Pickup2 on layer 0 (image point 0)

    + System: Every tick

    -> Pickups: Add dt to MyTimer

    Then I am attempting to get them individually flash after 1 second (you know to indicate they are about to disappear)

    + Pickups: MyTimer > 1

    ----+ System: Trigger once

    -----> Pickups: Flash: Flash 0.1 on 0.1 off for 1.0 seconds

    but If I do this above the first pickup spawned flashes after one second but none of the others flash.

    + System: For each Pickups

    + Pickups: MyTimer > 1.5

    ----+ System: Trigger once

    -----> Pickups: Flash: Flash 0.1 on 0.1 off for 10 seconds

    If I do this above (add a for each into the condition)

    The fist pickup spawned flashes after 1 second but the others disappear after one second. (this makes no sense to me)

    + System: For each Pickups

    + Pickups: MyTimer > 1.5

    -> Pickups: Flash: Flash 0.1 on 0.1 off for 10 seconds

    If I do this above (remove the trigger once but keep the for each) none flash but they all individually disappear after 1 second (assuming the flash is being continually triggered)

    + Pickups: MyTimer > 1.5

    -> Pickups: Flash: Flash 0.1 on 0.1 off for 10 seconds

    This results in same as previous.

    So where is my dumb ass going wrong.....?????

  • For very good reasons other game engines allow you to select an instance on the layout via a list view.

    This is very handy if the thing you're after is invisible. And its usually quicker in general anyway..

    (think Hierarchy view in Unity, think "layer Property" window in Game Maker, Godot... blah blah - I think just about every game engine has one)

    Anyway.

    Don't know about you but I keep expecting the Layers window to be like a hierarchy view, little side arrows next to the layout name, you click on it and it expands a list of all the instances on that layout. Then you can click on it, drag it to another layer, copy it, edit its props... etc.

    Am I missing something or does C3 not have a list of instances anywhere? (the debugger has a glorious one!)

    That sounds like a good idea. I haven't needed for my game as I am generating instances on the fly

    But I can imagine that if you have a large layout with lots of instances of a thing with varying instance variables then this would be very handy.

    The list of instances could exist under the object itself in the project view and under the layout in project view with instance properties in the properties view.

    I suppose you could manage your instances directly in layout but still.

    There is a suggestions forum, chuck it in there, https://construct3.ideas.aha.io

    It is good to have input from users of other engines. There are not so many here.

  • Uhumm. I'm not really good in this yet, can you tell me please how to make the trigger thing?

    You need to have a play with Contrust for a bit more to understand.

    There are different types of events.

    One type of event is a trigger event.

    This will fire once when the trigger thing happens.

    In your case the on mouse click is a trigger event.

    This should only play your sound once when you click

    But the sound will always play to the end once started

    If the sound is a long sound or is a short sound with a long reverb

    when you click lots of times you will have lots of overlapping versions of the sound

    this will give you phase, distortion, and gain issues.

    To fix, in this case, your event should be

    On mouse click

    Stop Sound "my sound"

    play sound "my sound"

    this will stop the sound if it is playing before playing it again.

    so there is only ever one of the sound playing at a time.

    Thing is, its still early days with this whole web tool / service thing and Scirra arent a massive company with unlimited resources. They probably have some sort of road map which will include business development as well as tool development and stuff like this will be included. But as early adopters, which we really are, we are sort of along for the ride which includes the bumpy bits at the start. I have a relaxed attitude to it all as I am just a hobbyist with no rush to complete or release anything. If I were semi-pro /pro though I may feel differently I dont know. I do know however from reading Tom's / Ashley's and other Scirra members posts, the huge number of regular updates and my overall experience with C2 and now C3 that they strive for quality and will deliver it.

    JLH1964

    I think you have a good point ,

    with C3 Scirra selling game development as a sub service now, including the build service,

    and considering many here (myself included) will be weekend only developers.

    I dont think it is unreasonable to expect some sort of weekend monitoring and emergency cover / support for the tool, especially the build server. (assuming not in place presently)

  • dop2000

    Oh.. Damn, so I totally missed this!

    (And Ive just seen it is right there in the manual , really should read that from time to time)

    Cheers.

    This would make life a lot easier..... it means I could kill of a ton of events that are probably eating a lot of CPU.

    But it looks like it is not dependable unless the OR block is taken out of the equation

    Still I have something to look into tonight.... Thanks....