alanziy's Recent Forum Activity

  • There will be no collision issue at all, if the collision area at each tile will be limited to the same area of the front texture of tile (the brown texture in the example).

  • Hi,

    There is no doubt that tilemap plugin is a very useful plugin. But many of us wish to have it in 3D-like.

    I have an idea for the creator of the plugin. If he can modify the plugin, it will be amazing.

    If we add 2 more parameters to the plugin parameters, this will give us a powerful 3D-like Tilemap editor. Each tile has Width and height and these 2 parameters describe the tile dimensions. But if we add 2 more parameters that can specify the depth of the tile (x shift , y Shift) (Of course these shifts are not real 3D). When we insert the tiles beside each others the first tile will be inserted with a dimension of (width+x shift , Height+y shift) but the location of it will be (X , Y) in such a way that the next neighbor tile will cover the depth of the previous tile. Where X is a multiple of the tile width only and Y is a multiple of tile height only.

    I don't know if my description of the idea is clear or not but maybe the image will explain my idea and be more clear.

    Note that the corner of the single tile at top-left and bottom right should be transparent (alpha) colored.

    Note that the image contains only shifting horizontally.

    Thanks

  • Okay,

    so you are in the layout (tab),

    you open the Z order bar from the ribbon (or you have the z order bar pinned),

    you switch to te event sheet by clicking its tab ....

    Now the Z order bar is showing the objects.

    Wich is, i agree a bit confusing. Althaught i never used it that way, so it never botherd me.

    Now, when you try to change something in the Z order bar, the Z order bar goes empty. No object dissapears, the Z order bar just shows empty. Wich (mayby just maybe) should have happend (to avoid confusing) on the moment that you switched to the event sheet (by clicking its tab).

    It is really not needed to change Z orders while working in the event sheet. I never had the need to do that. Just like i never had the need to place tiles from the tile bar into the layout when working in a event sheet.

    My 2 cents.

    Yes. if you reorganize the objects in the Z-Order bar, objects will disappear if you in the same time working in the event sheet.

    Even if you can bypass this by selecting the layout bar not the event sheet, It is a bug as I guess.

    Anyways, I just want to report it but the subject is closed.

    Thanks

  • I found exactly when the objects disappear. They disappear when I choose any event sheet tap and at the same time I try to change any object in the Z-Order tap. But if I choose the layout tap and try to make a change in z-order tap everything is fine.

    Here is the link of the capx:

    https://www.dropbox.com/s/28utnvhvfkn19yu/z-Oreder-Test.capx?dl=0

  • Try Construct 3

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

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

    Z-Order tap in the interface does not refresh when you change the order of any object. It completely hide all the objects unless if I disable or enable "Show active layers only" every time I change a Z-Order of any object.

    Attach a Capx

    No capx needed. It is an interface of C2 problem.

    Steps to Reproduce Bug

    • Step 1 Go to z_order tap.
    • Step 2 Change or move any object to change it's order in the list of the objects.
    • Step 3 You will notice that all the objects will disappear.
    • Step 4 Select "Show active layers only" (whether it is enable or disable) just switch is to the opposite, and all objects will appear again.

    Observed Result

    All objects disappear.

    Expected Result

    All objects should appear.

    Operating System and Service Pack

    Windows 7

    Construct 2 Version ID

    C2 V231 Beta Version.

  • You could create an instance variable for the enemies called "state" for example. When is set to 1 you set the behavior group of the enemy to be active and when is set to 0 you set it inactive. So, when enemy "Is on screen" set enemy state to 1 else set it to 0.

    Thanks anty21ro . This is a good solution. I also thought of another solution that I make a dummy sprite for each enemy and this dummy has only one function. If the dummy in screen then it spawn the enemy once, otherwise the enemy is destroyed.

    When I post my question, I though that there might already be an event that suspend the sprite if it is out of screen.

    Anyways, Your solution is better than mine since it doesn't drain the resources of the CPU.

    Thank you all guys. I appreciate your help.

  • Are you using the "Is on screen" condition in your enemies events ?

    "Is On screen" condition is used if I want to destroy the enemies outside the screen but I don't want to destroy them I just don't want them to be active if they are outside the screen.

    Please, If you have any idea on how to use this condition in this situation.

    The situation is that I don't want to destroy the enemies outside the screen and at the same time I don't want them to be active. Maybe you say that C2 is intelligent to make inactive of outside screen sprites but what I see that those enemies (sprites) are interactive even if it is outside the screen.

    Thanks

  • I don't want the way of destroying them and then create them cause each one is positioned in a certain place and the map of the platform is big. So, it is hard to create them in exact position using events.

  • Hi,

    In a platform game. I made many types of enemies. Each enemy has its own behaviors and some of them has un-regular behaviors (I made them AI) so I can't make their behaviors inactive. how can I suspend all those enemies if they are out of the screen? I notice that some of them shoots the player even if it is out of the screen. Is there an event that can make the object inactive?

    Thanks in advance.

  • alanziy

    Just a heads up - it's been well over a year since Somebody visited, so it is probably unlikely you will get an answer.

    It may be more appropriate to make a 'Request' post in the main Effects section.

    Thanks. I thought when I mentioned the member in my post he maybe able to be notified by PM.

  • Dear Somebody, Thanks for your great effects you made. Can I ask you a favor ?

    Would you mind to make a new effect then can exchange the corners positions of image, layer and layout and changes it's contents too ?

    for example, if I have a image, layer or layout with these 4 corners positions (0,0) , (200,0) , (0,100) and (200,100) and I want to change them to new position like (50,50) , (100,60) , (40,70) and (300,80).

    It is similar to skew effect but it will effect all the 4 corners.

    Thanks in advance

alanziy's avatar

alanziy

Member since 7 Jul, 2015

None one is following alanziy yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies