zenox98's Forum Posts

    I have asked thsi question before but i spammed in that topic so i don't want it to count anymore. I want to delete but i don't know how you delete your own topics. So if you want you can make a answer in this topic. I will wait as long as it takes and i won't spam.

    There is need for this. This is classed as spamming as you are creating multiple topics of the same question..

    What you did in the other threads is just overly bump, which is understandable sometimes.

    Please continue to use the original thread.

    I spammed in the last version of this topic and i would like to delete that topic but i don't know how to do it. But i still feel bad for that topic so now i make a new version and i won't spam and i will wait for an answer no matter how long it will take. I want an enemy to move to the left when it is a certain distance from the rigth side of the player. Then it is going to pass the player, keep moving left. When it is a certain distance away from the left side of the player it is going to switch to moving rigth. Then it is going to pass the player and repeat the process so it basically follows the player. I tried making this work by doing this.

    Enemy-Event-Is whitin angle

    Whitin: 180

    Angle: 0

    Enemy-Sub event-Compare X

    Player.X-1500

    Enemy-Action-Set value

    Action

    "left"

    Enemy-Event-Compare instance variable

    Action

    Equals to

    "left"

    Enemy-Action

    Simulate control pressing left

    Enemy-Event-Is whitin angle

    Whitin: 180

    Angle: 180

    Enemy-Sub event-Compare X

    Player.X--1500

    Enemy-Action

    Set value

    Action

    "rigth"

    Enemy-Event-Compare instance variable

    Action

    Equals to

    "rigth"

    Enemy-Action

    Simulate control pressing rigth

    Whit this it should work. But it doesn't. So what do i need to

    change to make it work?

    There is really no need for yet another thread. The other thread is not only still active, but has a response to your question from R0J0hound HERE.

    What is wrong with R0J0's answer?

    Please continue with the original thread.

  • linkman2004

    Where should I change the angle ? i do not see that option in the behaviour options.

    Thank you for helping me.

    Here is your fixed .capx.

    https://dl.dropboxusercontent.com/u/34306693/ZombieApocalipse-Fixed.capx

    You will need the latest stable release rather than r204.2 that you are currently using (which is very old from April 2015). Download it from HERE.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • matheusben

    Why have you ignored my post?

    Your second post also doesn't follow the guidelines.

  • Post your.capx.

    If it displays OK for us, then it is likely to be a GPU driver issue.

    Also, do you have two GPU's in the laptop? If so, try disabling the internal (usually Intel) GPU.

  • matheusben

    Hello guys, im trying to create a game and all connect with php -> Mysql;

    example:

    I have a PHP that catch information about character in mysql

    and i have another php that catch information of Monters in mysql.

    and when i did this, the construct just load one php per time, and dont reload another.

    what i need to do? Create a loading layout?

    Thanks

    Your post follows none of the Bug Reporting Requirements and as such, will be closed automatically by Ashley.

    If this is just a query, then this is entirely the wrong section as this is for bugs in the actual C2 program, and you should then post your query in the 'How Do I' section.

    If you really do think you have found a bug, then please ensure to follow the reporting requirements fully.

  • AustinJM

    Not a bug - no Event Sheet attached to Layout.

    Maybe it would be best if from now on you firstly post in the 'How Do I' section.

  • This feature is also mentioned in the Manual:

    [quote:24dg12h2]If you are dealing with small tiles, you can also right-click on the tilemap and select a zoom level from the menu.

  • I am going to keep replying until i get an answer.

    ... and if you keep bumping your own thread after only a few hours then you will get a temporary ban.

    Please be patient. It is generally accepted that you can bump your own thread after 24 hours if no response is forthcoming.

    Many of the users who are able to offer help come from many different time zones.

  • * moved. This section is more appropriate for a discussion on how C2 multiplayer works.

  • Gigatron

    That looks great

    I can imagine many would enjoy this, but take your time and don't work too hard!

  • is NO MORE LANDSCAPE FUNCTION????

    You're bug report is invalid as it doesn't follow the Bug Reporting Requirements - it contains a non-standard plugin by RexRainbow.

    If you want this to be investigated, please remove all non-standard plugins, or the report will be closed automatically by Ashley.

  • If Player.Y = 768

    Object is on Layer 2

    --> Move Object to Layer 4

    If Player.Y = 768

    Object is on Layer 4

    --> Move Object to Layer 2

    I am f***ing infuriated right now, after 2 hours trying to figure this out. I would seriously appreciate if somebody could help me.

    Why have you pointlessly created another thread of the exact same query when you already have an active thread? This is extremely frowned upon.

    From what I can see, the response from 7soul is valid. You must have done something wrong.

    Rather than rant, the quickest way to get an effective response is to post your .capx so we can see exactly what you have done.

  • I am looking for a way to do a condition and an action on an object with the same UID.

    i am making falling objects with many platforms, the object are setting to the Y platform when they fall on it, but they always pick a random platform and never stop to the good platform,

    so is there possible to do that the falling object choose the same UID object to stop (the touched one ) ????

    This thread is well over 3 years old.

    It is preferable to create a new thread rather than bump such an old dead thread.

    You are not contributing to the OP but asking your own question, therefore you should create your own thread.

  • fred37000

    Hello construct team or user of construct,

    I make a professional game. I start my project with construct 2 r212-2. I use request ajax and php scripts and sql database.

    When i builded html5 page and tested my games on facebook with construct 2 r221, my scripts for read my database works fine but write in my database, my script update sql database but return nothing. But, if i use r212-2, all request works fine and write script return "echo" in ajax.

    Why? My script or ajax plug is different update between two versions of construct?

    Sorry it's impossible to attach capx or scripts.

    Thanks.

    This follows none of the Bug Reporting Requirements and as such, will be closed automatically by Ashley.

    You MUST follow the requirements if you want your issue to be investigated.