99Instances2Go's Recent Forum Activity

  • There are a lot of farmer games. But i did not take it as a farmer game from your first post. More as a puzzle. With things only solvable on the right time and visual clues (the weather) when it is the right time. Both in positive way ( there are things that you only can do when it snows) as in a negative way (some things are not allowed when it snows).

    Now that tree would be deep. And certainly interesting.

    2 (day/night) * 4 (weather conditions) * 20 (say 20 objects) + 2 (day/night) * 4 (weather conditions) * 20 (say 20 combination of objects)

    That is what i (personally) got from your first post.

  • I did't play something like that yet. Not going to easy to set up. The logic tree gonna be big and deep.

  • Well i dont understand the question. I have no idea what you exactly want.

    I notice a question (from 30 may) that implies that nothing is placed on run time. I assume this is still true, that everything is set up in the layout. I have no idea if there are objects destroyed and/or created. How can i, you dont share a .capx ?

    So lets walk trough a few scenarios.

    1/ You want to go back to the basic set up, but want to keep global variables as score ...etc. Use 'Restart layout'.

    2/ You want to go back to the basic set up, and reset the global variables. Use 'Restart layout' + 'Reset global variables'

    3/ Things get created and placed in a random way on layout startup. And you want to go back to to exact the same set up. Assuming that later on objects are created that dont belong to the basic setup. Give each object a instance text variable 'backup' and a instance boolean 'base'. Set base to true for the objects that you randomly create in the setup. Set 'backup' to self.AsJSON during the creation of the setup.

    When you want to go back to the randomly created setup .... loop trough all objects. If 'base' = false then destroy that object, else use 'Set from JSON' to 'backup'.

    Option 1 should be enough though. Explain why it is not what you need ?

  • Just add any new post to your other topic.

    That brings it up in the recent topics list.

    Just, plz be so polite to wait like at least a day for reply's, because time zones are involved.

    The forum is a worldwide thing.

    Now. Why do you have no reply yet ?

    I am afraid that none understands the question (i do not, but then again i am not the smartest here).

    Maybe it is time to rephrase the question.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • This is a (weak) proof of concept that it is (in given simple base example) possible to do it with a rotating Physics object. Just got to do every and any movement with Physics. Or, just stay in the Physics world. Pin dont count as physics, as already pointed out.

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

    Then again, if you rotate the world and adjust the angle of gravity, the possibility's are endless. It is just making a switch in the mind and looking at the problem from a different view.

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

  • Depends on the needs.

    Restart layout

    Restart the current layout. Note that unlike Go to layout, this action resets all event groups to their initial activation state. Global variables keep their current value - they are not reset. To reset them use the system action Reset global variables.

    Recreate initial objects

    Recreate the objects in a rectangular area of the layout as they appear in the Layout View. In other words, this restores a section of the initial level design. Note that this does not destroy any existing objects, so if used repeatedly will create multiple objects sitting on top of each other. Only objects of the given type are created, or alternatively a family can be passed and all objects belonging to that family are recreated.

    Reset global variables

    Reset all the global variables in the project to their initial value.

    Reset persisted objects

    Across the entire project, reset all objects using the Persist behavior to their initial state (as if the layout has not been visited yet). This is useful when restarting a new game from the beginning again.

  • You can give more sprites (bundle them in a family if needed) the 'Scroll to' behaviour. The camera will centre on them.

  • Share the project.

  • Based on the first selfie, this is what you try, or very close to.

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

    The second selfie makes no sense to me.

    About the While loop. The events run in a loop already. Use any other loop only if you want an iteration to happen inside 1 tick. If you update graphics in a loop, and therefor inside the time of 1 tick, you will never see them updating, besides there where the loop ended, because the drawing happens at the end of every tick. Hence the term 'Frame Depended'.

    About the 'and never lets go'. The text-box that you draw is 'in focus'. Meaning, it is stealing the mouse. A text-box is a form element. It does not live inside the canvas. It lives on top of the canvas in its own world. Basically canvas and form elements are different windows. If you have two windows on your desktop, the one that is in focus is getting keyboard and mouse changes. The other dont.

    Just disable the object, so it can not switch to 'in focus'.

  • Or bring all words into the array.

    Choose by ...

    Index = floor(random(0,array.width))

    word = array.at(index)

    use that action Array > Delete to delete the entry at x = Index to exclude it from the next random choice.

    When the array.width = zero, then all words are used.

  • It is a Form Element, it its not 'on a layer somewhere in the canvas'. It is a 'form on top of the canvas'.

    You want it into the canvas, then you got to make one out of sprites.

    Use a Tiled Background for the bar, easier.

    Plz check the manual for it.

99Instances2Go's avatar

99Instances2Go

Member since 12 Feb, 2016

Twitter
99Instances2Go has 2 followers

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies