ItsAstro's Recent Forum Activity

  • Tidied up the general pathing logic : https://www.dropbox.com/s/jfmjzjzj2jq7c ... .capx?dl=0

    Thanks you! <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

    Looks better than before <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile"> and thanks for cleanin up a bit <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink">

  • Im workin on some little rpg game, and i added some skeletons as cannonfood.

    the thing is, getting a nice logic done for em is pretty hard. I combined pathfinding with line of sight, but the result isnt as professional as i hoped to be. So if you have the time, take a look at my messy project, and myb youll find the flaw <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    Capx:

    https://www.dropbox.com/s/boitlce1o5g18 ... .capx?dl=0

    peace. <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

  • Cheers!

    Seems like you can't post links yet...

    You can change the url to something like "www [dot] dropbox [dot] com/etcetc" and then it'll work.

    Strange, i knw that, and i changed the reply like 3 times.

    I hope this will work now. And thanks for your help! <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy" />

    http//www (dot) dropbox.com/s/50aeq17wmq1aoao/Dungeon%20dweller (dot) capx?dl=0

    Cheers! <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile" />

  • Try Construct 3

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

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

    > > darn, i dont have the newest version of Construct... :/

    > >

    >

    > The newest stable release is HERE: scirra.com/construct2/releases/r244

    >

    > There should be no reason for you not to upgrade to this version.

    >

    It's usually best to stay on one version of a program till you finish a project, even if the update is a stable release.

    > can you please describe howd you solve this problem?

    > That would be neat! <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy" />

    >

    Yup, here you go:

    So you'll need 3 objects (1 "Item" sprite, 1 "Slot" sprite and 1 "Inventory_Array" array)

    The "Item" sprite will have "Item_ID", "LastX" and "LastY" instance variables and the "Drag and Drop" behaviour:

    You'll need to add an animation frame for each object you want to store in the array:

    The "Slot" will only have the "Slot_Nr" instance variable:

    This is how the layout looks:

    An finally, this is the code (with comments):

    Link: dropbox.com/s/vihkr5qsl3iq3r8/Code.png (Too big for a photo =D)

    Let me know if you didn't understand something.

    Thanks for the Reply! <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy" />

    Well, i figured some invent system out, but your sounds better. <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy" />

    Heres the project, take a look, show me how youd do your stuff <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink" />

    Anybody is invited to drop some knowledge. :3

    dropbox.com/s/50aeq17wmq1ao ... .capx?dl=0

    Cheers!

  • really funny.

  • Hey Guys, Im currently workin on a game im passionate, and im really seaching for some 8bit sprite artisis. Its still small, but i have big ideas. <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink" />

    hatchfoxstudios.com

    Heres Some webpage you can check out, if youre interrested. <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink" />

    Cheers!

  • can you please describe howd you solve this problem?

    That would be neat!

  • darn, i dont have the newest version of Construct... :/

  • Well, Im working on some kind of inventory system, i got my slots, 1 to 8. Each slot holds place for 1 item ofc. And i ofc named them slot0, slot1, slot2...

    And i build an array, which keeps track of the stored items. somethin like this:

    If slot 0 overlaps with family.ItemIcons, set array x0y0 = 1

    If slot 1 overlaps with family.ItemIcons, set array x1y1 = 1

    If slot 2 overlaps with family.ItemIcons

    ----if slot x1y1 =1. set array x2y2 = 1

    every tick - set "slot"...

    and heres my trouble.

    I want him to detect which slot is filled, and then put the number of the x or y from the array as the slot number how i named them. Is there an expression on that? something like:

    set position to: "slot.global variable: itemcount"

    Thanks!

ItsAstro's avatar

ItsAstro

Member since 24 Oct, 2016

None one is following ItsAstro yet!

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies