Hello everyone,
I am creating a rather simple game (player-ship-destroys-aliens kind of thing) but I am having trouble creating the enemy entities. The enemy entities will be placed using random coordinates. Generating the coordinates is no problem, but how do I go about loading the .3ds mesh that will represent the enemies? I tried creating a custom type with a Field in which to save the mesh, but when I tried to Position it, I got an "Illegal conversion error" or something? Also, is there a way to create them without calling LoadMesh for every enemy? I think loading the mesh so many times is ineffective. Thanks.
I am creating a rather simple game (player-ship-destroys-aliens kind of thing) but I am having trouble creating the enemy entities. The enemy entities will be placed using random coordinates. Generating the coordinates is no problem, but how do I go about loading the .3ds mesh that will represent the enemies? I tried creating a custom type with a Field in which to save the mesh, but when I tried to Position it, I got an "Illegal conversion error" or something? Also, is there a way to create them without calling LoadMesh for every enemy? I think loading the mesh so many times is ineffective. Thanks.