NECROKRIEG's Forum Posts

  • oh wow! Good Stuff Shapter

    (Sorry for the late response you didn't notify me with an )

    I'm trying to make a basic 'Look Up' app.

    You type in a character's name and their stats will appear along with an image loaded from a URL that's stored in an XML file or CVS spreadsheet.

    I like Mortal Kombat BUT always forget the moves so I thought I could type in a character's name to bring up their combos!

    Iv made a super primitive version, without XML, etc. Capx

    I'm going to go through your event sheet, very helpful!

    btw I love your game concept "Agents of a Corporate Empire" It reminds me of

    Subscribe to Construct videos now

    , love that game. It looks great.

  • A very helpful & simplified explanation CoffeeOD ! Thank you! <img src="smileys/smiley1.gif" border="0" align="middle" />

  • Hey Shapter !

    How did you get on with this project? I'm trying to do a similar thing. (pulling image's from a database and into a game)

  • I think it would be great to create a minimal vector based game like Pew Pew:

    <img src="http://www.androidtapp.com/wp-content/uploads/2011/02/PewPew-Megagore-Game-Mode.jpg" border="0" />

    The Vectrex could draw some crisp lines in the 80's :)

    <img src="http://www.racketboy.com/images/vectrex-1.jpg" border="0" />

  • :D thanks all!

  • RESOLVED SOLUTION:

    Here's how I and some others managed to figure out how to Re-snap a card to a slot (or deck) You can grab a card freely in the blank area and then snap it to the target. The capx below also contains menu animations, very much like the Angry birds win menus that slide in place once you complete a level :)

    Re-Snap Capx

    MORE INFO:

    For any advice on card game logic for touch screen devices check out this thread it has various solutions. :)

  • sainsy Thank you so much! I achieved what I wanted thanks to you! <img src="smileys/smiley32.gif" border="0" align="middle">

    Re-Snap Capx

    Instead of snapping permanently to the slot the cards can snap on and off. They can also be grabbed freely when they are in the white area.

    x

  • Hey gang!

    I'm using an instance variable to snap a card to It's slot. I can snap it once but when I drag it out and try to snap it again it won't snap back.

    Iv tried to reset the 'EmptySlot' value so the slot becomes empty when the card is out of the slot but it doesn't want to re-snap.

    This should be quite simple to do, am I missing something?

    capx

    :)

  • Hi chaps!

    I just thought I'll post the 2 prototype Card Games Iv been working on.

    New Features for both games Include:

    • Angry Bird styled win menus that slide in when you win.
    • Cards match to specific targets without arrays.

    Drag & Drop Card Game capx

    • Drag & drop the cards into the correct slots.

    Order & Match Card Game capx

    • Incorporates a sliding motion to order the cards in place.

    My Aim

    I was trying to achieve the right 'touch & feel' for a card game on a touch screen device. I wanted to make a simpler version of sainsy 's game without arrays.

    'Bugs'

    I couldn't figure out how to re-snap a card after the initial snap on the Drag & Drop game, it's a stupidly simple thing I can't yet resolve.

    Thanks All for the help! :)

  • sainsy Thanks that does help to a certain extent! I think Iv understood the 'bug'. Once you put a card into a slot and then take it back out, the slot still thinks it's full. So i have to add another action to say:

    'Once the Card is removed from the slot switch the slot back to Empty'

  • sainsy Oh yes, thanks. I reviewed it again. Im going to keep it simple. I'll go through Kittiewan's tutorial once more.

    , thanks that's almost what I was trying to achieve. Im going to stick to this logic. But there's Just one bug bear; sometimes the empty slot repels a card. It's an intermittent problem happening roughly 1 in 4 goes (I refresh game after a go), other times all cards snap in place.

    Iv also learnt how to make a menu slide in like an Angry Birds win screen if you need it, its in this Capx

  • Try Construct 3

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

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

    I'm really stuck on how to make an 'empty' slot.

    I basically want the player to put a Blue card in a slot. Once the card fills that slot to '1' no more cards can be placed there. If a second card is placed on top of that 'full' slot the card should automatically snap to an empty slot. How can I pick an empty slot instance? I tried comparing an instance variable to pick any slot below 1 (empty) but it glitches. :)

    Capx

  • Great stuff guys, thanks for pointing me in the right direction!

    Z Order Capx

  • Thanks sainsy ghost DUTOIT

    I worked it out! :D

    The cards now don't stick under each other when they overlap. I lerped the green card so it smoothly snaps back when you let go. Take a look, it might be of some use. It feels good

    Capx

    I was wondering whether anyone knows how to make a grid in a way you can overlap cards (as if they have been dealt out)

    <img src="https://dl.dropboxusercontent.com/u/20299415/capx-forum/Pictures/cards-overlapping.png" border="0">

    I don't want the cards to cover up each other if they are in the same slot. I tried overlapping the grid but the cards don't follow suit. (excuse the pun)

  • Hey Thanks sainsy &DUTOIT :)

    Iv tried out quit a few things.

    You can now snap to an object and snap out of it. (I couldn't before)

    BUT When I overlap a card with another they still stick underneath each other.

    Any suggestions to make them not stick but still allow them to overlap ?

    Capx