GeorgeZaharia's Forum Posts

  • Lots of useful information in this topic, thanks guys!

    If I publish my game on Google Play or App Store, do I need to include the privacy policy and T&C into the app? Or can I just put the link "For Privacy Policy click here" that redirects to my website?

    Usually google play and other services like it have a field to link ur privacy policy and tos on the app download page, however more and more publishers and developers are adding those links or the privacy policy file directly in the app so u can read it, while using the app, without being redirected, like a credits page... but for tos and privacy.

  • Hi All,

    New C3 user here, been enjoying things so far :) Just wanted to ask how C3's asset management works please.

    If I had 100 sprites with 50 placed in one layout and 50 in another does Construct try and download all 100 during startup?

    If I'm right C3 loads into memory what it need for that layout but I'm not sure when things are downloaded, do we have any control over that?

    Cheers!

    All images and sounds usually are preloaded at the beginning of the app, when the loading bar usually appears.

    Check the manual for more about this.

    And no you don't really have control over the images/sounds download/load. Usually if its inside your projects is preloaded when the app starts, if its not in your project files, then probably you will be importing them via js calls from a server and then you would control each asset download/import as you requesting it.

    But Regarding the C3 loads memory and multiple images, when u export your project all images inside of your project are turned into 1 sprite sheet so the engine loads them all very fast. Its not like takes each image separated file by file. its all loaded at once ... of sorts.

  • Is there any constraints or advice about the size/shape of loading-logo.png? I can't see anything about it in the manual.

    If you mean the main loading logo the appears similar to the construct 2 splash screen, you can go as wide and tall as your projects viewport, and as little as you want.

    The 64x64 loading-logo.png in the icons folder is the default used size, but i don't think there are any limitations on it.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hey. Does anyone know how to deal with cheaters who change variables? And if so then please you can with the example preferably on C3.

    if they are able to change the variables you can't really do much cause you will probably need a variable to enable a safety control.

    But you could also check if a surtain variable is set to something it shouldn't across the game and restart the game forcing reloading the initial state of the variables. can be done with compare two variables function. Or with a server database that stores all variables and compare their values from time to time, and if the variable in the database doesn't match the games variable then the player is hacking/cheating/altering.

    Do you know how they are changing the variable? or why are you asking this? im curious also in this subject.

  • That feature was only available for the premium dropbox users, but was discontinued, because "insert dropbox logic".

    But now a days, you can get a free webhosting a free domain and upload your files there and server them to people you want. Wix is a good place to start for free, there are other services as well, like freehosting , 000webhost (this might cause some security issues, but not big concerning), hostinger, etc.

  • Is the Django library acting similar to PHP? cause if it does, then you could follow a similar path as you would do with php embeding html /css code in between the <?php echo 'your html5 code, js etc'; ?>

  • Physics behavior don't take in account the graphic appearance of your objects.

    However it does take in account and measures the heavy part of you bounding box, so if you have your collision box done properly they should act normally, what you have i think now is a rectangle bounding-box probably which makes the objects act like square even weight type.

    To adjust your collision boxes on sprites go to animation, and on left side you should have a collision box editing feature.

    On physics behavior you need to also adjust which collision box shape should the physics behavior use, and you have 3 choices, 1st would be Collision Polygon - which is defined by your animation editing - this is what you want for best results.

    2nd choice is bounding box which makes all physics objects of that type ('hammers'), to act as a even weight square thing.

    3rd choice is circle, usually used for circular objects ie. 8-balls.

    Another very important thing that needs to be adjusted on your objects, after you made a custom collision polygon is the objects origin point. If you put the origin point on the hammer head, then that will be taken as the center of mass for the object. The origin point is always going to be 0 as id recognition in the Construct system, no matter what other points you add or even if you rename it. So if you have the origin point put at the end of the handle center of mass shifts there causing ur hammer to fly backwards, you might want to put image point 0 to the hammer head, and if you used it as the position to pin it to player hand u can create image point 1 and pin that to the player hand.

    Hope it made sense! i rambled to much i think... in short play with ur Image points.

  • Nice glad you solved it in the end.

    For the sounds and cpu usage, usually the pre-loading happens when u load the app, try pressing f4 on preview so it starts with the loading bar and logo.

    If you see the game without a loading bar either the pre-loading already finished, or the files are skipped. But that doesn't usually happens. So it might be your other event sheets and loops, that spikes ur cpu, you might have a loop updating an audio, or a text on a everytick type of condition. There's various reasons when comes to a complex layered Construct projects.

    As for desktop vs browser Construct i think they are the same thing.

  • After I changed the order as you suggested, it's playing only once but... any other crates I destroy after the first one won't make sound, so it's REALLY triggering once, and that's it.

    Oh my! I have so much to learn... sorry for the confusion, I'm trying to learn as I go.

    You can also add on the event that triggers the audio to play a For Each crate loop from the system expressions.

    And i think at that point you could remove the trigger once. since that would fire on each object type crate is being hit. Right now you are giving it a general state, and applies to all and considers all objects 1 object if your using trigger once, is a bit confusing.

    Il do a example file for you in a few minutes.

    Edited: take a look at the events in destructible objects audio. now the destruction part or Event nr 3 you can put it on the general eventsheet that you include where you had the destroy by fade to apply to all crates.

    Hope it fixes your issues.

  • What else can I try?

    You should move the fade restart | destroy event for the crate immediately under the audio play so its not delayed. Preferable in the same event sheet, or move the crate audio play above the fade restart on the same event sheet, they should work.

  • here is a simple wall grab using the C3 platform behavior only

    In order to tweak it to grab instead of slide, just set max fall speed to 0 when has wall left or right.

  • For images to show in post use [ img = url ] without spaces

    You also need to destroy the crate after triggering the action for audio. on the condition of hp<0. That will stop the double audio playing.

    On event 96 on actions under audio choose add crate = destroy

  • So the first issue I'm having is when my Player Hits more than 1 crate at the same time:

    The volume is Xdb + Xdb for each Crate, it sounds too loud for sure.

    But when hitting just one crate it sounds perfect.

    How can I make it so it will only play 1 "Crate_Hit" SFX a time, instead of all damaged crates at once?

    Thanks ahead!

    What you need to do there when you play the hit crate audio is check if the audio is playing or not

    And youd have some code like the following

  • I'm new on construct 3 and I am curious if there is any way to make a game on construct 3 that is rhythmic side-scrolling and action just like harmoknight on 3ds.?

    Theres a few options, one pick your level songs, play the music file based on players speed, and also you would need to make a custom hand-made type of orchestrated scenary its a tedious thing but might work.

    Second option i can think of is Audio analyser and creating enemy objects based on the audio beat rhythm.

    And the third option, would be a plugin that reads accurately midi files and plays the notes whenever you hit a surtain object, i know there are a few plugins for C2 but not sure if their in the works for C3.

    C2 midi plugins : plugin midi by blackhornet

    | jsmidiparser plugin by rexrainbow

    And are probably more but those are the once i remember have potential to be used as you want.

  • for 1 use play audio at object position to get that pan movement of sound

    for 2 about the effects check this tutorial

    additionally on 1 you might want to code the volume if player is at a surtain distance from a object to lower the source of the specific audio by comparing the distance between the player x y and object audio source x y.