linkman2004's Recent Forum Activity

  • That depends on how your movement is setup. Would you mind posting a CAP?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • While we're on the topic of exporters, I think an SDL runtime would be pretty kick-ass for Construct 2. That would allow you to export the game to run on a crap ton of mobile devices, including the iPhone, Android, PSP, DS, etc.

  • I'll have time to work on this come Tuesday, but it would be helpful if you could pull together a list of actions that you'd like to see before then. It would also be helpful if you could be as descriptive as possible about each one that way I don't make the plugin in a way that seems fine to me but odd to others.

  • > but the GridScrolling example doesn't seem to do anything.

    >

    I thought the same, and nothing grid-like happens until you jump down the hole at the far right.

    This man has the right of it. Don't scare me like that.

  • Okay, everything seems to be working now. If you downloaded 0.91b, I highly recommend downloading this update immediately.

    Advanced Camera Plugin - v0.92b

    Download Now(with example) - 152KB

    Additions/Fixes/Changes:

    [FIX] - The plugin would crash in some instances, such as, for instance, trying to run the included "ACExamples.cap".

    [FIX] - Scrolling would be completely broken in some instances.

    [CHANGE] - The margins for object following have been changed from a position relative to the center of the screen to the amount of pixels from the center of the screen towards the specific border. This means that negative values are no longer necessary for the top and left margins.

    Hopefully there aren't any major problems that I missed, but everything should be fine now.

  • The ACDemo example doesn't seem to move the camera at all, and the ACExamples file crashes Construct when I try to run it.

    Running 99.82 here.

    You also seem to have left a lot of backup example files in the Zip.

    Krush.

    Blah, this isn't my day. The ACDemo and backup files were put in there by accident, so pay them no heed. Doesn't change the fact that my plugin is once again a broken piece of crap though. I'm taking the download links down until I've sorted out the issue.

    I can't get it to work. I'm using version 0.99.82.

    I have this:

    Start of Layout

    > Create Camera with 100 for each margin

    > Camera follow Player (no offset)

    It does an offset to the left and above of the player (by 100 pixels each direction) and seems to use unbounded scrolling even though that isn't turned on for the layout (I checked).

    All margin values are relative to the center of the screen, meaning the top and left margins should be negative values. I'll probably change that at some point so it's less confusing.

    As for the unbounded scrolling, the plugin -- as of 0.9b -- automatically enables the feature so less people have problems with rotation and zooming when it's disabled. You can bind the camera to the layout by checking the "Bind to layout" checkbox in the properties pane.

  • Blah, thanks for pointing that out.

  • Thanks, guys.

    Well, I gave this thread a lot longer than I said I would, so it's time to end it. The new thread can be found here:

    [PLUGIN] Sprite Button(In: Completed addons)

    Any comments, questions, or feature requests should be made there.

    RIP Original Sprite Button Thread - November 2009 to February 2010

  • Sprite Button Plugin - v0.9b

    Download Now(with example) - 132KB

    Description:

    This plugin allows you to quickly and easily create your own custom buttons with custom graphics and text. Four types of buttons are supported: Normal, two-state, check-box, and radio buttons. A full feature list is found below.

    Features:

    • Custom graphics - This plugin allows you to customize the graphics for your button. Three images are needed for a complete button: Normal, hover, and clicked states. You can also create an icon to place on the button and it's position/alignment. All images are edited through the "Images" section in the "Properties" pane.
    • Custom text - Text can be placed on the button. The look of the text is fully editable, including features to: Set font, font size, italics, bold, color, position, and offset.
    • Radio buttons - It is possible with this plugin to not only make radio buttons, but also to support multiple groups of radio buttons. Only one radio button in a specific group -- specified under the "Identification" section in the "Properties" pane -- can be activated at one time.
    • Easy identification - This plugin also supports easy identification of individual buttons. Each button can be placed in a group and provided with a unique identifier -- all set under the "Identification" section in the "Properties" pane. This allows you to easily reuse the graphics for your buttons by creating multiple copies of the main button while having them maintain a degree of separateness. Separate buttons of the same type can be accessed through their identifiers using the "Button clicked by ID" and "Button ticked by ID" conditions.

    The above ZIP file contains the plugin and a helpful example file showing the basics of how the plugin works, including working examples of radio, check-box, and normal style buttons

    Be sure to leave any feedback/bug reports/questions in the comments below.

    Enjoy.

  • Done(for the most part).

    You can supply margins which dictate when the camera scrolls now, but the camera won't center on the object upon scrolling, and I'm not sure at this point if that will make it in.

    As it is, the code for this plugin is crap since I was still new to programming at the time. Adding a feature like that just adds more complexity to an already unstable mess. I'll see what can be done, though.

  • Time for another update!

    Advanced Camera Plugin - v0.91b

    Download Now(with example) - 149KB

    LINK REMOVED UNTIL PLUGIN IS FIXED

    Additions/Fixes/Changes:

    [ADD] - When setting a camera to follow an object with the "Follow Object" action, you can specify margins which create an invisible box around the object being followed. The camera won't scroll until the followed object passes beyond these invisible borders. All margin values are relative to the center of the screen. Margins are only available when following one object.

    [ADD] - "Set Margins" action. This sets the margins for the aforementioned invisible box.

    [CHANGE] - I switched all of the internal values that people never see to double-precision floating-point values. While this probably won't have a noticeable impact, it provides theoretical speed increases.

    NOTE: This adds four parameters to the "Follow object" action, meaning any instances of this action will have non-existent values for these parameters until values are added. Everything should work fine, but to be on the safe side, edit any instances of this action and click "Finish". This will assign default values to these four parameters.

    And there it is. As usual, leave any comments, feature requests, or bug reports here.

    Have fun.

  • I could probably pull something like this together in around a day, so I'll probably take a crack at it. Not immediately, though, as I've got more important plugin related things I need to finish up at the moment.

linkman2004's avatar

linkman2004

Member since 15 Jan, 2008

Twitter
linkman2004 has 1 followers

Trophy Case

  • 16-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

18/44
How to earn trophies