SpongeBrain's Forum Posts

  • Thanks guys.

    Mipey;

    So it was a bug then.

    That drove me nuts for a good hour or so before I knew it couldn't be me.

    And this 0-indexed / 1-indexed issue needs sorting.

    I've used 0-inexed arrays for years, but I'm quite happy to use 1-indexed arrays if we have to, as long as it's clearly marked as such, and that the build is actually using what they say.

    Thanks for the example using "for each element" too.

    That's a much cleaner way of doing things.

    EDIT: Looking again at your example, it checks the value of z, rather than the the contents of the array at z, and I thought that I might suffer the same problem with the array when trying to read the contents.

    But luckily, using something like "Array(Array.CurrentX, Array.CurrentY, 3)" does read the contents of Z..........BUT.......

    ......it appears that the arrays are using both 0-indexing and 1-indexing. One for reading and one for writing.

    For instance, if you set array(10,10,5) to 1, when you check the array for a stored 1, it will find it at array(9,9,4).

    GMG;

    It's a display bug in Construct, although you did have me wondering.

    When edited in Construct, it shows a quote each side of the letter, and when committed, it displays that odd character again.

    Cheers.

  • ...as per the discussion in the help forum.

  • Yeah, I tried listboxes earlier on today, as well as a few other tried and tested bug-finding methods, but none of them shed any light on what the problem could be.

    Apart from it maybe being a bug in Construct, the only other thing that I could think of was that maybe the cap I'm working on has become corrupt somehow, so I thought I'd start a new cap with just an array, a listbox, and a few commands.

    <img src="http://img218.imageshack.us/img218/6406/condition.jpg">

    Now unless I'm missing something on setting up the Array, surely that should fill the listbox up with the word "yes".

    I'll upload this test cap to the upload area in a second, just so you can try it.

    I haven't had a look at the "for each element" yet.

    I'm trying to keep the coding as simple as possible so that non-coders can understand the tutorial better.

  • I'm writing a tutorial on building random dungeons (per the recent discussions by others), using Construct to create the tutorial itself.

    I aim to have the start of the tutorial go through the concepts of random dungeons through click-next pages, and then to have the program create and build a random dungeon to demonstrate the process.

    The tutorial will also be in the form of a cap file, documented to help understand how it works.

    What's this got to do with the title of the thread?

    Well, I have the dungeon creation part sorted, but I'm having trouble with using more than 2 Conditions in an Event.

    Here's a pic of what I have.

    <img src="http://img57.imageshack.us/img57/6406/condition.jpg">

    What I'm trying to do is to have the Event go through the nested X and Y loops, checking the contents of the Array at position (x,y,1), and if the contents are what I expect them to be, to act on it in the Event line.

    I'm still trying to fathom out some of Constructs logic flow, so I was hoping you could tell me whether the pic above should work or not.

    Cheers.

  • Whoa, wacky.

    I'll re-upload it

    Cheers Deadeye.

    This time it downloaded ok.

    Nice example.

    I've just played about with it using slopes and other obstacles, and it works well.

    Lunar Jetman anyone?

  • i bet that when you finish 1.0 , you will build 2.0 from( or mostly from) scratch, because i'm preatty shure that while you building up to 1.0 version, you think "that this part of softwer could be done difrent, but it's to late now"?

    It's sod's law, and you always think of "better" ways of doing it when it's after the fact.

    I'm sure I read on one of the main pages that they intend to drop the 3rd party GUI after version 1, and utilise the normal Windows API.

    I'd welcome that.

    Sponge.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • the slime effect?

    its so easy

    check the effects in the slime layer and the slime object image then youll understand

    True, but Kudos to Quazi for thinking of it in the first place.

    I'm sure it will be copied by many.

    Top work mate.

  • I made this for you yesterday as an example,....

    http://willhostforfood.com/files4/7/1/2 ... wheels.cap

    Lol, when I click that link, I'm taken to a 17mb MP3 file.

  • ....and in any case, we're just about done changing things which will mess up .

    We'll hold you to that.

  • Separate stable and unstable builds will help, although most people should be (and probably are) aware that bugs are going to appear when changes to code are made.

    Software has always been the same.

    Another idea you might consider is a beta test area for those who are prepared to put in some time to test each build to it's limits for a week or so, so that fixes can be made and a stable build released from that.

    As a former beta tester for commercial software, (and a tester of my own software for 20+ years), I'd be glad to be part of that.

    In fact, I'd consider it a payback for all the work you've put into Construct already.

    Either way, well done on this last build.

    Sponge.

  • For those who want to get the tutorials working with 98.8, go in and change the "is overlapping" with "overlapping with offset(0,0) and that should get everything working again.

    It sounds like they plan to get it fixed for the next build, but in the meantime, it's good practice for users to get their hands dirty in Deadeye's code and fully understand how he's using the overlap condition.

    Sponge.

  • Well, so far so good.

    I've been trying to make it crash for the past 5 minutes without being able to.

    I'll give it a good going over for the next couple of days to see if there are any problems.

    Fingers crossed.

  • I didn't even notice that 98.8 had been released.

    I'll download it now and get back to you.

  • Yeah, it's with sprites which are on more than one layout.

    I was interested to read this, as I wasn't sure this was the case whenever I've tried to access animation.

    So I created a new project from scratch, went to the animation tab and added a few frames to the default animation without a problem.

    This is a first, so there may be something in what you say, but there's still a major problem with adding new animations.

    In the same brand-new project, I added a new animation, and was able to change the graphic for the first and only frame in this new animation.

    But as soon as I right-click to select "add new frame", Construct freezes, and that's the end of that.

    Sponge

  • You know, it really is true that sometimes you can't see the wood for the trees.

    Because I was trying to fix more than one aspect of the Minimap at the same time, rather than concentrating on a specific one, I didn't see an option to increase the size of the point, even though I went looking for such an option.

    It was early hours of the AM though.

    After reading your post this afternoon, went into Construct and there it was. Hehe.

    I now have the Minimap working well with my game.

    Although it's not as good as I could make it if we had a zoom level built-in to it, it'll do until they add one.

    Thanks for the help.

    Sponge.