PixelRebirth's Forum Posts

  • If you mean to have a specific control not triggered at will, you can't. You have to manage it in your cap file or clear all controls and set only the controls you need.

    I could add this functionality.

    The other day I was looking into removing a specific control, figured that I couldn't and ended up doing what you mentioned. Having this functionality would improve Input System even more, so hopefully you'll add it in a future version. Would be very much appreciated.

  • Good show so far. Although brings nothing really new to the table regarding the zombie genre. The production values are very high and the blood and guts are always present. So I'll continue to watch it.

  • That's a nice method. I remember something similar done by lucid himself, before the SpriteFont object was even created. It didn't use Python at all though.

    Which brings me to the question why Python is being used here. From quickly looking at the script (and not being a Python expert at all) I do believe you could do this just fine by events only.

  • Try setting up your events like this:

    <img src="http://dl.dropbox.com/u/2306601/Zorder.png">

    That would also work with families.

  • int(string)

    That's string to integer.

    While str(value) is integer/float to string.

    Check the wiki FAQ http://sourceforge.net/apps/mediawiki/construct/index.php?title=FAQ

    where it says "How do I convert between text and numbers?" as well as this: http://sourceforge.net/apps/mediawiki/construct/index.php?title=System_Expressions.

  • edit:

    Well i took a quick look at your example and i realize i explained my idea wrong i think, what my idea was is that you have Two names in different editboxes, and that it counts how much each letter is used,

    E.g.

    Michael Michelle

    m is used 2 times, the i 2 times etc.

    but with your example i can look more in depth of how to keep counting till there are two numbers left

    Well yeah, you only provided an example for one name, so that's what I based my cap on. Once you understand it you can adapt the method to handle as many names as you like though.

  • Uh, now this will come in handy!

    Thx Davioware!

  • In order to do this you should have a close look at the following wiki page:

    SYSTEM EXPRESSIONS

    That would be the needed push in the right direction for you.

    Other than that I made a cap which does what you requested. Enter a name in the editbox and click the calculate button. For the letters you had in your example I assigned the same values. So calculating "Michael" will indeed give 78.

    Here's the link: http://dl.dropbox.com/u/2306601/namevalthing.cap

    And my further approach to this is to EXPLAIN NOTHING else about it. You go figure it out. That should make for about the best possible learning experience.

  • I added Top 5 highscore to the game. Had to make some changes to your INI, so be sure to use the new ini file for a testrun. It was a quick hack but seems to work perfectly.

    http://dl.dropbox.com/u/2306601/Spiderman_high5.rar

    It's a nice thing you're doing there Guyon bringing some joy to a kid that has been dealt a tough hand by life. Glad I could help you out there a bit.

  • There's a good example for an instant-hit laser provided by Ashley himself:

    http://www.scirra.com/forum/viewtopic.php?f=16&t=915&start=0

    That should help you out.

  • What's in this post might prove useful to you:

    http://www.scirra.com/forum/viewtopic.php?f=3&t=7452&p=58102#p58102

    As far as understanding hash tables and arrays go:

    https://sourceforge.net/apps/mediawiki/construct/index.php?title=Hash_Table_Object

    https://sourceforge.net/apps/mediawiki/construct/index.php?title=Array_Object

    In case you didn't read those already.

    And welcome to the forums! Keep asking if you're having problems.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm pretty much in 100% agreement with those propositions.

    Completed Addons (currently subforum to Uploads, make top level forum)

    ---- Work in progress addons (subforum)

    Yay, completed addons are ever so important!

  • Actually I wanted to make a little Halloween game this year, but as usual I didn't come around to do so. Then like 4 days ago I had the idea of making use of the awesome Input System Plugin and adding customizable controls to the old Slasher Boy demo. And well, just in time for Halloween I completed the 2nd edition demo I want to share with you here.

    <img src="http://dl.dropbox.com/u/2306601/slashshotnew.png">

    So yeah, it's basically still last year's game. Probably not mighty interesting if you were around then and played it. Here's a list of the most important changes:

    * Gamepad support, Xbox 360 controller auto detection and customizable controls through a little included app.

    * There is still no music, but you can add your own tracks to the game with that app as well, if you feel strongly about it.

    * Pause! Yes, now you can pause the game.

    * Collecting knives now earns you an extra life, before you only received score.

    * Boss and enemy exploits removed.

    * Harvester stage refresh rate glitch fixed.

    DOWNLOAD 2ND EDITION DEMO FROM GAMEJOLT

    (see the included readme.txt for further info)

    I was quite in a rush today, as I am leaving soon for some (actually not Halloween related) partying. So I hope no major issues slipped through.

    If you find anything - especially with the newly added custom controls feature - feedback would be very much appreciated.

    And not to forget: Happy Halloween everyone!

  • I encountered a really weird bug with the SpriteFont plugin in Construct 0.99.96. When I add more than 1 SpriteFont object to my layout, it instantly crashes when trying to run the cap. It doesn't matter if those are instances of the very same object or two different SpriteFont objects. I'm using SpriteFont version 0.99.99RC.

    To make it even weirder, this only happens on my XP home SP3 machine, but not on my Win7 64bit home premium pc.

    Can anyone make any sense of that?

    EDIT: also happens in 0.99.95. Even went back to 0.99.7... seems to happen no matter which version.

  • Wow, it has already been 3 years. From a blog post I know that it was about the 29th Oct 2007 when I first laid hands on Construct. And boy has it improved since!

    Happy Birthday to Construct! And can't wait for 1.0...