ticklishoctopus's Forum Posts

  • I'm working on a small project where I'm using the Canvas Plugin by R0J0hound, but I'm running into a problem.

    I want the "paint" color to change depending on user selection. So far I have green and white. Each draws just fine in each color. HOWEVER, when I change the color to use, the existing paths turn the new selected color.

    How do I fix this bug? Thank ye in advance!

    Screenshot of what I have so far:

  • I've clearly been relying on Intel XDK too much, because without it I'm lost. Can someone walk me through (step by step) how to get a finished game in Construct 2 to a signed and ready APK to upload to an app store?

    I've done research, but most of the step by step tutorials I keep finding as of late seem out of date. Help a helpless XDK-less newbie out? Thanks in advance!

  • Thanks for taking a look! It looks to function just as I wanted it to. =]

  • Long story short, I'm experimenting with a few features of Construct 2 just to get a grasp of how they work (newbie here). To do this, I'm creating a timer with pause/resume/clear options.

    I want to be able to use the spacebar to pause the timer, and then restart the timer again. I seem to be able to start the timer, but not stop it again. Take a look and maybe give be some tips? I've attached a screenshot of my event sheet.

    https://imgur.com/a/SQRfZ

    Thanks in advance!

  • You want System.On start of layout!

    *face palm* Right. Thanks for finding my stupid problem. Seriously. Thank you. XD

  • You need to post what you are doing (CAPX).

    https://www.dropbox.com/s/eu6ojfyw3k77mo2/testing-name-generator.capx?dl=0

  • Array.At(int(random(0,3))

    will pick 0,1,2.

    Awesome. I stopped getting the error, but the only output on my button click is the text is set to 0. There is no variety, and the values inside the array aren't displayed.

  • text -> set_text -> array_name(random(0,2)

    Use that.

    Thanks for the response. I've tried this one, but when I enter it and hit "Done", I get this error:

    ''arrayName" needs an expression after it

    This is an object name, so you need a dot and an expression name after it.

    Here is what I entered: arrayName(random(0,2))

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have an array with 3 names in it. I want the user to be able to click a button, and a text object will display a random name stored inside that array. I seem to be struggling with the grabbing random value and displaying it with a Text object. Help?

    Thanks in advance.

  • Ha! Figured it out. Whoops. It was easy. XP

    I set the bullet like this:

    "bullet" > "set angle toward position" > X: "Mouse.X", Y: "Mouse.Y"

    Works just as I wanted it to. Thanks for reading. =]

  • I'm creating a little shooter project. I've read a few tutorials, but with little success. I have an object, and when the screen is clicked, I want that object to shoot a bullet towards the point where the cursor is at the time the click goes off. But if the cursor moves after the click, I don't want that angle to change towards the new cursor location.

    I hope that's not confusing. Help? Thanks in advance!

  • Here I made an example, left click the image to select then click the delete button to delete the selected instance.

    https://www.dropbox.com/s/1fxllo6elggld ... .capx?dl=0

    Ah-ha! I was trying to pull the wrong variable. I found my problem and have it working. Thank you so much. <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

    Your example proved to be most helpful.

  • add an id to the instances as instance variable, also add a global variable ID, set the global one to 1 and the instance one to 0. When the player selects the dress set the global value to the instance variable value, then add event to check if object.ID == Global.ID and button1 pressed then as action destroy object.

    SUPER helpful answer. I think I'm just being dumb, and am sure that I am doing something wrong; because it's deleting all the instances of that object. Do you have a quick example?

  • Okay, long story short, I am creating a dress up game. For reasons. And so far, I have it set up that the user can go to the menu, and click on the thumbnail for an accessory which will spawn onto the layout as a drag and drop behavior object. The user has many to choose from, and can spawn more than one of that object.

    My question: I want the user to be able to delete any of the instances that they desire. Maybe by clicking on it and then clicking a delete button? However, I don't want the button click to delete ALL instances of that object--just the desired one.

    How would I go about doing this?

    Thank you in advanced.

    Ha! I came here to recommend 000webhost, but it seems a few already beat me to it. I'm impressed how much control and power they give you for free hosting. =]