Remember me
You are here: HomeForumCyberix3D ForumGeneral Discussioncyberix consumes me a lot of RAM
Welcome, Guest
Username: Password: Remember me

TOPIC: Copying an object during the game.

Copying an object during the game. 3 months 23 hours ago #3299

I am creating my own game. And I have 2 objects: sphere_mesh and cube_mesh. There is a button to create [object]. It should be able to copy the object or create as many as you want when you click it. But I don't know how to do this. Please help. Any help is welcome! :cheer:
The administrator has disabled public write access.

Copying an object during the game. 2 months 4 weeks ago #3300

  • cyberix3d
  • cyberix3d's Avatar
  • OFFLINE
  • Administrator
  • Posts: 699
  • Thank you received: 693
Hello Kirrong Twam, welcome!

You can create a button that spawns an object by adding a button, adding an “If Mouse Click” event to it, and under the “If Mouse Click” event, add a Cube.
Then, inside the cube settings, set the cube’s position to the camera’s position.

Screenshot2024-08-19at9.22.37.png


Here is an example:
www.gamemaker3d.com/player?pid=01664967

Regards,
Cyberix3D team
The administrator has disabled public write access.
Time to create page: 0.103 seconds