thechriskent's Recent Forum Activity

  • Just ran into this problem with a very short wav file while using r152.

  • ALLMarkMade sorry about the link! Somehow I added some extra characters to the URL. I know Kyatric posted the correct one, but I've updated my post anyway. Thanks for catching that and good luck with the plugins!

  • Best place to start is to read the SDK documentation.

    Then crack open a couple of the native plugins and see how they're implemented. Drag over the plugin template into your plugins folder and start changing stuff to see what it does in Construct 2.

  • AnD4D Thanks!

    I haven't. I would love to see the functionality of this plugin added to the native sprite font. I imagine their work load is generally pretty heavy, but if this issue resonates with enough people I'm sure they'll move it up in priority. In the meantime, I made this plugin to solve my needs and I'm offering it up to anyone that wants it. But I understand being wary of a 3rd party plugin.

  • czar I would love for this to be officially integrated. Hopefully this plugin will fill in the gap until they are able to add support for custom character widths using the native sprite font. Until then I'll be doing my best to keep it working with each release, but I completely understand your hesitation.

  • Thanks everybody!

    I've posted a tutorial for this plugin over here: scirra.com/tutorials/716/using-the-spritefont-plugin

  • blackhornet just came over here to tell you how much I love this tool. I was also going to tell you about the plugin I've made that works best when using your tool but tumira beat me to it! Thanks again!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm Chris Kent and have only recently started using Construct 2 (maybe a month?). I am traditionally a .NET developer and have dabbled in XNA for a long time. I recently started trying all sorts of other tools to see if I couldn't get something done a little quicker. Tried out (more than just installed and opened) Love, GameSalad, and GameMaker. GameMaker was the best of those 3 but it couldn't match the ease of Construct 2.

    I've created multiple apps for Windows Phones, iOS, and Android always using the native development tools. Having ported some of my apps I generally ended up with a full rewrite. Very frustrating and difficult to keep up with. This is one of the biggest reasons I've moved over to Construct 2 - that and it's open JavaScript SDK.

    I'm also very interested in plugin development which I've recently begun messing around with (spritefontplus.codeplex.com). That's pretty much it for now, see you around.

  • I've created a plugin that extends the existing Sprite font native plugin to include richer support for individual character widths during both editing and runtime. It works really well when used in conjunction with Blackhornet's Give Your Font Mono(spacing) Sprite Font Generator.

    You can download it over on codeplex and I've updated the documentation there to show how to use it as well.

    The primary benefit is being able to use custom character widths without any extra events and full support while editing. Here?s how the 2 plugins look in the edit window versus runtime when the extra events as described in the documentation are used for the native sprite font object:

    <img src="http://thechriskent.files.wordpress.com/2013/11/image_thumb23_2-1.png" border="0">

    They end up looking the same but the native plugin is a lot harder to work with when using custom character widths.

    Here's a tutorial I wrote to help you get started.

  • I've been experimenting with this a little. I'm currently unable to test on a physical device so I'd love some feedback, but everything seems to be working great in the simulator.

    The basic idea is to check the X, Y and Z values (Acceleration) every so often (POLLINGINTERVAL) and compare to the last check to see if they've increased a significant enough amount (SENSITIVITY) and have also met a minimum acceleration (MINACCEL). I just created a group called Shake Detection, added some local variables to track the current values, global values to detect the previous values and some local constants to let me easily tweak things. To let my game know if I've detected any shaking I set the global variable IsShaking to 1. Here's a screenshot of my events/actions:

    Looks like I can't post links yet, so add the http:// to the following "link" to see the image:

    thechriskent.files.wordpress.com/2013/11/c2_shakedetection.png

    To use this, I just create another System Event (Compare Variable) and check if IsShaking = 1. If it does, the first thing I do is set IsShaking = 0 and do whatever action(s) I wanted.

    This is just what I came up with. If anyone has any suggestions or tweaks, please let me know! Thanks!

thechriskent's avatar

thechriskent

Member since 3 Nov, 2013

Twitter
thechriskent has 1 followers

Connect with thechriskent

Trophy Case

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

Progress

14/44
How to earn trophies