dmurphy's Forum Posts

  • Search engines are not going to follow your links in a website created in construct 2 so your SEO will be terrible.

  • you have to open your csproj file with a text editor such as notepad++ and change

    <saved-with-version>17000</saved-with-version>

    to

    <saved-with-version>16800</saved-with-version>

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • [quso far it seems you cannot reference variables on the fly of child objects like you are trying to do when you are looking for the drop probability variable. > OBJECTION! Before, I had both the Drop( yes or no) and DropRandom variable, and it worked perfectly! > Maybe I am wrong then, it's just from my tinkering what I have found. I was not able to reference object variables inside a family by doing what you are doing.
  • Wait, but the code doesn't reference any family objects, only the family variables..

    Exactly, you are grabbing the variables not from the object you want but the arbitrary family object which will have different values to that of the objects variables you want.

    Like I said though I am still getting to grips with families but from my experience and testing so far it seems you cannot reference variables on the fly of child objects like you are trying to do when you are looking for the drop probability variable.

    The best I have found so far is to make an array such as the following:

    And for every monster assign it an NPC ID and look up the values you want in the array.

  • > Hey,

    >

    > I have yet to fully learn how families work but as I understand it a family group is considered a separate object to the objects that are children of it.

    >

    > What this means is when you have your actions call the families group it does not get your instanced variable for the object that is a child of it but the family object itself.

    >

    > I have not found a way so far to reference dynamically the child objects of a family. And believe me I have been trying as it would save me about 200 events in my event sheets.

    >

    Yes, but families also have instance variables which are given to the objects inside that family. You do that by pressing right click on the family and selecting the "add instance variable". In this case, hp is a variable of the family.

    Yes I know this but you still can not reference dynamically the object inside the family by using the family object as the event object. By doing this you are checking against the instance variables of the family object and not the object you want. I have not found a way as of yet to actually reference the object inside the family without making convoluted if - else if events for each and every object.

  • You can not do what you are asking. I replied to one of the many other posts you have made on the forum on the subject so how about you let it lie with this thread?

    The reason you cannot do this is because it would be an incredible security flaw in the chromium software that node-webkit uses.

    Edit:

    You can include and run a bat file by using the node-webkit object though. scirra.com/manual/162/node-webkit

  • Hey,

    I have yet to fully learn how families work but as I understand it a family group is considered a separate object to the objects that are children of it.

    What this means is when you have your actions call the families group it does not get your instanced variable for the object that is a child of it but the family object itself.

    I have not found a way so far to reference dynamically the child objects of a family. And believe me I have been trying as it would save me about 200 events in my event sheets.

  • It's possible. I scrapped my code and started from scratch keeping already made assets for this competition. I had only started the original build a few days before any way. It was my first attempt at a construct 2 game so was messy in a lot of places so restarting is not the worst thing to happen for the game.

    I hope to have a polished game in 3 weeks and the last week will be for testing and adding in extra systems.

    It will be tough though!

  • it is possible to make a plugin who can launch the "cmd.exe" and run commands from the construct 2 app?

    That is not possible.

    Web developers having access to external program on a users computer except for those with a registered URL protocol handler is not possible.

    Could you imagine visiting the wrong website with a command to run a batch script that would delete your files? It would be crazy.

    For all intensive purposes your browser is sandboxed and anything outside of the sandbox is off limits.

  • Yes there is,

    You set the position of the object you want to move the the x and y coordinates of the image point.

    This is how you do it

    Capx attached for reference

  • It would be a lot better if you upload the capx so we can debug the problem for you.

  • Upload the capx so we can have a look

  • Your project file. Save it as a capx and upload it here.

    This is how I am doing it in my game.

    I add a text object to the canvas and then evertick run this action

  • Hey lolpaca you sent me a PM regarding art but I cannot PM you back as I do not have the required rep to do so yet. If you want to PM me another way to contact you like email or a skype address I can contact you that way.

  • Hey there,

    Thought I would introduce myself here. I am from Ireland and am a electronic engineering student with a big emphasis on low level coding such as machine code and c++.

    However before that I was practicing much higher level code such as c# and have been programing probably for about a decade now.

    I have made games before but never in html5 and JS so thought I would give construct a go. I am finding it very easy to use and will be looking into extending it via the SDK for my needs as drag and drop can only get you so far