Mr Wolf's Forum Posts

  • When you pick up an item is it always going to be in the same spot in the inventory? Like, if you pick up a crown later in the game, will it put it in that same spot or can that spot be used by something else? I'm trying to determine how dynamic you need your inventory to be.

  • really simple inventory system.

    Lies! lol

    Somehow it will end up being more complex than you think. It has a simple looking function (just stores items right?), but inventories can be confusing and difficult. I learned that the hard way...

  • I'm not sure what kind of inventory you are making or how you want it to work. Code would help. Heck, you could even make a picture of how you want it to look to help too.

  • I want LAN to be Free as in Freedom. Stupid Battle.net 2.0

  • I don't know if the concept is supposed to be funny but it sure sounds funny.

  • >

    > > the video should be longer than 60 seconds, just keep the actual clips short so that things stay interesting.

    > >

    > Each clip should be only long enough to demonstrate the features that the clip is showing off. Once it has shown what it can do, there's no need to show it do something again. Just move to the next clip. When you show a person something similar to what they've already seen, they can lose attention.

    >

    How about categories? For the initial submissions? Then when it comes time to voting. People vote the best of each category, and the winners are then used in the showreel. That way it could avoid too many duplicates in the final video, but not prevent people from submitting similar things to start with.

    I was talking about showing the same thing happening again within each clip, but your idea sounds pretty good.

  • the video should be longer than 60 seconds, just keep the actual clips short so that things stay interesting.

    Each clip should be only long enough to demonstrate the features that the clip is showing off. Once it has shown what it can do, there's no need to show it do something again. Just move to the next clip. When you show a person something similar to what they've already seen, they can lose attention.

  • It looks to me like what you need is a hash table. You should look into that instead of playing matchy-matchy with two separate lists of variables.

    I'm not sure that will make what I'm doing any easier. Can hash tables store text?

    Edit: Oh, I see. Hashtable can work a little like another list of global variables. I can use the same method I was using before, but this time I don't get the Parameter error. Thanks!

  • Okay, I want an object to set something (we'll call it Final) to a value (we'll call a global value) from a global variable, but I need the global variable it using to switch a lot. It would be pulling from DIFFERENT global variables depending on what ANOTHER value (let's call it Overhead) from an Object (we'll call it OVH) told it to. So, instead of setting up an event for each possible value that Overhead is holding, like so:

    If Overhead is 1: Set Final to global('1')

    If Overhead is 2: Set Final to global('2')

    etc.

    Instead I want this:

    Always: Set Final to global(OVH.Value('Overhead'))

    It would be selecting the global variable by choosing by name from the value of Overhead.

    The problem is that global(OVH.Value('Overhead')) just gives the error: Parameter 1 of 'global' does not take 'unknown'

    It can't call the right global variable by using a name filled in from another expression. This means what I could have done in 1 event might take 1000 events. If this isn't possible, it should be added as a feature since it is INCREDIBLY useful. It can't be that hard either since so many other things can do the same kinds of things (or at least similar).

  • Without it, you can't customize jumping (doing it with events) and still have jump sustain.

    Explanation for those who don't get it:

    When you put the action:

    Z is pressed, Is on Ground (or something like that so you don't float into space)

    +Jump

    You can't use Jump Sustain. So if you want to set up some fancy double jumping (which needs events with Jump Action) you can't have jump sustain. When you hold down Jump Key normall, it will use jump sustain, but never if the jump is triggered with events.

  • Thanks.

  • First, if I remember correctly, for an external file in the same folder I use:

    AppPath + "file.txt"

    right?

    Second, are there any limits to what extension I can use (eg. only .txt)?

    Finally, what format do I put organize the file data in? I know for .ini you have to use

    "[Heading]

    Name=Value"

    but what do I use for the List Object?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Depending on when 1.0 comes out, it could be used as advertising for the official release.

  • You could always give them more organized names which would make them easier to find until/if you get your wish.

    I know. I'm using a special naming system for my objects already.

  • Well, that really depends on what you are doing. Shadows have varying length depending on where the light is. If you want the shadow length to vary, LoS wouldn't work for that.

    Edit: There's also complications if the light is over the shadow casting object, but I have no idea what you are using this for so that makes advice more difficult. We don't even know how dynamic/accurate/flexible you need this to be.