Alon's Recent Forum Activity

  • Hello all,

    I'm not sure if this is the right section.

    As a beginner of C2, I'm still learning it and getting help via the amazing community. Sometimes I need to show a screenshot of the event sheet or the layout (without the interface), so what I do is: Print screen and crop it, then uploading the file.

    Friendly UI feature for the next version:

    My suggestion is to add a "capture" button that will capture ONLY the inside of the Layout or Event sheet, and save as .PNG / .JPG

    It could be just an extra button (maybe right click on the Layout /Event sheet and capture will pop-up this 'capture' option) but it will be SUPER friendly and usable for the forums and for C2 developers in general because not all the time we want to send a .capx but just showing something, right?

    This will make life much easier with one click for something most of us use anyway.

    I have so many ideas for making C2 even more friendly but I don't want to flood you with my boring stuff...

    Keep on being so awesome you guys!

    Sorry about my bad English.

  • Unfortunately, I have no idea how to work with UID yet, so it was hard for me to follow your instructions.

    So, I took a look on the manual but it didn't help me to understand exactly what I'm doing.

    I did create an instance variable called: 'Selection' by clicking on the Sprite2 (the animated selection sprite) on the layout. but from that point you'll see what a mess I did because I need to understand it better, the manual didn't help me much because I better see see this in action to understand the logic behind it of store and restore variables and such.

    Lets say I don't have Sprite2 at all, (I just made it for fun anyway), is it still possible to do? or it will be easier with this extra sprite?

    Can please you try to instruct me more specific, step-by-step. I hope that I'll get more confidence in C2 by the day, I'm already messing with it a few days now and discover and learning new things every day!

    Here is a screenshot of what I did (marked the lines).

  • BTW - Do you think there is a way to make the rotate part (with the wheel) if there are few shapes over each other, so it will ONLY rotate the one that is clicked last?

    Not sure how to explain it because of my bad English but I wonder about it, right now it's rotating all the shapes under the mouse.

  • Thanks! it works like a charm!

    I have the very basic understanding of: " If this happened, than do that.. " that's how I've managed to make the very basic thing real fast.

    But when it comes to the variables and expressions... I still have so much more to learn and practice, I'm far away from having a brain of a programmer but this specific experience (thanks to your help of course) was a great way to start understand how it works. I appreciate it a lot.

  • Trying to follow your instructions but I'm not sure what I'm doing wrong...

    I hope that I'm on the right direction.

  • First of all, Thank you for helping, I appreciate it!

    It's cloning the frame + position, GREAT!

    The only thing I try to understand is how to make also the angle... I'm trying to mess with it but still kind of lost.

    I've edited the 'Create object" line you made, and did this:

    Sprite.X +Sprite.Angle

    Sprite.Y +Sprite.Angle

    But it's not working... well I'm still new to this all thing.

  • Thanks blackhornet, I didn't know it's possible.

    Here is the file, I tried to keep it clean... please notice, the frame-change (Left Right arrows) works only on the very first shape you create for some reason...

    Here is the file:

    dl.dropboxusercontent.com/u/29224993/Construct2%20Examples/How_to_Clone---001a.capx

    Hope you or anybody else can help me solve this Clone / Duplicate issue.

  • Hey guys,

    I looked at the "Taking screenshots.capx" example file which is great.

    And I'm curious about 2 things:

    1 - Is there an option or a plugin/behavior that will allow capture a region and export as .png file BUT... with alpha channel.

    2 - When taking screenshot on the example, it captures everything on the canvas.

    Is it possible to take a screenshot of a specific layer only?

    If any of the above are possible... A tutorial or a .capx file will be appreciated.

    Sorry about my bad English.

    Thanks ahead.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I Agree, but unfortunately I can't post links at all since I'm still a noob at the forums.

    I also had the same problem with other threads...

  • I'm still trying to mess around with the all thing but I got lost, I guess it's too complicated for me because I'm still a beginner...

    An example .capx file will be appreciate if anyone interested to help.

    Thanks ahead!

  • Thanks for the fast reply blackhornet,

    The thing is that I start the layout clean. I have a button that create the sprites.

    Each sprite created on the layout start with a random frame.

    Do I need to make this 'store action' on every time I create a new sprite?

    Will this eat the memory/performances if I'll create lots of sprites on the screen?

  • Hey Guys!

    I have a sprite that have a few frames (animation).

    The animation is on speed 0, and I can change the frames with the Right/Left arrows.

    What I'm trying to do is:

    When I'll click on this sprite with the middle click button, it will create a new sprite with the same position, angle, size, and.... the main problem: with the exact same frame that the sprite was BEFORE I click over.

    Basically, I want to make some kind of "clone" or "duplicate" of the exact same status of the latest sprite.

    Any help will be appreciated, Thanks ahead!

    * Sorry about my bad English

Alon's avatar

Alon

Member since 20 Feb, 2014

None one is following Alon yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies