hgr's Forum Posts

  • It is not managing the animation in construct 2 that I have a problem with. It is creating the animation.

    I have not found a good tool to animate a sprite around the x-asis, because that is a 3D animation. I use spriter to animate in the x and y directions, but around x (which is really z direction) like a tilting book.

    And since I am not a graphical designer, but a developer, I would like to find a solution that is just as easy as spriter.

  • I prefer to do it with prepared animation. This is the only animation my sprite is going to have. So I prefer to have prepared animation for this.

    And I thought it would be easy to find a graphics tool that could do this simple kind of animation. I do not need a 3d rendering, and realistic output.

  • Hi guys.

    I need to create an animation where a sprite tilts around its x axis.

    Imagine a book standing up words on your desk, and then touching the top of the book with your finger, so it tilts backwards and lays flat on the desk.

    The x axis is the surface of the desk.

    This sort of 3d backwords tilting, is what I would like to create for a sprite. I am a developer not a designer, so I was looking for a tool that could take a png and then tilt it and export the animations as png files. Thought that would be easy, but this 3d like animation, is not something I have found a good solution for.

    Does any of you know of a tool that can do this? tilt an image around the x axis?

  • Hi.

    How do you use tiled graphics for sprites, so you can stretch a sprite, and save memory?

    I wan't to reuse a tile but have sprite with various length, behaviours and instance variables.

  • Hi.

    I would love to see an easy option of moving events, groups around in your event sheet, with a keyboard kombination in stead of having to drag and drop with the mouse.

    One cool thing would be to hold shift + alt down and then be able to move the events in and out, up and down using the arrow keys.

    That would make reorganizing your eventsheets so much easier.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm running Construct 2 on my Macbook Air using Parallels Desktop and it works great!

    Hi basti

    I use parallels too to run Construct 2 on a macbook. It runs nice, but the preview in chrome on my virtual machine runs very slow, so the games are not easy to test.

    Is there something you can change to get the browser to execute the games faster in game preview?

  • What i am confused about, is that you can put instance variable on a dictionary, which is a container for objects.

    But ok, I understand that this is just an option.

  • Hi.

    I have created a dictionary but then I discovered instance variables can be used on dictionaries as well?

    Instance variables are cool on created sprite objects, but why use a key in a dictionary, instead of just creating an instance variable on the dictionary?

    If you use a key on your index, you have to remember the key string, but if you use instance variables, you have "code completion" when you create your events.

    So which is best? instance variables or keys on dictionaries?

  • But I can suggest you a one answer to change the opacity of mouse cursor!.(even you can use a animation for cursor with this solution)

    Try this :

    On the start of layout -> set cursor style to "none"

    in System every tick -> set position of sprite ( that you need to use as cursor sprite ) to Mouse.X and Mouse.Y

    When you need to change the opacity, just call set opacity on that sprite

    Hi tharindutpd

    What you are doing is basically moving the sprite to the cursor position. I understand that, but when I read the manual, it is not recommended to do that (performance wise). Is the manual wrong?

  • ......

    Hi Korbaach.

    I have downloaded your project but is is the latest beta update. I will have a look as soon as a new stable layout is released, since I always stick with stable releases in all my software.

    I am new to construct 2, though so maybe that is a mistake

  • Well I guess the answer is: YOU CAN'T

    I have made more tests, and it looks as the only thing you can do, is to change the graphics, by changing the cursor to a different sprite, or switch to the build in standards.

    What I still do no know is if you are able to animate the sprite, or if you are stuck with a static image.

  • Hi.

    I thought I had it figured it out by adding a sprite to the mouse cursor. But I need to change the opacity of the graphics, but even though I change the opacity of the sprite used as the mouse cursor, nothing happens.

    Is the mouse cursor special, so you can't apply changes to the sprite used for the mouse cursor?

    I found this in the manual, so it sounds kind of special.

    "Set cursor from sprite

    Set the cursor image from a Sprite object. This is preferable to setting a sprite to the mouse co-ordinates, because the input lag is significantly lower. Various limitations apply: the sprite image is used as it appears in the image editor, not taking in to account size or rotation in the layout; the image cannot be too large (64x64 is usually the limit); and support varies depending on browser and OS."

  • Ok thanks I figured it out.

    Boy I wish I could just write some simple code.

  • Hi.

    I am completely new to construct 2, and I am a "classic" developer that usually writes code, so I have a hard time trying to understand construct 2.

    I need to set the opacity of the mouse cursor, dependent on some condition in the game.

    So I decided to create a function that would change the mousecursor sprite, but adjust the opacity of the sprite before doing so.

    This function needs to take a parameter telling it if it should increase or decrease the opacity.

    But how do you create a function that takes a parameter, and how do you access the parameters within the function?

    The manual mentions that a function can take a parameter, but does not give an example of how you actually create such a function.

    The old dude is a little confused