brent_hamel's Recent Forum Activity

  • Duh, of course lol, good call Nimtrix, thanks lol.

  • Hey guys,

    Just a quick question. I apologize if this has been covered elsewhere, my searching hasn't returned any results however. Is there anyway I can have the system look for specific words in a string of text input by the player? I'm looking to emulate old text adventure games. So if the player types in "swing sword" I need to be able to reference each word against a set of variables, the first for player actions, and the second for items. Is there a simple way to do this?

    Thanks in advance

    Brent

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I should be able to make that work, thanks for the quick response!

  • yes Difficulty is a variable, is there anyway to implement this, it would be an incredibly useful feature :)

  • I'm using the worksheet to try and add a ramping difficulty to my pattern game, and when I exchange the time-in-seconds for a global variable, it doesn't work... is there a reason for this?

    ie.

    Worksheet| Start Worksheet: "Difficulty,spawnenemy,0,0"

    this is what I need to have work :(

  • It's not that I want to, I just know NOTHING about using either of those file types :S, but thanks for the AJAX idea, I hadn't thought of that at all

  • Oh wow, duh! lol thanks Ashley!!

  • are you looking for something using behaviours? Or are you comfortable enough with the event system to do everything manually (movement, collision, etc...)

  • I'm afraid I have no idea about either of those formats, I was hoping to simply be able to reference a .txt (notepad) file, tell construct which lines to look for within the text file, and then return everything between those lines as a string.

    The application for this then being to store things like character dialogue, array data for level building, enemy lists/stats, and so on and so forth? I'd be all for writing a plugin to do it, except that I don't know javascript, or any programming languages at all really, except for some basic VB.

    Any ideas?

  • Is there anyway at all to be able to resize the layout at runtime? I can understand not being able to do so with the window size, but I'm not sure why it can't be done for the layout? I'm asking, because, as with another question I posted recently, I'm using arrays for my level data, and i'd like to have the freedom to be able to make an array at whatever size I want, and have the layout automatically resize to fit the dimensions it would need based on my tile resolution. Any ideas?

  • So here's what I'm trying to do...

    I'd like to be able to retrieve the text from an external .txt file. I'd like to be able to use this for things like Dialogue Trees and Array Data. I know that Arrays can save and load from JSON strings, but I'd like to be able to edit the JSON string manually and then be able to save it/load it.

    Or, does someone know an efficient way to be able to edit Array data outside of having to use events within Construct 2? I don't want to have to build an entire level editor just to have a way to edit my array information, any ideas?

  • Hey guys,

    Just wondering if there's a way to actually have Construct 2 detect the way a device is oriented (all 4 possibilities). I'd rather not have to lock off the orientation, but I will if I have to. The game's control scheme is entirely based on the gyros, and their values don't change based on orientation. Therefore I need to make different forumlas for the different orientations. Any ideas?

brent_hamel's avatar

brent_hamel

Member since 31 Dec, 2009

None one is following brent_hamel yet!

Trophy Case

  • 14-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

18/44
How to earn trophies