wolfomat's Recent Forum Activity

  • hi there,

    i am using the bound to layout -> when i am dragging the object (it got an drag and drop behaviour) it wont go outside the left side and top, which is intended.

    But when i drag it to right side and bottom, the object will go out of the layout => and i am not sure how to solve this problem

    regarding to the manual the behaviour "bound to layout" it preserves the object to leave the layout. hm, any ideas?

  • thanks LittleStain and shirokuma - the drag and drop behaviours is exactly that what i was looking for!!!

    It works just as intended right now - perfect!

  • thanks for your reply shirokuma, it looks really smooth and nice as an alternative to what i am looking for.

    what i am looking for is, that i don't want the object to move to center of the touch so when i touch the object on the bottom left and i move my finger/mouse, then the object should be moved from this touching point and no translation to center on touch - you get the idea? (i still think my explainations are not that good, sorry^^)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Dear Fellows,

    currently i am working on a simple mechanism to move a sprite with touch.

    i just want to move the object it on the y-axe, its okay in that way.

    now i have a problem:

    When i moved the object and touch it at the top (instead of the center), the object jumps "up", the touch seems to be snap the item right into the center of the pivot.

    What i want to perform is a "smooth" touch => i touch the object at any point, and then i can move it "normally".

    instead of jumping, the touch movement should be done right where i touched the object, and not jumping into the center of the object.

    i attached a small drawing in order to explain what goes wrong.

    with the simple "Touch => Is Touching Object => Set position.Y to Touch.Y" or "to Touch.AbsoluteY" it jumps like that. any idea or a link to a tutorial?

    what i want to do, is that i touch it at anypoint and move it from the current touch position +/- Y.

    aaand sorry it's late night and i am from germany, my english isn't just the best i've written. but i am tired

  • Hey, thanks for you quick help on that Just checked it out right now. Cool.

  • I'm just curious about how to style a textbox in Construct 2:

    what i've read:

    Styling Textbox objects

    Textbox controls can be customised in a huge number of ways via CSS (Cascading Style Sheets). Rather than adding actions to set all of the possible properties, the Textbox object exposes a Set CSS style action. Knowing CSS will of course be an advantage here, but it is simple to use for simple properties. A few examples are listed below.

    Make the text red: Set "color" to "red"

    Make the background yellow: Set "background-color" to "yellow"

    Make the border a thick light grey: Set "border" to "3px solid #AAAAAA"

    Make the font bigger: Set "font-size" to "2em"

    Make a dashed red border: Set "border" to "2px dashed red"

    i know css, but i don't know where to set these options - i just need the hint "where" to do this :D

wolfomat's avatar

wolfomat

Member since 13 Feb, 2014

None one is following wolfomat yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies