Callan S's Forum Posts

  • Start sensible, start small.

    Aye. Got to level up first. Can't do raids straight away, so to speak!

  • I was wondering if anyone had made a button designer where you can keep modifying the look of a button with the various options in construct, then it tells you what to change in the code to do that in your own game? I had a bit of a google round, but didn't find anything?

  • Yeah, I find that fairly confusing as well

  • If you finish a planet, it should make a new random planet to work on.

  • Does a license (like the personal one) attach to a specific e-mail or can you shift it? For me various e-mails serve various purposes and I don't want to have significant money locked into one due to it being attached to a bought license.

  • I think it's more like 'check socks if there are in draw - if so put up a flag. If the flag is up, get the socks and...put them onto a tray. If the tray has some socks on it, put the socks on'.

    And perhaps there's sarcasm there but I'm not erudite enough to get it, but given this is a learning forum it seems easy pickings.

    In Tavi's example, 'localstr' - I assume it's just a name for ease of reading reasons. There's no reference to it in the code sample I can see.

    Left to figure it out by myself, I can only guess that 'check item highscore' then sort of 'calls' 'on item highscore exists' by passing it a value, which then triggers the rest of the set. No, this is not immediately obvious, but is still surely due some sarcasm and an extra period all the same, no doubt..

    It also seems that now the value is shown to exist, it would perpetually get it from local storage - I don't know if this is an issue, as opposed say to putting it into a global and working from that.

    I'm not sure of the point of setting the highscore text in 'on start of layout'.

  • Thanks! I did run a search on the topic previously, but was unable to find anything at the time.

    It's a funny structure, isn't it? If the value exists, it gets it...but then it has to as if it got something to do something with it?

    Also when does this get checked? On the start of layout? Every tick?

  • Thank you, Voulk. I think that will do it!

  • AFAICT there's no difference between using rows or columns, unless you want to be compatible with the code example already given. You could stick with rows, but you'd have to rework the example code to accommodate that.

  • The load and save seem to reload the entire state of the game. Not much good if I want to give the user a bonus X points when they start the game again.

    Also for various other reasons I'd just like to save a few globals to use as the way I save and load game states. Is there a way to do this?

  • With arrays there just seems to be 'for each element' as a way of searching through.

    It seems inefficient and awkward that if I had an array with 100 value and I just want to search from 12 to 18, I have to set it to go through the whole thing and set up some way of counting when I'm actually inside the range I want.

    If I wanted to search from position 12 (or whatever number inside the array size) through a bunch of strings in the array until I find "<NP>", is there another way to do this apart from 'for each element'? It's for showing the instructions of the game, with <NP> signifying the end of one page of text.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • IIRC I'd started a new event sheet and at that point was unaware of having to include it in the first event sheet attached to the scene. So the commands on that event sheet did nothing. Thanks for the reply, regardless

  • Are we talking a platform kind of world? When I wrote one of them once I had a number that indicated platform height and it would randomly go up or down by one. Then I would have a second randomiser add up to two or subtract up to two points to that.

    That way the world sort of flows as it follows the first number, but has some bumpyness due to the second number.

  • There are degrees of 3d...some are more fake than others. It depends on the level of fake 3d that you are comfortable with and whether construct can do that.

  • I agree. It's just a matter of realising your capacity to code and do art extends only so far at the current point in time. What kill projects is when people expect themselves to make something that is like a AAA studio made it, but they come out with 'hello wor...hello pokemon!' and some buttons that make numbers go up.

    Make sure that you appreciate and love what you can make, even if it's not as pretty as the AAA studio stuff.

    Just trying to give some encouragement to ensure you continue with the idea