Cameron9990's Forum Posts

  • What about this one?

    https://www.dropbox.com/scl/fi/5hqgq824q8mhck1ww3cnv/ShinyCard2.c3p?rlkey=jidydz0psnugghkydviw1tj50&st=t4fl770o&dl=0

    It's still adding a darker tint, but other than that it's working now so thank you... although if you have a suggestion for the tint I would appreciate it, lol

  • Yeah, that example is pretty crazy, I don't understand half of it. But the light streaks are easy to make:

    https://www.dropbox.com/scl/fi/jwuqelur50c527xo7u6gv/ShinyCard.c3p?rlkey=jqm2zhqd4izqlyecpdypwgojq&st=jbg9skfe&dl=0

    My issue with the way that you did this is that it's still tinted darker plus it's not fit to the shape of the card (for context, the opacity on the original is 100% and cards generally have rounded edges)

    To fix the darker thing I set the blend mode to additive (which again isn't done in the original but whatever) But I still don't know how to round the corners of it.

  • ...no seriously, the Light Streaks magically being applied to the card doesn't make sense to me. Like, there is right around 0 events here, 0 behaviors. But somehow one of these things with 0 behaviors and events correlating to it manage to trim the shape of the light streaks, one of them holds the light streaks within itself, and somehow all of them make the black in all of the images transparent... HOW! There's no events or anything doing any of this, I don't understand it.

  • There's an example of this exact thing (plus some more fancy stuff) in the Example Browser. It's called "Living Card".

    So Umm... how would I do this in a non-3D game? Or at a minimum use the Light Streaks themselves? As when I tried just porting them and any code relating to them, the black was visible.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • So I'm making a card game, I'd like to make the high rarity cards have a bit of a shine or a foiling to it. I tried looking through the filters and nothing I did really worked, but I'm also not experienced with the filters on here. Is there any you all would believe would work or is there something else that would be recommended for this?

  • ...but I want this to be caused by a whole 1 thing... I'm 100% certain there's a way of typing it. I just think I used the wrong symbol or the wrong function.

  • I'm trying to have it pick a random coordinate between two different ranges... but instead it always moves to the top left, am I typing this wrong? Like I'm pretty sure I made this and or statement.

    Tagged:

  • I think you want to look at effects for this. There are a large number of standard effects you can mix and match to change the whole deck.

    yours

    winkr7

    So uhhh... no, most of them sorta just turned the art either black, or completely invisible with no settings to mess around with... which was weird... no seriously, it's a card game, they all have completely different artworks, not sure why it had the same effect on all of them.

    But I was moreso looking for a like... idk, like a shine or foil animated effect. Idk, I just couldn't find any effect that made anything look "better" other than sharpen. Emboss I thought would be cool, but it for some reason removes color from things, if there was a way to have them emboss effect without it completely stripping color, that would be pretty cool too. (Yes, I have tried it at lower percent's and it was SO CLOSE to making me like it... but then I looked back at the original art and missed the more vibrant colors)

  • I think you want to look at effects for this. There are a large number of standard effects you can mix and match to change the whole deck.

    yours

    winkr7

    Ah, that's what I was looking for, I've never used it so I didn't think about it.

  • So I'm currently making a pack opener for a real life card game, the community had been asking for one for ages. For the cards themselves, I used images off the card database. However in sets, they take some of the more iconic cards from that set and have a super special rare version of it, in real life most of them are the same artwork but different foiling.

    I was wondering if there would be a simpler way of adding a sparkly or foily effect without having to go into each card and work on my animation skill for each and every card. Like is there a behavior or a way that I can do particles or something that I can do to make it look good without it taking absolutely hours per card?

    Tagged:

  • I also recommend a dictionary in this case. You can then save it with Dictionary.asJSON

    > Would doing something like Set Key: "Variables" Value: Variable 1 | Variable 2 | Variable 3

    This works but isn't as clean. You'd do

    > variable1 & "|" & variable2 & "|" & variable3
    

    And when you get them back you'd

    > Set variable 1 to tokenat(valuefromstorage, 0, "|")
    Set variable 2 to tokenat(valuefromstorage, 1, "|")
    Set variable 3 to tokenat(valuefromstorage, 2, "|")
    

    ...wouldn't this be how you save them with a dictionary though? like it's either this or doing each of them one at a time right?

    Like if I don't do it that first way then wouldn't it be:

    On Button Click:

    Set Key: "Variable 1" Value: Variable 1

    Set Key: "Variable 2" Value: Variable 2

    ...and so on

  • howtoconstructdemos.com/easily-save-multiple-values-in-local-storage

    Okay, so yes, save and load each of them one at a time.

  • kibaga.org/c3-example/file_uploads/index.php

    In this example, the state of the sound is preserved.

    You can also save any of your variables.

    Not quite what I'm looking for, I understand saving one thing at a time, but is there a way to save all of them in one action and then recall them all in one actions, because I need multiple variables and I just don't want this to look super long on my event sheet.

    Would doing something like Set Key: "Variables" Value: Variable 1 | Variable 2 | Variable 3

    Then whenever I load the Key "Variables" somehow set all the Variables to the values it stored? Is there anyways to do that that I'm not thinking of, or do I genuinely have to do this one variable at a time?

  • I have game settings and I'm just trying to make it to where they don't need to be set every time you load the game. So I was just hoping I could with one event and one action, just store everything needed.

    Tagged:

  • I wanna know how to change both the icon and remove the intro bit (for some reason can't think of the name rn)

    Tagged: