Callan S's Forum Posts

  • Interesting, linkman, I'll book that in for investigation soon.

    LS, I'd have to have the program spawn the buttons to do that? I'm still fairly new and prefer to see named buttons in the layout screen.

    Also how would the coding work - how would the coding know a particular button is to apply the CSS change to itself, rather than, say a copy of that button that was spawned before it? Is there any 'self' reference in construct?

  • Would love to hear about your monetisation strategy and how it fares after release (is there a fee to enter a game in the google story?), please

  • I can do one button at a time, but it seems like there should be some way of changing all buttons somehow?

  • If you kept an array for the weapons and which ones are active, you could just make a search that goes up or down (depending on which way the scroll wheel was turned) and it keeps searching until it finds an active weapon. That way it'll just skip the gaps.

    So some 'current_weapon' value and a 'search' value which is set to on when the scroll wheel turns. Make 'current_weapon' go up by one, check in the array if that's an active weapon. If it is, set 'search' to zero to end the search. If not, add another point to 'current_weapon'. If it resets at 4 and if the pistol is always active, then if it finds no other weapons the search will end at the pistol.

  • For example, if I set 'profile' key in local storage to equal zero, then I go to the log in screen in the same if statement, it doesn't seem to change the key? It's all happening in an if statement and I made it change a test global to a certain number and that number comes up, so it's doing the if statement...which includes a local storage write, but it's ignoring that?

    Does changing layouts cancel storage writes?

    Edit: My mistake, I had a naming error on my key. Seems to be working now, thanks for the help.

  • I think I got caught on how construct builds from the last layout you looked at rather than the projects start layout. Thanks for the reply - I'm not sure I have all the bugs out, still occasional discrepancies, so I may have questions in future still!

  • Not sure how to make the distinction - when just running a game but not making a proper compilation, how long does local storage last?

    I'm trying to figure if there's a bug in my program where sometimes all the data is gone, or whether construct just erases local storage for temporary runs after awhile?

  • Nice game. How did you download the soundtrack - I can't figure how to download one from the site you linked to?

  • In retrospect I think it's better to A: See what you can actually make in a game language and then B: Dream up some idea based on what you can make.

    Dreaming up an idea then trying to actually make it (the exact opposite) is really hard.

    What can you make so far?

  • I thought I'd ask this here in case anyone might know a solution.

    For some reason the USB ports on our old computer have stopped working. I'd like to copy a bunch of it's files off it (preferably without removing the hard drive at this point as I'm not tech savy and have doubts I'll be able to put it back in). The wireless router (right word?), seperate from the computer, still works and has a cable running from it to the comp. I was wondering if there was some way to send files wirelessly to my laptop (who's usb's still work) and save stuff to a memory stick?

    Any ideas?

  • Thanks, zenox - I'd considered that, but thought there might be a smoother way. Thanks for the post

  • Apart from making an add on, is there any easy way to merge projects?

    I've build a project for showing instructions that I could use for many games. I'd just like to open up a game project, then merge the instructions project into it. Is there a simpler way than making an add on for it (as I'm not familiar with making add ons just yet)?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Nice one, korbaach! Nailed it! Thank you

  • Further question: if you add css style "border-radius" to "28px" you get a nice rounded button. But when you click on it, you get this ugly selection highlight rectangle around it. I've googled around and can't figure the property/value combo to turn that off?

  • I mean like css3buttongenerator . com

    But it'd give instructions for changing the button in construct