darkrealos's Recent Forum Activity

  • thanks for the replies. i never knew objects could be made global. thanks alot that solved my problem

    quick question now the object is global it will show on each layout, other then setting invisible is there another way to hide the objects or is it because my layouts have same layers e.g. i use names instead of numbers. or is it gunna show regardless unless i set invisable

  • hi there thanks for replying. i would show it but its a project ive been working on for the last year so i dont really wanna reveal any of it sorry . if it helps ive done another debug creating 3 objects under the same family which is 3 individual objects but share same family. and when you change layout the go back all variables on those objects get reset back to 0.

    i read somewhere about making variables static but i havent been able to find that in family properties

  • hi there ive got a family which ive added variables to but when i change layouts the variables disappear, im not sure why the objects are presistant even tho when i debug it says object gets deleted and recreated. why is it doing this and is there a way around this? all my family has is about 8 variables per object

    Thanks for the help

  • rofl thanks for the reply but i generally just found the same tutorial

  • anyone?

  • ahh i see what you mean but i think i didnt make my question clear sorry. say you look at rpgs they got loads of random tiles to make the maps look unique well i want to

    have several tiles randomly generate together next to each other to make a unique background. and i dont want to do it by having like 700 background sprites for each section of bg, you understand?

    thanks for replying

  • hi there, this might be really simple but i cant work it out, i want to have a tiled background with about 4 different tiles to add variety to the background and for it to randomly generate the tiles on the tiled background, but i have no idea how to accomplish this

    thanks for any help

  • thank you very much for your time and help and yeah i know its bad im always trying to adapt and use new things ive learnt to make things better. i really really do appreciate all the help youve offered me. also did u do a capx? im not sure where to find it?

  • oh sorry about that let me quickly set it all up for you

    heres a new capx with everything set up so when u enter game. press map in bottom right and after 10 secs an enemy will attack and after it reaches base 3 secs later it will go to battle

  • hi there i did end up adding the end part of the suggestion. didn't help great deal i think. but sorry im trying to understand the code and struggling but here is the capx file.

    u can also see i tried something else which failed

  • cant seem to get it to work when i debug it. says demons have found path but wont move here is a screenshot.

    im sorry to be pain this is first time ive tried something like this but its completely stopping my project.

    Many Thanks

    Update: i did another test to allow the unit to rotate which actually made the troop move towards the enemy but this brings up 2 problems

    1. i dont want the troop to rotate as im using a sideview troop which looks way so is there a way maybe to use custom movement

    2. the unit once reaches troop keeps moving in same direction and not updating.

    also if i gave family the local variable for Pos_X and Pos_Y and change the events to these local varibles would it work?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • thank you so much for replying ive been trying to get turret behavior to work but to no prevail so ill give this a go.

darkrealos's avatar

darkrealos

Member since 3 Mar, 2013

None one is following darkrealos yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies