Savvy001's Forum Posts

  • Ashley

    I have a new issue with this.

    The method above is fine if i would have a "known" amount of sprite instances i need to use.

    Then i would just give the main sprite enough frames.

    In my case i cant predict the amount of frames the user is going to fill with their own image's.

    So as they progress in the game, they add more sprite instances.

    But when the frame amount runs out it would mean that the user could no longer insert their own images.

    Simply because all the "set" frames are already filled.

    It would look like.

    Amount of sprites: 200

    Amount of instance frames: 200

    = 200 frames can be filled with user images

    (This setting is good for static games)

    My case is:

    Amount of sprites: 200 & growing by user

    Amount of instance frames: 200

    = 200 frames can be filled with user images, but sprite amount will exceed this limit.

    (Here i have a problem because i cant "grow" the frame amount)

    Do u have a solution?

    Kind Regards

    Savvy001

  • Thanx for the advise! <img src="smileys/smiley32.gif" border="0" align="middle" />

  • I'd love to use this.

    But i need it with webgl.

    Is that possible to implement?

    Kind Regards.

    Savvy

  • Thats great!

    I'l check the behaviour tonight.

    Thanx!

  • Hi Pode.

    I have a other question, maybe u have a solution.

    Is there a way to cut the pictures users upload via the drag & drop Zone.

    I need them to be cut as a sphere at 190 px.

    So no square images.

    To goal is to make the pictures of their heads to become planets.

    Is this possible?

    Kind Regards.

    Savvy001

  • Pode

    It is solved!

    Check Topic

    Demo Capx

    Thanx for the help!

    And the great plugin <img src="smileys/smiley32.gif" border="0" align="middle">

    Kind Regards.

    Savvy001

  • Tokinsom

    Thanx! U Solved it:-)

    I am very greatfull!!

    Kind Regards.

    Savvy001

  • Ps: I also tried using different Frames & Animations per instance, but it still turns black.

  • As i am also speaking with Pode on this matter for his Drag & Drop zone plugin.

    Here is the Capx

    I need to be able to use his drag & drop zone to load different images into different instances

    In the app im currently working on this is a main feature to truly connect the people with it.

    User content is key for it to work as it was meant to be.

    So i really hope this gets done <img src="smileys/smiley20.gif" border="0" align="middle">

  • kenhes

    Take a look at Filesaver Plugin by Pode

  • Hi

    The problem (as far as i understand) is that u set the variable to 1 if the switch is pressed.

    Now in my experience u dont want to "set" the switch to 1.

    Because construct2 recognises u pressing the switch even after it has set that variable.

    The result is this:

    Pressed switch --> set variable to 1 --> set variable to 0

    So when u then hit the arrow on screen, u go to Room B.

    To make switches using variable i always do the following.

    I came up with this method after having the same problem long time ago.

    Here is what i do all the time and it works.

    Press switch --> Add 1 to variable

    Variable = 0 (Do Action)

    Variable = 1 (Do Action)

    Variable is greater or = 2 (set variable to 0)

    This event logic makes the switch cycle through the variable, and by reaching the end it starts at Zero again.

    With this u can make as many variable actions as u need.

    Press switch --> Add 1 to variable

    Variable = 0 (Do Action)

    Variable = 1 (Do Action)

    Variable = 2 (Do Action)

    Variable = 3 (Do Action)

    Variable = 4 (Do Action)

    Variable = 5 (Do Action)

    Variable = 6 (Do Action)

    Variable = 7 (Do Action)

    Variable = 8 (Do Action)

    Variable is greater or = 9 (set variable to 0)

    U can also use these variable "amounts" in other events.

    In your case it would look like this.

    Press switch --> Add 1 to variable

    Press Arrow & Variable = 0 (Room B)

    Press Arrow & Variable = 1 (Room C)

    Variable is greater or = 2 (set variable to 0)

    Ps: My name is not david either <img src="smileys/smiley32.gif" border="0" align="middle" />

    Kind Regards

  • Nice game.

    Loved and recognised the extra know-ledge ;-)

    Keep doing your happy thing!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Superb!

    It is instantly going to be implemented in my app!

    Amazing Pode, simply amazing <img src="smileys/smiley32.gif" border="0" align="middle" />

  • You do not have permission to view this post

  • Pode

    If its possible, then it would also be a great feature to be able to set the frame number to where the instance image is set.

    Then the users of my app can insert images for separate frames of the sprite instance.

    As in.

    Sprite instance 3 is selected & animation frame 2 is selected.

    Dropping image in drag&drop zone.

    Result.

    Image is set as frame 2 of sprite instance 3.

    Hope my explanation is understandable ;-)

    Is this a do-able feature?

    Kind regards.

    Savvy001