Aliigames's Recent Forum Activity

  • You would have to go through every point of the multidimensional array every time you wanted to detect that one value, that would take a ton of processing power and would most likely halt your game if your array is substantially big, How do you generate those one values ? Isn't there any way to keep them in a one-dimensional array as multidimensional tokens? For example: "4/2/5"

    Well, I'm trying this 3D space in just 2D space. So every time I'm moving an object the array deletes itself and refreshes with new 1's. That get input from the objects own X,Y (adjusted). First I tried 250x250x250. The game just froze here. Then I try lower numbers until I reached a good non-laggy game. It was only 38x38. But I could just try with initial variables, I guess it would work the same way.

  • So my for example, i have a 1 in my array and everything else is just 0. Now i want to know what event i need to use to detect where that 1 is in my array by it's coordinates.

    How do i do that?

  • So just as the title says how do i do that?

  • So in the game right know, you are going around collecting objects with your mouse, when you collect one it will just disappear (I know how I can make them rotate just not "swirling" around the mouse). So does anybody have an snippet of code or idea on how to make objects "swirling" (what I mean I like a cool way of rotating around it) around a point (the mouse)?

    I don't know if when you move your mouse, the objects should try to keep up, or just stay in the same position from mouse always.

    Please let me know if you get confused, the explanation is complicated.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • So lets say i want construct to find 10 numbers between 0 and 100. But it must not chose the same numbers more than once! How do i do that? (It is probably easy but i just can't figure it out right now :/)

    It may involve an array?

  • app.box.com/s/k718s35ygmflx5kukj1g0p0z4zda363o nodeConnect.capx

    Thanks a lot man! Quick and simple!

  • So exactly as the title says i want to know how to make a series of events and actions that will make lines arrange themselves between objects. The first picture shows what it would look like at the start, but when you run it, it will look like the second.

    Note that all the lines and squres are only 2 objects not 8. I find it easy to just make an instance variable and give all the sprites different numbers.

Aliigames's avatar

Aliigames

Member since 12 Nov, 2016

None one is following Aliigames yet!

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies