georeb's Recent Forum Activity

  • I use construct 2 and was wondering if anyone had a capx for conveyor belts top down view like factorio , i have made some but they are not the best

  • Thanks for reply

    What i want to do is a bit more complex than i explained but i think ive sussed it now any but thanks again

  • I am making a factory game where if i put down a factory that produces 1 metal the display will count up 1 metal every 5 second and if i put another metal factory down it will count up 2 metal every 5 seconds. now i put down something that uses metal it will take the amount need away from the metal

    what i would like to be able to do is a little display as t weather the metal count is in the plus or minus situation so that i know when to put more metal factorys down

    could anyone help me with this please as i cant find anything on it

    i am using construct 2 but if its show in construct 3 i should be able to work it out.

  • All I can say is WTF is going on here 4=6? argh, what are you trying to do? I remember you posted something about how to add runways that had been found and I suggested pushing them to an array, but what exactly are you doing with them? My suggestion was to add runways that are selectable to an array so you can choose randomly between the selectable options, if it no longer becomes available for selection because it is full or something, you can delete it from the array. Can you explain exactly what you want to happen, maybe an array isn't the way but at the moment it is not clear at all about how your game works, the intention of the runway system and what occurs when they become unavailable.

    thanks for reply i have figured it out now

    to explain it in a bit more english i have 3 known runways available to me and i am at runway 1 this runway will give me passengers for runways 2 or/and 3 so i can now fligh to 123 picking up passengers and dropping them off

    now say i find runway 7 i have now got to make sure runway 1 only give passengers to runway 2 3 7 and so on

    now say i find 14 then 6 then 8 as you add runways it starts getting complicated how to sort the passenger and runways together BUT I HAVE FOUND A WAY

    bit it takes a bit of code to do it so i was just trying to find an easy way

  • just to add to this to make it a bit easier to get what i mean

    heres the array example

    0 0

    1 1

    2 2

    3 3 all these are set at start then i start the push as runways are found

    4 6 found runway 6

    5 5 found 5

    6 7 found 7

    if i am at runway 6 i cant use the array at 1 and 2 and 3 and 4 and 5 and 6 and 7 because aaray 4 is 6 so i dont want 6 at 6

    i hace got around this by using if array at 4 is 6 then use 1 2 3 5 6 7 and as you fine the runways in no order array 7 could be the 6

    i hope this makes it clearer as to what i am trying to do

  • ok i am making a semi 3d flight sim game i start with 3 runways and another load of them you have to find.

    Each runway has passengers and mail that has to go to another runway so if you are at runway 2 you get passengers and mail to go to runway 1and 3 only

    i have made and array where 1 is 1 2 is 2 and 3 is 3 so when i run into a runway say number 8 i push 8 on the end of the array giving me a choice of 1 2 3 or 8

    now the problem is when i start finding more runways and the passenger choices become more. Because when i make the choose (array.at(1),(array.at(3),(array.at(8)

    its fine but i am up to six runways and its getting a bit of a pain to start telling the program if at runway 8 and array at 8 is 8 then it cant use it this starts getting complex over all the runways so i was wondering if anyone has an idea of how to make this a less time consuming pain in the but thing too do

    THANKS IN ADVANCE

  • Choose is limited to a fixed set of numbers. If you need a flexible set, an array is the best choice.

    Yes mate I gathered that I was just hoping choose was more flexible Never Mind Thanks anyway

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yes Mate thanks for response , I am Using arrays with push at the moment but amending the choose command would be a whole lot less time consuming for what i am doing. (if theirs an easier quicker way il take it ..)

  • I dont know if there is a way to do this but lets say i have the command

    Choose(2,5,7,9) and i want to add 15 on the end

    is there a way to amend the choose command and just add the 15 to the end the number 15 could be any anumber depending on what item the number relates

    this is why i need to amend and not just change the string thanks for any info i get

    i

  • I sussed this out before reading this by reading on google and trying things and funny enough it is nearly exactly what you are saying plinkie so thank you anyway as you would have helped a lot il check the drop box thing as well as any info is good info THANKS ALL

  • I am creating a air plane cargo and delivery game with exploration to find more airports.

    You start with 3 airports , if you are at airport 1 it will give you passengers and cargo for airport 2 and 3 --choose(2,3) nice and easy

    if you are at runway 2 you can only get passengers and cargo for airports 1 and 3 -- Choose(1,3)

    now while exploring you may find another airport to add to list this could be runway 4 or 5 or 6 or 7 and so on

    as you can see i cant just add a ,4 to the choose command as it may be airport 6 i find first so i need to add the 6 if i find runway 6

    for about 6 airports i could probably do all combinations of the choose to sort this but i am going to have about 30 airports

    so i need to add say runway 15 only if i find it

    So is there a way that i can alter my choose line to add a number to a ready made choose line

    Choose(2,3) as ma at runway 1 i fly off and find runway 7 and when i do make the choose line choose(2,3,7) then i find runway 5 choose(2,3,7,5)

    i hope this is easy to understand. HELP WOULD BE MOST APPRECIATED

  • thanks mate its working out the control off the enemies and how i grow the army on there death but il have a go

georeb's avatar

georeb

Member since 3 Feb, 2013

None one is following georeb yet!

Trophy Case

  • 11-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

13/44
How to earn trophies