N0M4D's Forum Posts

  • Like if you type "up" then they keyboard automatically presses the up arrow key. Thanks!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Well maybe I'm just dumber than you. :P And Kyatric, the capx file says you're running 140 and I'm running 139. Couldn't open it and I don't see a 140 download.

  • Sorry if it sounded like an excuse. It's really not. I've been putting 8 hours a day 6 months straight now into one of my projects, I went to the Art Institute studying 3d animation, I now run a company. Believe me, I'm serious.

    I'm taking a break from my main project because like you said, learning arrays is essential for more efficient code and organization.

    I just hate Arrays haha. Like, I can code a card game without it, but I truly need to learn it. I'm just asking a little help.

    Somewhere I read Arrays can be thought of in terms of a spread sheet.

    So if I used my deck example, with the Array height = 4 and width =13?

  • Kyatric

    I mean no disrespect, but I always search the forums first before posting a question. The problem is, I'm an artist not a programmer. I understand things like if statements, events, sub-events, inputs, and things of that nature.

    But for some reason my brain does not wrap around the array concepts. People who are good at math are normally not very good at art, people who are good at art, aren't very good at math. They both use different sides of the brain.

    So when it comes to math, I'd say I'm below average. I can do basic algebra and quadratic equations, but for some reason I'm still not understanding arrays. I'm trying to do something extremely simple that uses an array to help me grasp the concept.

    I went through that Match Game tutorial by MsKittie, but I would be lying if I said I completely understood what she was doing. I'd like to start by learning something easier. Like a deck of cards that contains only four cards and a player gets one random card out of the deck and that card is then removed from the deck.

    Here's my capx file: nomadicgamesonline.com/Games/cardgame.capx

  • I'm testing an idea of mine. I have a sprite with 5 frames and each frame is a different color. I have an event working that will randomly select a frame.

    My question is, once a certain frame is chose, how can I remove it so that if I hit random again, it can no longer be selected? Thanks!

  • Should the origin number be the same for both haves and all animation frames?

    Like torso X:75 Y:100 then set legs X:75 Y:100 too?

  • My Player character is 2 different sprites connected by the pin behavior. A torso and the legs. Everything works as it should, except when the character is mirrored. The legs seem to be 2 or 3 pixels off to the left from the torso. What could be causing this? Thanks!

  • Thank you thank you thank you! <img src="smileys/smiley32.gif" border="0" align="middle" />

    I didn't even know about sub-events haha. So that's how you do if statements! Boy that will make my life a lot easier. I was messing around with functions and all kinds of stuff. I do have one last question, though. I created a variable for the player whether or not it is mirrored. The reason I did that is because when I clicked on "Player > Is mirrored" I didn't see an option for "Player > Is not mirrored" but I've seen youtube videos where it shows the mirrored text X'd out. How would I do that for future reference? Thanks so much again.

  • Hey guys, I got the results I pretty much want, but I can't figure out how to mirror the physics. Right now my mirroring logic for my character is:

    If keypress = right arrow

    Player is not mirrored

    If keypress = left arrow

    Player is mirrored

    But I'm not sure how to apply the physics to be mirrored when the player takes damage from the right side. Here's my code:

    nomadicgamesonline.com/images/myphysics.PNG

    Thanks in advance!

  • Tried your file. Still not the arc I'm looking for. Try the settings I posted above. It works well. Set all physics to 0 on left panel, then give my event settings a try. I just can't figure out how to mirror it.

  • I'm now trying to figure out how to mirror this. Help would be appreciated.

  • That didn't seem to work. Here's what I did for the player. Seems to work ok. How could I speed it up?

    Well crap, because I'm new I can't post a link.

    nomadicgamesonline.com/images/myphysics.PNG

  • When I hurt a basic enemy, I'd like it to fly back at an arc. I tried applying physics but after hours of tweaking, never got the results I wanted. Whats the best method for doing this?

    (Castlevania type game)

  • I'm kind of a noob at programming, but couldn't you make this block a function or an array and then just use call?

  • Got it working thanks!