Mouse over Object size

0 favourites
  • 2 posts
From the Asset Store
220 Food Sprites in 16x16 pixel size. Perfect for items for a retro style game.
  • I am work(away.info)'ing for a month in England..

    AND i forgot my .Capx in Denmark -_-

    EDIT: I found the Error and fixed it, but then another question came up because of that.

    Old---------------------Old-----------------Old-------Old-----

    How it should do

    And here is the Capx of what the version does I have made so far:

    new

    The problem I want to fix is the Mouse. I can't remember how, but I did NOT do it the way I have done in the new Capx.

    The only Blue Tile I want visible is the one the mouse is over.. But in the new one, i had to use a distance to prevent it from making several visible if overlapping at an edge. This was not a problem in the Old Capx...

    Please help me locate the error :)

    ------Old--------Old-------Old------------Old------------Old----

    So now i simply tried to put:

    Mouse over Object (blue)

    And it worked!

    But how? Is it because the mouse.x and mouse.y are 1 "pixel" so it simply cant overlap two? And because I used the sprite instead it was overlapping more then 1 "pixel"

    Yeh that makes sense.. I shouldn't post this when I am answering myself lmao...

    Move to junk topics ?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Wait, I got a question that is related to this:

    Does it matter how I build up around the Every Tick?

    Can i get in trouble for using

    Every Tick - Set Invisible

    Without setting up parameters for when NOT to set invisible inside the every tick?

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)