ogdenman's Recent Forum Activity

  • I love these kinds of games. They are simple. And they pass time.

    The only thing I have to say is the text comes up quite pixelated and it gives me a headache to look at after a bit.

    I say keep developing!

  • So under the moue left and mouse right I would want to check, correct?

    That's where I have it right now.

    Then if it contains 1, I would want to set CurrentCard to CurX?

    But then how do I check the next 1?

    I feel as if I'm overthinking this.

  • Okay, here is what I have.

    What I am trying to do is figure out how to draw the sprite that only has the (1) so how do I check that?

    Would that mean I'd have to find out how to jump number in CurrentCard?

    I'm so dumbfounded.

  • The way I have it right now is that it would have it as a frame of an Anim.. so each frame of the sprite is actually a different card. This is how I was going to organize my booster packs. This way I could try to keep the sprites low but I can have a higher card count.

    So is there a way to set the frame based on a string?

    Also, when I'm trying to draw the card, it has to check to see what card is owned. So I have my array and 3 of the cards are owned, is there a way to skip over the 0 value? I'm sorry I'm trying to make sense of this and I found a couple helpful links. It's a struggle.

    EDIT: I looked back at the arrays and figured out how to find the 0 through the loop.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I think I am beginning to understand the array. My brain just farted though with trying to link the card to the Array value. Like should I have each card as its own object or should I keep the cards in one sprite? Maybe that's what is throwing me off.

  • I'd like to display them in Alphabetical order ..ha.. across the layout.. so I'd have the one being looked at right in the center and bigger and then there would be two more cards being displayed, one to the left and one to the right, a little smaller.

    <- i I i ->

    ^^ Like that, sort of.. but then in Alphabetical order and at the end of the list it would go back to A to the right or Z to the left, you know what I'm getting at? Displaying the cards I feel won't be a problem if I can figure out how the array works but I think if I just keep looking I'll get it figured out.

  • Thank you so much, I will be sure to check it out.

    So if they get multiple of the same cards, would the 0s and 1s become like 0s and 1s and 2s?

    Or would I want to make it so that they can't achieve the same card?

    I'd just rather not do that.

    I'll get to work though and see what I come up with on that. Thank you.

  • Okay, so I am doing a personal project that I'd like to really expand on.

    Basically, I'm dealing with trading cards and it's not a game so much as it is just collecting cards.

    However, there will be some aspects as far as a game.. anyways..

    I have always been really bad about dealing with arrays, and I feel like that is something I need, because here is all I'm trying to figure out:

    -User logs in through Google Play (to save progress etc.)

    -User gets initial booster pack that contains 3 cards!

    -Store cards on profile?

    -Purchase booster pack

    -Pick random cards for selection (including rares?)

    -Trading with other players online

    Now I know this is a lot and there is a lot I want to do with it and I'm working really hard to try to figure this out, but I am really struggling and I'd appreciate some help. I have been looking at all sorts of tutorials and manuals and I'm just trying to figure out the best way to approach this.

    Help is appreciated. Thanks!

  • Okay, I feel this should be easy but for the life of me I can't figure out how to properly do it.

    I'm looking to make it so that you can hit a Reset button and all the points you have spent will be refunded and they will be added back to points available.

    My approach is creating two Global variables:

    -PointsSpent

    -PointsAvailable

    Whenever they add a point to their stats, +1 to PointsSpent and -1 to PointsAvailable.. got that.

    But when they hit reset, how can I make it so that I take all the Points Spent and add them to Points Available and then afterwards, put PointsSpent to 0?

    EDIT: Solved it.

ogdenman's avatar

ogdenman

Member since 3 Apr, 2015

None one is following ogdenman yet!

Connect with ogdenman

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies