darkrealos's Forum Posts

  • Good evening people,

    i was wondering if someone could possible help me, i'm trying to run an array loop which sets a variable to the number of words in array which match but the way I've got it don't work properly and i don't like it. it seems unreliable heres an image http://imgur.com/SpzFL4O

    can anyone help me please

  • thanks for the name also thanks ill check it out, i did debate using a code to restrict input to numbers on keyboard, also when you said its down to browser i plan to export it via node for desktop so would it disapppear?

  • thanks for the reply, ive added a plus and minus either side of text box which i want user to use so trying to get rid of the arrows inside would help. the only problem is i dont know css XDDD

  • hi there i was wondering if someone could help me

    i've got some text boxes which are set to numbers as that is all i want the user to put in but i don't like the arrows that are inside text box to increase or decrease numbers can anyone tell me a way to remove this thanks

  • thank you, i think i understand that instead of textbox.text its int(textbox.text)

  • hi there im making a text box that has 3 local variables

    min - value - max

    and what i want to do is every tick set value to textbox.text

    so then i can compare it with max and if its higher set value to max

    the problem i have is it saying that i cant set a number variable to text even tho the text box is set to numbers.

    hope someone can help me

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • thanks for everyone replies and help. ive managed to work it out with what you all said

  • im sorry im not really following, i understand the every tick event wont work, kinda new that before hand should of removed , but im not sure whot to do the every tick event without it colliding with the scroll event

    p.s. i dont completely understand the scrolling mouse code which makes it harder for me

  • http://imgur.com/a/rbUK2

    heres a screenshot of the code, its not working, i can see why its not working but im not sure how to fix it in the way you said

  • thanks for the replies guys

  • hi there im having a bit of a brain block atm. i want to be able to click an object and the window would slowly scroll to it not instant like scroll to behavior, but i cant work out a way without it colliding with my scrolling code

    which is this https://www.scirra.com/tutorials/415/dr ... uch/page-3

    please help

  • thanks for the replies

  • thanks for reply, im sorry cant post capx, as its a secret project atm, but i think you helped as the created objects are not on the actual screen but on margins ,as i wanted the troops to march onto the screen , hmmm the question is how do i do this without relying on basic movement

  • hi there got a question

    im using on Object create - set Object to pathfind something on layout

    on path found move along path

    problem is its not working, so i was wondering if objects can actually pathfind if they are of screen? and if they cant what other method can i use?

  • yeah they all change correctly which is why im confused that it wont work