Map & enemies

View previous topic View next topic Go down

Map & enemies

Post  eloasis on Fri Sep 25, 2009 10:06 pm

Hi,

I'm loading a map/place and want to add enemies. I wanted to know which will be the best way to add the soldiers.
Load map.sio2 in a layer and enemies.sio2 in another layer and duplicate enemies objects?

Thanks

eloasis

Posts : 16
Join date : 2009-09-10

View user profile

Back to top Go down

Re: Map & enemies

Post  sio2interactive on Sat Sep 26, 2009 5:35 am

Yup, what I would do is keep the map.sio2 and enemy.sio2 as 2 separated file, then use empty mesh inside the map.sio2 to pinpoint the location of the enemy.sio2 that Im going to duplicate in code.

Check tutorial061 for a basic example and MeditationGarden source for a more advanced example.

_________________
SIO2 Interactive
Free Open Source 3D Game Engine for iPhone and iPod Touch
http://sio2interactive.com
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 38
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: Map & enemies

Post  eloasis on Sat Sep 26, 2009 9:43 am

sio2interactive wrote:Yup, what I would do is keep the map.sio2 and enemy.sio2 as 2 separated file, then use empty mesh inside the map.sio2 to pinpoint the location of the enemy.sio2 that Im going to duplicate in code.

Check tutorial061 for a basic example and MeditationGarden source for a more advanced example.

Thanks sio2!
Working like charm!!

eloasis

Posts : 16
Join date : 2009-09-10

View user profile

Back to top Go down

Re: Map & enemies

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum