gumshoe2029's Recent Forum Activity

  • You can use rexrainbow 's SquareTx plugin. It handles all of that stuff behind the scenes.

  • I feel like I am at a point of over-thinking what I am doing.

    This a common problem for me also, and one of the main reasons I always try to follow KISS (Keep It Simple & Stupid) methodology.

    Assuming I understand your problem correctly, you are trying to create links between specific animation frames for cards that match. You will probably need to store these relationships in a metadata object somewhere else (maybe a JSON array/object?) and then reference that object whenever you are trying to determine matches.

    Something like:

    [

    [0,2],[1,4],[6,3],... etc]

    where the numbers in this array of arrays are the animation frames in question.

    This is probably not organized well. Maybe you could even do a table like:

    0 1 2 3 4 5 6 7 ...

    0 x x

    1

    2

    3

    4

    5

    6

    7

    .

    .

    .

    then have some character that indicates whether the two animation frame indices are related. This would also prevent overlaps in your data.

    You might even be able to make this work in a simple 2-D construct array where the array indices are corollaries for the animation frame indices.

  • What kind of data are you modeling? Is it 1 or 2-dimensional?

  • We had an issue like this with galaxy generation. I fixed it similar to facecrime 's solution, by generating random whole numbers, back checking versus existing numbers then spacing it via a preset limit (like padding 0.3 of 1 unit of space) to prevent crowding.

  • Regex compares text very well.

  • Can you separate the icing edges from the icing thickness?

  • Can you create a "lineOfSight" invisible sprite on the player level and assign it the same relative position on the player layer as the background monster?

    You would probably have to use a CanvasToLayerX/Y kind of thing. Then measure the line of sight from this invisible sprite?

  • You might have to reset your index at the end of the alphabet for it to "loop."

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Maybe try using a linear equation to set the speed?

  • I don't know that Construct supports this naturally. You would have to build a custom plugin using something like this: https://github.com/mlocati/js-webcam-screenshot

  • How many Constructs are you willing to sacrifice? And what is the defense/attack capability of Constructs vs Unities?

  • You can do anything that JavaScript can do, which is a LOT. We are using randomized input from databases, config files, and other sources for our game. So, yes, all of that is doable.

gumshoe2029's avatar

gumshoe2029

Member since 4 Mar, 2014

None one is following gumshoe2029 yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies