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.

AppGameKit Classic Chat / Do I need to load the same object multiple times?

Author
Message
MMT
6
Years of Service
User Offline
Joined: 12th Mar 2018
Location:
Posted: 4th Jan 2021 13:40
Let's say I have a soldier model.
I use agk::LoadObject()

let's say I want another soldier.
Do i have to load the same model AGAIN?

I mean, for sprites you just load an image once and then you can re-use it.

fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 4th Jan 2021 15:56
I think this is what you want to know
CloneObject ( newobjID, objID )
https://www.appgamekit.com/documentation/Reference/3D/CloneObject.htm

fubarpk on Itch...………...https://fubarpk.itch.io/
fubarpk on googleplay..https://play.google.com/store/apps/developer?id=fubarpk

Login to post a reply

Server time is: 2024-03-29 07:20:11
Your offset time is: 2024-03-29 07:20:11