DesignerSpecial's Recent Forum Activity

  • Thank you very much (again)!

  • Thank you very much for the quick replies, it's appreciated.

    I just realized I might have another small problem and I'm unfortunately away from my machine with Construct temporarily. I'm assuming that I would have the sequence be: when enemy moves within x pixels of player, random number is rolled, compare random number to enemy private variable, if random number is (for example) 1, do kick, 2 do punch, etc. However, I want enemies to do one attack slightly more often than others, like: if random number is 1, kick, 2 or 3, punch, 4, 5, or 6, shoot. Could you tell me how I can set specific ranges for variables as in this example?

    Thanks again.

  • Hi. Could someone point me to where I could learn about generating random numbers? What I'm basically trying to do is have it so that when an enemy moves in range, it attacks in one of four ways. I figured one way of doing it would be to generate a random number that would trigger a variable and thus determine the attack (like if the number is 1-20 it shoots, 20-40, it punches, etc).

    Of course, if you have a better way, I'm all ears. Thanks in advance for any help.

  • Thank you very much too, I'm sure I'll learn quite a bit from your example. Great thanks for sharing.

  • Ah, I didn't pay enough attention to notice that the file was only the .exe. Anyway, that's a great demo! Very smooth animation and motion, and the combo system is definitely something I'd like to know more about. Fine work so far!

  • Thank you for that file, I'm sure it will be very helpful to look through. My idea for a game is more of a fighter 'on rails', so most of my issues will be with combos and very basic enemy AI (blocking attacks, attacking back, etc). Thanks again.

  • I'm very interested in seeing any submissions to this challenge, as I would like to make a fighter of sorts myself (more Double Dragon than Street Fighter) but have not yet found any examples to examine and learn from. Like you said, people say that any sort of 2D game can be created with Construct, but some types seem to be a bit out of reach until you see how someone else did it.

    Thanks.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Voted before I even registered here. Construct can already do some things that programs I've paid for and others that have been around for years still can't do. Best of luck to the team!

  • The only other code is an Always command to keep the Pink sprites aligned with the Pinkbox (that's shown in an earlier code example) and the Kick section, which is identical to the Punch one except for using kicking animations.

    I will try to post the .CAP file later today so you can see exactly what's happening if that's OK. It might have more to do with the animation speed and a slight acceleration/deceleration in movement than the actual code, and the only way to tell would be to see it in action. Thank you very much for trying to recreate it, your help is appreciated.

  • Guh, this is getting frustrating. Arima's idea of control states worked perfectly until I added walking animations. Now I have all of the same problems as before; attacks playing one frame, being interrupted by walking animations, the character moonwalking, etc.

    Could someone look over this code and let me know if there are any obvious problems?

    <img src="http://webpages.charter.net/designerspecial/code3.jpg">

    I'm sorry to keep asking about this, but I really want to get this issue solved before moving on to anything else. I'm assuming that I'm just missing something, but the last time I had a fairly similar problem with a game creation program and asked in the forums, it turned out to be a bug after all. Might as well be sure it's just me. Thanks in advance.

  • Makes sense Deadeye, thank you.

    Arima, that sounds like a good idea, I will try it as soon as I learn how to use text variables. I haven't found how to call them yet, but I will look at more tutorials and see if I can figure it out. Thanks for your help so far.

    edit: duh, I forgot to put quotes around the text variable. Hopefully that will work. Thanks again.

  • Thank you, that is a very good idea and it immediately fixed the problem I was having until I tried adding left and right walking animations. Could you tell me what might be wrong with this updated code?

    <img src="http://webpages.charter.net/designerspecial/code2.jpg">

    If the untoggled commands are turned on, the player freezes when the attack command is entered. Do I just not have them in the right locations? Also, I would think I'd have to turn the 'standing' variable to 0 while the 'punching' variable is at 1, and vice versa - is that correct, and where would I put those commands?

    Thanks again for your patience and help so far.

DesignerSpecial's avatar

DesignerSpecial

Member since 23 Jun, 2009

None one is following DesignerSpecial yet!

Trophy Case

  • 15-Year Club

Progress

15/44
How to earn trophies