b3698c8d-4435-424b-985b-f45a63412709's Forum Posts

  • Story

    You "Rapscallion" have been stomped upon your entire life, it is time to figh.. steal back what rightfully should belong to you.

    More will be unraveled later.

    Gameplay

    Steal and thieve in order to survive, become a ganglord.

    More will be unraveled later.

    Info

    Version: 0.0.0.1

    Day: 1

    Week: 1

    Month: 1

    Events: 20

    Play/Test it here

    Will be added when there is something to play.

  • so in other word you want to have an entire array that would list all of the building ID number and their own populated civilian. To generate a community with people.

    Best way to do it is to create the array object with its own variable instance and then just number what location they are at such as this Building A is 0 building B is 1 building C is 3

    And then for the rest is Men is 0 women is 1 girl is 2 boy is 3 and money is 4

    Now for the array if you want Building B and to know what money it has you can refer the reference in where the coor are which is 1,4

    Now that we have coor finder down if you need to modify it.

    Next you will need to create a function with several parameters

    Basically use the parameter to retrieve a value from the array that you want to use now

    Do a repeat (parameter data value)

    Spawn the created object

    So in other word define on how to find the value of the array and then use that value to spawn the object. If this wasnt what you were looking for you might have to explain what you want a little better.

    Thank you for the reply - i did how ever just got it to work. (I wanted it to create the people belonging to each house)

    -On start of layout

    (local value "Spawn_X")

    (local value "Spawn_Y")

    -For each (building)

    -Compare in the array (loopindex,1)=1

    *System set "Spawn_X" to building

    *System set "Spawn_Y" to building

    *System create "Man" at "Spawn_X"/"Spawn_Y"

  • Hello.

    I got the follow informations:

    There are 8 buildings in this world.

    1 Array

    • sets each buildings UID at 0.0
    • sets how many men lives in building 0.1
    • sets how many women lives in building 0.2
    • sets how many girls lives in building 0.3
    • sets how many boys lives in building 0.4
    • sets how many money they have 0.5

    Now comes the question:

    I want the SYSTEM, to CREATE the humans at their specific building UID (array 0,0)

    how would you do that?

    CAPX link - https://www.dropbox.com/s/v8uq9o10sbtu4ap/ForQuestions.capx?dl=0

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Good lookin stuff! Keep it up from what I can see your project looks awesome! If you have some time look at my zombie last stand game and let me know what you think as well:)

    Thank you for that - i shall keep working, still so much to do and figure out

    -Left some comments on your game, ohhh btw. you should consider leaving a link to the game, on you "feedback" request, on the forum (people would not know where to find it)

  • Changed the graphic style to make it faster to work with, until i know how i want everything to look like - but kinda like this, just needs to look WAY better though

    This is day 3 (after graphic reset) of working with the project, got arrays set up, in order to control everything more smoothly - and now the units go and grab a gun, if they do not have one. When they have a gun they just run to the enemy building.

    OLD MESSAGE

  • Hello.

    I wanna store some waypoint in a array, so i can move my units around in a "tactical" way. But i can not find a way to make the array change the "ROW" value.

    My array i currently set at 10,2,1

    I got a local value called "Row"

    What i wanna do is:

    -On right mouse

    • set array (Row.0) to mouse.x
    • set array (Row.1) to mouse.y
    • add 1 to row

    This returns the mouse.x and mouse.y to the first row, put NEVER picks the next row.

    Now i can see i need some trigger, that tells it to choose the next "row" in the array, but i dont know how

  • Well, to be honest, there is one thing that i did not correct. Yet every time i see it, it annoys me. Including in my own capx's.

    Setting the contents of a textbox each tick is no-no. It is really cpu time consuming. I am mostly to lazy to do something about it, because my laptop does not care that much. But if you take the same thing to mobile, it is really a no-no.

    heh i will keep that in mind thank you again.

  • I made a few little adjustments with performance in mind.

    (not correcting errors, dont think there are errors, expect maybe the nearest not always picking, so it is up to you what you do with it)

    https://www.dropbox.com/s/k7cjp9shgu6dj ... .capx?dl=0

    Hey.

    Just looked through what you did <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile"> seems pretty smooth, it did open my eyes for other and "simpler" ways to do things so THANK you.

    Btw. - i uploaded this version to the arcade, and the CAPX so other people might use it.

  • I made a few little adjustments with performance in mind.

    (not correcting errors, dont think there are errors, expect maybe the nearest not always picking, so it is up to you what you do with it)

    https://www.dropbox.com/s/k7cjp9shgu6dj ... .capx?dl=0

    Hey - thanks alot <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    i will take a look at it when i zombie my way back down to my computer <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy"> always nice to seem what other people can make.

  • Hi ! Seems to work pretty nice. Keep up the good work, I'll look into that other game.

    Thank you for the motivating words

    But i hope i can make a mini proto-type sometime this year.

  • Hello.

    I made this game to test some mechanics i wanna use in another game - I just need more experience before i can make that happen. And i got the experience i wanted out of this, so I am not gonna refine any further on it. - it got the CAPX on it via. the link

    Game information

    4 waves - constant flow of enemy´s

    1 turret - tracks and shoots enemy´s

    simple reset functions.

    http://www.scirra.com/arcade/other-games/coremechanics-v1-11917

    Know "bugs"

    Turrets can be stacked.

  • Just finished the rough draft of the main characters, i wanna include in my game - now they just need changed stance and/or equipment. (and animations at some point)

    OLD MESSAGE

  • Concept drawing - finally decided where i wanted to go with the colors of the soldiers, and this is it.

    The picture is 64x64 so its very tiny

  • Looks Good!

    Thank you - More will follow in due time