darkrealos's Recent Forum Activity

  • can anyone help me pleasE?

  • https://postimg.org/image/vapsnoc5n

    can anyone tell me whats wrong with this code? when i debug the game

    Gamestate = False

    and WorldtimerActive = False

    yet the timer still goes up and ive check there is nothing else triggering the timer

    also i realised the 3rd and 4th code with WorldTime is hidden they are WorldTimerActive for 3rd and worldtimer for 4th

  • thanks for the reply and i never had random spawning, but i was thinking of trying UID to pinpoint, but i felt this was the wrong approach so i thought i would ask everyone before experimenting, im using families now and yeah your right they work a treat

  • i knew something simple was out there

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • okay, im gunna have about 15 plots which u can click

    once clicked it will bring up a menu off buildings

    you can click on a building and it will build it at the selected plot

  • hi there thanks for the reply, i did debate not using families but i thought that would require alot of coding and was wondering if i could make it easier but it seems i have to do it the long way

    thanks again for replying

  • hi there im trying to make a building system but im trying to make it universal and save tons of coding by using families. but im not sure how to use families to do what im trying i was debating using UID but im wondering if anyone can help

    so how it starts is ive got loads of building plots (all in 1 family)

    on family clicked i want the system to know what object was click while bringing up a menu off what to build, then on building clicked place that building where the selected building plot is.

    i was debating doing it on family clicked set variable to family.uid

    and then somehow construct building at uid.variable. the problem is i hear UID is very unreliable

  • oosyrag i worked out what you ment and it worked. i thank you kind sir .

    ok so i was wrong i got the next one working but now it doesnt count down both of the arrays just the first one thats added any ideas?

  • hey thanks alot for the replies. did i mention im new to arrays? but to explain the array better im trying to have the array have research names on x axis and the timer until its research on the x axis below it so y1. then the plan is when it hits 0 ill use if array contains 0 put cur x into another array with all research items. also im trying to do it in an odd way as you might be researching loads of different things at the same time with different times.

    p.s i dont usually bump but this problem has been giving me a headache all day

  • can anyone enlighten me please. i think the problem is with this code set value at (array.curx , 1) to array.curvalue - 1

  • hi there ive got a problem which is annoying lol.

    im new to arrays but i thought id start using them in my project as its important to learn arrays. so i started off with something simple which follows.

    on object clicked - push "Barracks" on x axis (((array)))

    set value at (array.curx , 1) to globalvarible * 120 (((360)))

    so this adds an array of Barracks,360

    which works out perfect, so the next bit of code i want to happen is every 1 second subtract 1 from the 360 until it reaches 0 so i used code

    for each x element

    every 1 second - set value at (array.curx , 1) to array.curvalue - 1

    timer = true

    the reason ive done the code like this is i plan to add several more items to the array each with its own timer in Y, so i constantly want it to subract 1 from each Y until it hits 0 but the code just sets the array to (barracks,barracks) so im not sure what im doing wrong. i hope this makes sense.

    im sorry havent provided a .capx file as its a secret project also a screenshot would be hard as the codes are all under seperate categorys on different pages which would mean alot of copy and pasting

  • hey ive been wondering this for ages, as games with loading in between layouts with a loader page for me feels more like a bigger more polished game. ive seen some examples but nothing seems good, need something more complete

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