viaoceanica's Recent Forum Activity

  • Thanks for the advice Magistross!

  • Hi guys,

    I'm looking to make a sort of card game, and each card has various instance variables (let's say for example, number, name, hp, ap, etc etc).

    Is it better to create an object for each card (Like [cardname1], [cardname2], etc) and add them all to a family like [UnitCardsFamily]? Or one object in which each frame is a different card? Maybe save the cards in a database and then call them with Ajax? Or none of these? I'm getting at a sort of block with this issue.

  • Hi! Thanks a bunch for the reply.

    I'm trying to implement it but I'm still having some problems.

    I set added an instance variable on the family itself like you said, so the [familyname] has an instance variable "Use" which is defaulted "true"

    And then I change the boolean to "false" when correct, so it doesn't call that one again, I'm setting it false on the specific object, not the family, so for example

    [girasol] is correct -> [girasol] set Use to False

    [girasol] destroy

    And then I call a new one object from the family

    On [familyname] destroyed

    [familyname] Is Use -> spawn [familyname] ...

    But this makes no object spawn for some reason. Is there anything I'm doing wrong?

    Thanks again for the trouble

  • Hi, I have a small problem with my game. (see attachment)

    Okay, so I have the 6 objects, 3 on each side. What the player is supposed to do is drag the object in the middle to the object with the corresponding starting sound (the sunflower in portuguese is girasol, which starts with a j sound, so you'd drag it into the object with the J's) and it is destroyed, and then another appears.

    I'm doing this by having all the middle objects in a family, and it spawns a random object when the other is destroyed, so if I put the sunflower in it's correct place, it is destroyed and another random object from that family (e.g a shoe) shows up in the middle, and so on.

    Until there I got it working fine, my problem is that the objects repeat themselves. Like after a few tries, the sunflower can appear again, and I don't want that. How can I say "okay sunflower was destroyed, so don't spawn that one anymore"?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Sorry if it has been asked before, I tried searching the forums and tutorials but couldn't find anything.

    I'd like to be able to record and save the sound file (to mp3, ogg or any other usable format) using the User Media, but I can't figure out how to do it. I got it recognizing the microphone and it "hears" me (I used the example giving in Construct 2), but I can't save the file.

    If not save the file for future use, at the very least, replay what was recorded.

    Is this possible?

viaoceanica's avatar

viaoceanica

Member since 22 Apr, 2014

None one is following viaoceanica yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies