j0hnbane's Forum Posts

  • Thank you for the response CJK with screenshots and a link. I just got home from work and will be attempting this now.

  • Good Morning,

    First off, hello Scirra community! With my learning of Construct 2, I've made heavy use of Google with Construct 2 in the field and also the forums. It has helped me immensely in deciphering the logic needed to create. I've done, what I feel, a thorough search of the forums/tutorials and haven't been able to find a straight enough answer for the basics of these two problems I'm having.

    First:

    I'm trying to add all values in the (x,1) area of the array.. All values in the x width of the y=1 heighth. I want to get the sum of them to set the value of a specific variable.

    I've seen examples some where multiple actions were done containing this, but I'm unfamiliar with it and couldn't break it out.

    _________

    Second:

    Another thing I'm trying to accomplish is a command that pulls a random number. The next time the random is run, it excludes any and all numbers previously ran by it.

    Let's say I have this:

    On Left Click on Object - set Array.At(CurrentAnimation.AnimationFrame, random(0,53))

    Let's say that the random(0,53) gave us an number of 42.

    Then, the next time any of that object type/family is clicked, How do I make the random(0,53) make an exception of '43' and any other numbers if it were clicked again?

    _________

    Please let me know if this vague and I need to do a better job at explaining.

  • I would be interested in seeing this example if you could.

  • This is a link from the "How Do I" thread. There is no capx available anymore.. =(

  • I hope this is going well for you. Your inventory tutorial led me here.

  • Its funny when you wait so long to post something. Then within the time you wait for some feedback, you generally answer your question. I did these modifications and got the movements I was looking for. Only I haven't cleaned up the "Kitty Corner" movements when two keys are pressed (e.g. Left Arrow + Up Arrow).

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello everyone.

    I am new to Construct. I've been familiarizing myself with it for the past week and a half. There is an awesome community here and an excellent amount of information that comes from it. I'm working on an overhead style adventure rpg. I'm using zelda pixels right now to attempt to learn the event editors (something familiar helps me start).

    So, here is my cab file:

    http://www.box.net/files#/files/0/f/0/1/f_687788496

    Nothing more has been started but the movement test. I've been fiddling with this for about 4 days now (yeah, I'm a noob.. we all are at one time). I'm still wrestling to get the results I want.

    I'm trying to make it so when I press a direction it changes from a standing animation to a moving one. When I release, it returns to the original one. I've tried several different ways, so any suggestions would be appreciated.

    I know this is really basic stuff, but this would help me get along my way tremendously.