foxmaster's Forum Posts

  • Hello, I'm making a game and I already reach 600mb of memory used for only 200 events, how is it possible?

    Approximative download size: 62mb.

    I paid attention on the events such as "every tick" or loops, I desabled all "collision" and all my sprites couldn't be lighter. Also all sprite going outsite the layout are destroyed, I don't use any effect and physics is very low (like 2% used). When I launch the game it only use a maximum of 12% UC (I have a 2,9Ghertz), it never lag, so where do the 600 come from?

    The game works on a HD layout, so basically 4x "bigger" than SD (if it works like photography). I have the feeling that's the problem

    What I don't understand is how it could need more memory if the images size are very low (max 80kb), I suppose a big picture of white take more time to load than a smaller one of the same weight? I didn't know that, is it correct?

    Do you think I can reach 150mo if I put my layout to SD? How to do that? Is it possible? Do I forget something important?

    Also when I render the game with node-webkit it doesn't take 600mb but 1200mb, the application seems to start 2 times, but both are working because when I cancel one of them the game crash. Is it normal or I must re-instal?

    Thank you for you help please

  • Hello, I'm not sure if this is a problem of the game or my browser (google chrome)

    I'm making a game with 2 musics, the problem is I must synchronize the event according to the sound, so I use the Debug button, listen, set "save", edit my event, press load, etc. This is quick and easy.

    Everything works with 1 music, but if I add another music the second one never load! Every other FX correctly works except the big music (2 minutes 22 seconds low quality)

    I tried everything and if I click "Save" before the event of the second music and refresh many time something the second music is finally loaded, but immediatly the first music is disable... like the browser can't deal with 2 musics...

    I also tried to put the event "preload" it doesn't change anyhing even when my "save" is before this event.

    How to fix that please?

    Of course if I render the full game and test the game everything load, perfectly.

  • thank you !!!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello,

    I have 2 variables:

    -Score

    -Highscore

    In the game when you kill an enemy the score inscrease of 100

    Then I have a text showing the Score using "set-text to Score"

    I added the variable "When Score > Highscore" => Set text2 to Score

    This is working but when I restart the variable Score (so Score < Highscore) the Highscore doesn't keep the value, why?

    How can I keep the Score value into the Highscore? Should I use a third variable? I don't get it

    Any ideas? Please :p

  • Just make sure the files share the same name and import the new file like you did the old one. Construct will notice they have the same name and replace them

    Perfect! I'll try it

    This is even easier than I though xD

    Thank you dude /give a cookie

  • I checked the "frequently asked questions"

    How to edit a sound? If I remove the sound all events using the sound are removed... I had the idea to replace another sound with the same name in the Project pannel but it doesn't work like that...

    How to do it? is it even possible?

    Thank you :p

  • Anyone? Please :'(

  • Hello, my little problem is now a major problem...

    I'm making a game based on music, last week the sound was ok, 3 days ago the music didn't play everytime and now the music just refuse to play in the debug panel...

    The only difference is my game's weight is getting bigger and my computer doesn't play the sound, why?

    I used the setting "preload sound" of course, usually I have to restart the game few times to get the sound, I'm losing too much time

    When I export the game the sound perfectly works but I need the control panel to synch my game that is not finish yet... a nightmare

    Game weight: 250mo UC: 20%

    Edit: Even if I only "activate" the group where the music is it doesn't play the song... I just tried

    I could eventualy open few C2 and delete 75% of the code, edit my game, then copy/paste my new trigger in the previous C2... but this is obviously the wrong way

    Thanks for your help please

  • Cool

  • When you start the sound, did you give it a "TAG"?

    If you did, then pause the sound with the same TAG using Set Paused.

    I've never heard about tag, they have none, how to add a tag so?

    I right clicked on the music but I don't have the option "Tag" , where is this option please? ^^

    EDIT: I found it!!! I must put the tag when I play the sound

    Yay I found the solution

    thank you for your help too

  • You have to open the image editor first, then click on the animation and it'll show up in the properties menu.

    Jesus thank god!

    I never heard about this options... I used to put an event that set the animation to frame 0 ...every x secondes...

    I ve lost so much time!

  • Do not use the "moves to" for the cross hair maybe use the "pin to" , when something is pin(ed) to something it follows it forever But I don't know if you can pin something on the mouse, never tried ^^

  • Hello, I've already checked the "Frequently asked questions"

    I would pause my music when I press a button, it works but only if I leave the text box empty like "" but it only affects the last sound played, I just want to affect the music.

    So I tried to write "Sound of Level 1" , it doesn't work, I tried "Sound of Level 1.ogg/m4a" it doesn't work... How to correctly write the name of the sound please?

    I'm in the setting Audio => Set Paused

    My musics are located in my Music Folder (the original of C2), the name of the music is "Sound of Level 1" (with spaces)

    Thanks

  • I think I'm screwed xD

    In my object folder I have:

    Text1

    Text2

    Text3

    ...

    Text150

    I expected a command or something to simply put a shadow, added an instance object seems weird in the process.

    I could do it 150x it would take one hour at most :p

    I have difficulty with text in C2, I thought I could select them all and change typopgraphy at the end but it doesn't work like that, too much Indesign maybe ^^

    I also don't understand why there is no simple toolbox for shadows, what is the reason? Or maybe there is one in an add-on or something I really don't know! ^^

  • I understand but I failed so hard...

    I have 150 texts in my game, I cloned them all Then I used a command "creat text" => "set text to position" ... So if I do you trick I'll have to do it 150x ...

    Even if it works! xD

    I could use "Text On Created" => creat the second text + put at bottom... but it's annoying! ^^