PapitoMyKing's Recent Forum Activity

  • What if you have all the positions "hard coded". So, if the number is 3 or lower, they ll spawn at x=[0,120,240] y=[0] and if its bigger they will spwan the first line as before and then you add another "Y".

    Isn't that what I have at "4" on the event page?

  • Hello everyone!,

    I've trying to randomly spawn some objects with the "while" command in a 4x4 arrangement, and everything goes great until I have to change the "Y" position.

    Ideally, it will look like this:

    [attachment=2:d8y3hykh][/attachment:d8y3hykh]

    But I'm ending up with this (been trying with only 5 objects atm):

    [attachment=1:d8y3hykh][/attachment:d8y3hykh]

    Sometimes I get only one object in the 1st row, and four on the second, etc.

    This is my event page:

    [attachment=0:d8y3hykh][/attachment:d8y3hykh]

    My logic is the following:

    When i>3 (meaning that 4 cards have been laid)

    Create object at x,(new Y position, because it is a new row!)

    I've been smashing my head against the keyboard for days because of this, any help is greatly appreciated!

  • Hello,

    So, I get everything into a zip file, with the index file on the root directory. I upload it to Newgrounds, and when I preview the game, it freezes on the loading screen.

    Any ideas/solutions?

    Thanks.

  • mp3 is best avoided due to the ridiculous licensing requirements of the patent holder.

    https://www.scirra.com/blog/44/on-html5-audio-formats-aac-and-ogg

    Well, the format doesn't matter at the end, it could be wav or ogg, I just want the music to be saved on the player's device.

  • Hi,

    I'm making a "make your own song" game, and I want the game to export a piece of music that would be made by the player. Not sure if that's even possible with C2...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I am not sure what you mean by layers in terms of music, but you should use a variable. For example, when player turns music on, set VariableMusic to 1, and if they turn it off, set VariableMusic to 0. Than save that variable to webstorage so that everytime you start the game, the setting is saved.

    Thank you!

  • Hello!

    So, I have a button to stop music and other to turn it on back again. Now, how do I let C2 know that when it creates the layer 2 e.g., it remembers that the music was set to off, and that it should not play it?

    Thanks!

PapitoMyKing's avatar

PapitoMyKing

Member since 11 May, 2014

Twitter
PapitoMyKing has 2 followers

Trophy Case

  • 10-Year Club
  • Forum Contributor Made 100 posts in the forums
  • RTFM Read the fabulous manual
  • Email Verified

Progress

13/44
How to earn trophies