Woodland's Forum Posts

  • Alright, will work on this. Thanks for the help!

  • I've set up the basics using an n*1 array, with n being the number of inventory cell. I have another array with information about each id, such as descriptions and names. The problem is, I don't know how or how to go about the player picking up new items. The new items the player picks up should be added to the first available slot in the array. Thanks for the help!

  • I'm making a game where you own a shop and buy and sell items. I've found numerous tutorials on making inventories, but all of them have one problem: items can stack. I don't want items to stack. I want items to take up more cells if more of them are picked up. I've tried modifying some examples to fit my needs but I can't figure out how to remove the item stacking feature. Thanks!

  • ok, thanks for the help

  • Alright, so I'm making a platformer with some rpg mechanics. At the start of the game, you can adjust your character to dodge or attack better. I'd like the characters eyes to be blue if the character if defensive, purple if neutral, and red if agressive. The trouble is, the character has many different ~10 frame animations, but the characters eyes always are one square pixel. Whats the optimal way to go about changing the color of the characters eyes?

  • Right now, when I export to Node.JS, the taskbar icon is the construct 2 cog. How can I make this my own image?

  • Sometimes, programming can make you feel very stupid. This is one of those times. Thanks so much!

  • I'm not sure what I'm doing wrong, but for some reason I'm getting absurd numbers when I run this code:

    subtract from CurrentAnswer

    int(right(str(CurrentAnswer),2))

    What the code should do is get rid of the number on the far right, help please?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • How can I get a certain digit, say a, from a number, say b? I used to program often in python, and in python there's expression, "string"[1], which returns the first letter of the string. However, I can't find that in Construct 2.

  • The program that takes a picture of a scrolling page works great, thanks a bunch!

  • I'm making a math game for a school project. Whats the most efficient way to test if a variable is composite, or not prime?

  • So, I've been working on a school project in Construct 2. In the project, it is required we have a hard copy of our code. How can I do this, hopefully without having to stitch together images made from the snipping tool?

  • Awesome! Thanks so much, mindfaQ! When I finish the project I'll send you a link.

  • Thanks for the help, I found one problem with it: whenever you input a number from the numpad, it enters "numpad [n]". Also, how would I go about setting an integer to the number which has been pressed?

  • So, for a school project, I'm programming a math game to help teach kids mental math. What's a good way to make a good looking version of a text box? I've tried to make it myself, but as I am very new to programming it ended up being a buggy mess. Basically, I want to be able to type in a number at the end of a math problem. If it's correct, launch function 'Correct', else, launch 'Incorrect'. I'm having trouble with the first part. Thanks!