20Sickness's Recent Forum Activity

  • Het mikewalton206!

    Here's an example with some functions that might be useful for your card game, including the updateHand, which sets position and angle to each card on the player's hand according to the amount of cards and the player hand area.

    https://www.dropbox.com/s/anbtxlrdk2n1l ... .capx?dl=1

    Every function has a help text so you can figure out how it works.

    Hope this helps. Cheers!

    OMG!!! Yes! you are the best LOL this will for sure get me started in the right direction. I really appreciate it!!!

  • Might try this as a cheat.

    That looks good but like some of the people said... the plug-in won't load. This is like one of the hardest but i'm sure really simple things i'm trying to add lol I bet i'll just laugh whenever I figure this out if it ends up being something stupid to make this card hand thing work. Thanks for all the efforts to help

  • With some trig you could set it up like an arc in Hearthstone.

    In a loop, I would set the angle to ((360/number of possible cards)*loopindex)+offset

    With the formula: x = centerX + cos(angle) * distance, y = centerY + sin(angle) * distance

    The z should take care of itself.

    Yeah that didn't work for me. it just placed the cards all in one spot and then they just got set at different angels as they got dealt out so I gotta look for other options or find out if I made a mistake on your idea.

  • yeah I agree with them above... without any or very little details on like how the screen is set up, is the level scrolling, is the button on the same layer as everything else(might have to be put on it's own layer) and so on. More details on how you got it set up would help us help you

  • With some trig you could set it up like an arc in Hearthstone.

    In a loop, I would set the angle to ((360/number of possible cards)*loopindex)+offset

    With the formula: x = centerX + cos(angle) * distance, y = centerY + sin(angle) * distance

    The z should take care of itself.

    Thanks, i'll test this out and see if it works for me.

  • Hey guys, so I'm working on a card game and obviously that's some serious work lol I been working on trying to create a hand of cards like the ccg hearthstone. You draw a card and it gets added to your hand, you draw another card and the one you have slides over to make room for the next card then they slide back when a card is played and so on. obviously you gotta set hand limits too.

    I tried things like set card at offset, set position to this and so on but I can't get the cards set correctly in my hand like in hearthstone. It looks like the cards are on the field and I don't want that haha I'm thinking some kinda Lerp might have to be created and the cards gotta be set in a way so it looks like a hand and not in the filed of play So yeah if anyone knows how I can accomplish a hand system like hearthstone... the ideas, tips, pointers or tutorials you can point me to would be greatly appreciated, thanks everyone!

  • > I've never played that game but are you trying to make it it's like after you beat a level it goes to another level at random?

    >

    not really i just want to make one endless level which chooses the terrain from a set amount preset levels. like color switch

    hmm... that's gonna be an interesting one to pull off. if I come across something i'll let you know.

  • (sorry i re-posted since somehow it's disappeared after the error on the web)

    so yeah, i tried some guides of how to make games in construct 2 so you can call me a beginner.

    then in the middle of making the game by following the steps there, i "kinda" tried to change some things on it.

    i tried to make a automatic turn-based game. it does great but somehow the numbers messed up (absurd)

    please take a look at this:

    (after 1 turn each)

    sorry i can't provide .capx file. since i actually doesn't know how (lol)

    Thanks !

    ps: sorry for my bad english

    I can't really tell all that's going on in yours events lol but at the point when you subtract life from the player or enemy I don't see an amount like -10

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Do something like on button A pushed destroy character 1, character 1 spawn another object which will be character 2. That should work and long as you have character set up with everything needed to move like the first character you should be good 😉

  • I've never played that game but are you trying to make it it's like after you beat a level it goes to another level at random?

  • If its okay can you show me a screenshot of what these events would look like?

    What kinda of attacks are you trying to do? Shooting, sword combo attack, punching... depending on what you wanna do will change how the events come together

  • That looks really cool! I might use this in my game and update it if possible and if it's ok with you

20Sickness's avatar

20Sickness

Member since 24 Mar, 2015

Twitter
20Sickness has 2 followers

Connect with 20Sickness

Trophy Case

  • 9-Year Club
  • Forum Contributor Made 100 posts in the forums
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

14/44
How to earn trophies