TELLES0808's Recent Forum Activity

  • Yes, you're missing something inside your code. But discover it without a look is practically impossible.

  • OMG Yann thats a brilliant idea you got!

    You are right the towers dont shade each other correctly but i got a solution.

    Here

    Instead of getting all masks on top of the shadow layer i let them along with the shadows to arrange in the layer the same way as the main layer stuff.

    So now when the object is infront of another, the mask of the front object is over the shadow of the object in the back so it doesnt shades.

    That works as a charm. There is one major problem though.... That way i got all the objects in the game multiplied by 3, as object count and as sprites. Even more i got them all ordering by Y (not sure if this affects the performance).

    Btw is there a way to make the mask out of the object sprite in construct2, so i dont have to double the sprites in game?

    Anyways for my project i think i'll stick with the simpliest way. Have all sprites along with shadows and live with the overlapping glitch. Sadly but i think that technique will get too much for the performance.

    As I said, you can use and event system to sort the Z index, and throw your Z ordering plugin away. Using events you'll simple sort them, without any necessity of any other configuration than the placement of the "Imagepoint 0" on the bottom of the sprite.

    Double a sprite on the canvas is surely an issue, especially on mobile devices.

    Also, this sample have a nice workaround too, and sort Z as mentioned.

    construct.net/en/free-online-games

  • You can use this: "On any touch" and enable an entirely event sheet after this, and doing your sprites to appear on this code (setting them invisible doesn't mean they will be untouchable, so, only create then when any touch is detected is a better way to go..)

    There is somewhere an option called "touch screen is detected", or "on touch enable", I remember this option but was unable to find it.

    Good tutorial:

    construct.net/en

  • You can sort a Z order system using events, without any plugin, let me find the post and show you how.

    by the way, it\s very easy to achieve using events.

    construct.net/en

    construct.net/en

  • This is also suggested here: construct.net/en

    but BasicTribe, you need to wait a bit more, because something bug free need time.

    Look the Golden Lotus game, was designed using sines as courses, and the bullet behavior.

    So, believe you can make anything without much trouble, doing two objects to simulate a course, and setup behind the parabolic math when you want the object to follow start to bows (Y=aX^2+b)

  • I recommend you to learn more about the effects you want and then implement it via code, without the complete behavior.

    For example, if you want a repulsion effect, just go ahead with a clean object (without any behavior) and check if it's on collision, then, set it to "move to angle", where the angle is "angle(object.X, object.Y, object2.X, object2.Y) and the speed/force/movement desired is very variable, but you can setup like an impact force, or simple move 300 pixels, or, move something like "object2.speed/2".

  • Simple, make one object for each button...

  • it's already released, if you want a stable release, you need to wait til the next stable, or, use the beta release.

  • Try Construct 3

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

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

    Good point, it will be implemented on the next public Alpha release.

  • You can make a Z order system using events, without any plugin, let me find the post and show you how.

    by the way, it\s very easy to achieve using events.

    construct.net/en

    construct.net/en

    Also, you can setup your buildings to have more points, and check the points on the bottom, middle, etc, by using different families.

  • Yann

    How long, I missed your posts!

    Shadow overlapping each other is a common issue on the real world, he just need to send the character shadow up or down on the Z order like he did with the player to get a nice and real effect.

TELLES0808's avatar

TELLES0808

Member since 27 Oct, 2011

Twitter
TELLES0808 has 3 followers

Connect with TELLES0808

Trophy Case

  • 13-Year Club
  • Entrepreneur Sold something in the asset store
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • x2
    Popular Game One of your games has over 1,000 players
  • x12
    Coach One of your tutorials has over 1,000 readers
  • x3
    Educator One of your tutorials has over 10,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

22/44
How to earn trophies