LuckyRawat's Forum Posts

  • Nope its not working, its not picking

  • Hi I have setup road like in this image and green is car.

    I want to move car with finger using moveto behavior. I touch on car and move my finger on road will move my car but problem is car moves to only single road not changing road. How do i do this?

    Note: without using behavior car changing road perfectly. I just added behavior and then its not working as expected

    My code

  • Yes its working

  • oh thanks

  • recently I made a dialog system in my game, I never made anything like that before. My method was I saved all dialogues in array editor, like first dialogue in 0, second in 1, third in 2 and so on then I fetch that into array using ajax, then simply applied dialogues by indexing.

  • I am trying to add 1 day in timestamp just by adding 86400 seconds in timestamp but date.getdate(timestamp) not adding it and only showing current date. Why?

  • Hi

    Thanks for this but I'm not moving vehicle with any behavior. they're moving with touch slide and no auto move let me share you my file here and my code

    here are two problems I'm facing

    First if I move trucks to another road then car don't move to that empty road

    First problem can be fix by swapping condition 5 with 6 and 14 with 15 then another problem coming truck & barricade not stopping car anymore.

    Third problem is truck not stopping another truck

    myfile

  • I have roads, car, trucks & barricades (road blocker)

    car and trucks not moving. I'm moving car with touch. I want to car to be blocked by truck and barricades. we can also move trucks. How do I stop cars by overlapping with trucks and also stop truck overlapping with other trucks. these both should be not to cross barricade.

    green is car and red is truck

  • I didn't understand that code, I'm a non programmer.

  • Then do like if currentmonth = 0 then lastday = 31 , if currentmonth=1(feb) then lastday = 28

    yes that I can do but I'm trying to do it automatically. because feb month cannot be done in this way. So I am figuring out to do it automatically. If there any way of getting current month's first and last day.

  • Hi,

    I want to make a calendar using date plugin, Problem I'm facing here is How do I get First & Last day of the current month. Somehow I'm able to get First day of the first week but how do I get last day of last week?

    Tagged:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yes I also wants to learn JS and Yes I am following Ashley's Tutorial too.

  • I'm saving canvas image in local storage that way I can store multiple image data in local storage and can get anytime. My events are

    On saved image > Ajax.set response binary to BinaryData

    Ajax.Request DrawingCanvas.SavedImageURL (tag"image")

    Ajax. On "Image" complete > Local Storage.set item to BinaryData

    By this I can save multiple images in localstorage and adding index end of the names.

  • Thanks I will try this.

  • I have got it working.