linkman2004's Recent Forum Activity

  • linkman2004 (USA)

  • Welcome back, man! Good to have you back.

    guys

    it's Up Up Down Down Left Right Left Right A B Select Start

    I beg to differ.

  • UP, UP, DOWN, DOWN, LEFT, RIGHT, LEFT, RIGHT, B, A, START!

    Fixed that for you.

    But, yes, where did he go? He hasn't been on in over two months.

  • The easiest way of doing this is to add the object into a family, then checking for collisions between an object and the family it's part of. For example:

    + On collision between Sprite and Family

    • Destroy sprite
  • You can use the angle() expression to get the angle between the start point and end point, which will give you the angle of the line:

    Angle(Line.StartX, Line.StartY, Line.EndX, Line.EndY)

    There should probably be an included expression, though.

  • Kind of like this?

    List files with extension

    Put the file extension your looking for in the text box, then click the button at the bottom to select a folder. Once you've selected one, the listbox will be populated with all files with the specified extension. Of course, you don't have to use the folder selector, you could just use a preset folder, but this is just to get the idea across.

    Hope this helps.

  • Thanks for the comments, guys. I've fixed the problem when going off the top of an area, so I'll be releasing a new build before too long.

    Also, it seems that when the grid area is smaller than the view size (I think probably just the window size), it just jumps onto the new grid position without scrolling.

    This is actually one of the things I warn against, as mentioned in the pseudo-documentation I posted. You should always make the areas the same size or larger than the window size.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Sure. Here's the compiled version with the music.

    http://dl.getdropbox.com/u/167571/FattieAdventure.exe

    Okay, I get the problem as well. Where in your code are you playing the music? Is it just in the "Start of layout" event? What format is the music in? I don't know if that has anything to do with it, but it might.

    NEW VERSION IS HERE!

    Advanced Camera Plugin - v0.7b

    Download Now(with example) - 149KB

    Additions/Fixes/Changes

    ADDITION - New grid scrolling feature. This offers the ability to have scrolling like in the Zelda and MegaMan series of games. Two types of grid scrolling are present; uniform grid scrolling, where each area is the same size, and variable grid scrolling, where each area is designated by a specified area object allowing for different sized areas of scrolling.

    FIX - Some typos fixed.

    The ZIP file includes an example of the variable grid scrolling type. It should get across how to use it clearly enough, but I'll explain a little.

    Pseudo-Documentation:

    In the "Grid Scrolling - Variable Size" action you are asked to specify which camera to use, the object that will cause the screen to scroll to the next area, the object type which will be used to specify areas, the scroll time, and whether or not to pause the game during scrolling or not.

    The object which is used to scroll will generally be your character object. The screen will scroll when the middle part of this object -- regardless of hotspot -- comes into contact with a new area.

    The area object is merely a large sprite which defines the borders of an area. These are placed in the layout editor. It is recommended that each area object be no smaller than the screen size. It's also recommended that areas don't overlap. If areas are overlapping and the player comes into contact with the overlapping section, you'll most likely start switching between the two areas endlessly.

    And that covers the important parts. As usual, and especially in this case, be sure to report any bugs. If you find one, make sure to explain clearly how it happened, or, better yet, provide a CAP file with the problem.

    Enjoy the new features!

  • This is really strange. Would you mind compiling the version you have with the music playing? Music and sound isn't included in CAP files, and I want to see if this is happening on all computers or just some. I can't seem to reproduce any errors involving music playback with this plugin.

    By the way, a heads up for everybody. Assuming I don't find any glaring issues with the additions I've made, I'll be releasing a new version later today. This version will include the requested MegaMan/Zelda style grid scrolling feature.

  • In your camera creation you have both the X and Y zoom levels set to 0, so the camera is zoomed out to infinity. You should set the zoom levels to something like 100 each, which is default size. That fixes the problem.

  • Hmm. Really useful plugin. Until I start to play music on the background. Then the camera just goes completely black. When I disable the music events, the camera acts normal again. Strange bug...

    I'm using the latest version of Construct.

    Huh, that seems really weird. I couldn't reproduce it, though. Would you mind posting the CAP with the problem so I can take a look at it?

  • That's actually a really good idea. I'll see what I can do about implementing it.

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