Have a few questions on spawning actors.

KaonaKaona Member Posts: 4
edited November 2012 in Working with GS (Mac)
I am working on a large scale DoTA style 2D platform game and have a few questions about spawning. I have read small bits and pieces about an array system in place but I am trying to find out how it works, If there is not one in place currently than, I will need to go the hard way (roughly 50 actors to represent minions).

My setup right now is using a table for the actor information, I am unable to bind all of the information that I need to a specific actor without some additional workarounds for it. If I have to do so, than I will find a way to make it work.

*Note* This is the windows version that I am currently working with, advise with an apple could help, I will fiddle with features until i find it (assuming that the feature is currently supported in windows).

Also, I found a bug where if you make an Ipad game and reduce the resolution, the touch features on screen will no longer work. So I will need to remake a second game for Iphone/Andriod possibly.

Comments

  • famekraftsfamekrafts Member, BASIC Posts: 834
    edited November 2012
    Creating Dota style game with gs is a big deal, not many have tried it. I myself have played league of legends a lot and I do not think gs will be a good engine for that. The problem is same spawning actors will lag. So using 50 actors is the way to go for now. Use tables as arrays are not there.
  • KaonaKaona Member Posts: 4
    edited November 2012
    Well I found out how to fully reference arrays *(tables not arrays)* now finally so I think this can work for an array system. But I am working on a few ideas as work arounds in case there is a significant amount of drop in cpu power during gameplay.

    I dont need many actors on the field at a time, it is being designed for an Iphone or Ipad, so fewer units that are slightly larger will make it easier for the user to play for the style of game that I am making.
  • famekraftsfamekrafts Member, BASIC Posts: 834
    Give us the link regarding arrays.
  • KaonaKaona Member Posts: 4
    Its just tables setup as an array, did not realize that I made a typo on that D=
Sign In or Register to comment.