nimos100's Recent Forum Activity

  • Not sure if this is your problem. But when you use Random(3) it will select a random number from 0 to 2 and not from 1 to 3.

    If your range of weapons are from 1 to 3, you can try using this:

    int(Random(1,3)) or int(Random(3)+1)

    Both will select a random number from 1 to 3 as a non float value and round to nearest integer.

  • Make sure that the collision mesh of the sprite is correct. To do that open it in the editor and press the last button on the left. And adjust it so it match the ramp.

  • You will have to make a set of animations for each action you want the character to be able to take. What you can do is to mirror the animation so you use the same animation both when the character face right or left.

    But the better you want the animations to look, the more effort you have to put into making each of them, I don't really think there are a lot of "shortcuts" to this, if you want to maintain the quality.

  • Hmmm cant you just force fullscreen in browser?

  • Iphones Ipads etc use other resolutions. You can find them on the internet...as I cant remember them :D

  • Not sure if it works, but you could try something:

    If mouse.x < 50 set mouse.x to 50

    If mouse.x > windowswidth - 50 set mouse.x = windowswidth - 50

    But no clue if that works :)

  • You can use "On collision with another object" or "Is overlapping another object" and then add another condition to be sure that it only triggers if the player is actually punching or kicking at the same time.

  • Sound like there are a never ending loop, causing the game to freeze.

    There are several ways to check for collision.

    "On collision with another object" and "Is overlapping another object"

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I think your conditions might be wrong.

    When the "animatehitbox" collide with "playerhitbox" it start the attack animation. which seems fine.

    However your Idle animation is started if "animatehitbox" at anytime is not moving and are on the floor. I don't know what you game is about. But would assume that "animatehitbox" spends most if not all time on the floor?

    So if it at any point stand still it will trigger the idle animation, so could be that as it collide with "playerhitbox" it stops to do an attack and therefore triggers the idle animation.

    To solve it, you could add a boolean variable to "animatehitbox" called "In_combat" or something. And in the collide "on hit event" set it to true.

    And in the "idle trigger event" you add another condition that it will only be true, if "In_combat = false"

    Also think it could be a good idea to use "continue from frame" or what its called for your idle animation, other wise you might get jumpy animations as you can be sure which frame an idle animation is currently at as it get interrupted. That way you wont need two events, but can do it with just one.

  • UPDATE:

    Solved it by resetting the Dialogs in Preferences. Probably because of the F4 used to hide/show them, and it being the same button for Running the program.

    Link to .capx file (required!):

    dropbox.com/s/ftc8rnzmlultqm3/Test.capx

    Steps to reproduce:

    1. When you want to assign value of "int Test" from one sprite to the other sprites "int Test" value. Or whenever you have to assign a value.

    Observed result:

    Not sure if its a bug or i have accidently turned something off, and not really sure that the capx I have linked will help.

    But when I want to assign a value to something or want to test a variable, you normally have a window, where you can browse other objects so you don't have to remember the name of everything, but you can select it in that window.

    For some reason that window doesn't show. So I have to remember the name of all variables I have created and those that comes with construct 2.

    For instant I normally use Static names for string variable that I store as Global static variables and normally If I want to test these for whatever reason or assign that name to something, I can normally just select it in a list. But that doesn't show. I get the dropdown list when I type something.

    Expected result:

    That I would be able to browse to the correct variable that Im looking for.

    Browsers affected:

    Chrome: yes/no

    Firefox: yes/no

    Internet Explorer: yes/no

    Operating system & service pack:

    Windows 7 service pack 1

    Construct 2 version:

    r146 and r148 beta

  • I took a look at it, and its really weird, but I have experienced similar problems with my game. Where the touch suddenly loose connection to the mouse or what to call it, and it just stop responding to anything or does really weird things.

    Unfortunately I haven't used touch that much, but it could look like there might be a bug with the car behaviour and touch when used together. I had to drop the car behaviour in my game, but that wouldn't work for you, that easy as in mine.

    But I think you could make it by setting the X, angle and Y position of the tank it self, but it could be quite complicated compared to the car behaviour.

    Also it seems that the tank hits an invisible wall and after that it just looses all control. However why it react to something that aint there is really weird. If you don't get any other feedback I would post it in the bug forum, because it looks really weird.

    I even tried to pretty much disable everything that could be disabled and still it locks up.

    Anyway that my best suggestion unfortunately.

  • austin

    <img src="https://dl.dropboxusercontent.com/u/109921357/Tests/Test.png" border="0" />

    When a new game is started "Game_lost = 0" and when the game is lost its changed to 1.

    Don't know if this helps, but this is the error it give.

    <img src="https://dl.dropboxusercontent.com/u/109921357/Tests/Test_2.png" border="0" />

    When you close the error message a black box where the ads container is shows up, but the game wont load.

nimos100's avatar

nimos100

Member since 23 Sep, 2012

None one is following nimos100 yet!

Trophy Case

  • 12-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

16/44
How to earn trophies