Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Noob question.. :D

Author
Message
Tischk
17
Years of Service
User Offline
Joined: 14th Jan 2007
Location:
Posted: 15th Jan 2007 15:01
I have like a coin in my game.. And I was wondering is it possible to place out the coin more then one time so I don't need to make a new object for every coin..

If its possible.. how?

Tischkman Productions
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 15th Jan 2007 16:30 Edited at: 15th Jan 2007 16:30
CLONE OBJECT
INSTANCE OBJECT.

Use clone where you want to change certain attributes, such as texture. Use Instance where they will be exact replicas.



Roxas
18
Years of Service
User Offline
Joined: 11th Nov 2005
Location: http://forum.thegamecreators.com
Posted: 15th Jan 2007 16:30 Edited at: 15th Jan 2007 16:31
*NVM* Batvink was faster

I have no soul.. I nobody.. I have no heart.. I have felt in the darkness.. Im the darkness.. Whatever..
Tischk
17
Years of Service
User Offline
Joined: 14th Jan 2007
Location:
Posted: 15th Jan 2007 17:20
Yeah but i still have to do a new collision.. So if I want like 100 coins.. i got to make 100 collisions.?.

Tischkman Productions
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 16th Jan 2007 01:30
Yes but you can use a for/next loop to do it many times rather than line after line of the same code.

Login to post a reply

Server time is: 2024-09-25 15:32:09
Your offset time is: 2024-09-25 15:32:09