Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Help with CopperCube
Few questions?

starx78
Registered User
Quote
2023-05-20 12:07:47

-In my Minecraft clone game, I want to create a large terrain by cloning boxes with health and game player behavior, but there is lag. Are there ways to avoid this lag?

-I want to use boxes with do something behavior when I click with the mouse, but when I use this, the object behind it with the same behavior is also counted as clicked, I want only the first clicked object to be counted?

--how can i make save system in my minecraft clone game, save and load the location of each cloned block?

-I'm adding an image to 2D text areas, I want some of the image to be transparent?

https://dosya.co/ayku72qpy0a1/minecraft_clone_v1.0.exe.html


Aiming_bullets
Guest
Quote
2023-05-20 12:26:15

There is already a Minecraft clone, called Coppercraft created in CC by user @SmnMhmdy, you can ask him, he is not active in the community though. but his game was amazing.


Sam Grady
Guest
Quote
2023-05-20 21:59:53

best way for minecraft is use 3d array and not use node clone (more clones more lag) use mesh created by array


starx78
Registered User
Quote
2023-05-20 22:06:04

What is 3d array?
I not understand


Sam Grady
Guest
Quote
2023-05-20 22:13:46

https://developer.mozilla.org/en...

3d array can be imagined like big 3d box of small boxes


Sam Grady
Guest
Quote
2023-05-20 22:14:46

i will try to explain you in picture so wait


Sam Grady
Guest
Quote
2023-05-20 22:50:54

🔎︎



Guest
Guest
Quote
2023-05-20 22:54:24

just be aware that about 4500 cubes you will start to see a steady decline in FPS which is why that coppercraft is just one minecraft cell. i say 4500 because I've done performance tests and that is when my computer starts to dip. at about 150,000 polys I am at 30-40 fps. that's around 12,000 cubes or so. you will need some means to dynamically load/lod the cubes if you want to keep your polys down and have larger worlds.


Sam Grady
Guest
Quote
2023-05-20 23:14:31

🔎︎

for make best performance use algorithm for delete polygons that not use


Sam Grady
Guest
Quote
2023-05-20 23:16:06

guys just read how minecraft is works and you understand all


starx78
Registered User
Quote
2023-05-20 23:43:36

I think that in order to create a minecraft world without lag problems, nearby game elements and geometry must be interacted with, distant game elements and geometry must be hidden by coding. probably without coding is a difficult and complex :)


Sam Grady
Guest
Quote
2023-05-21 00:28:57

without coding minecraft can't be done even on base level


Sam Grady
Guest
Quote
2023-05-21 00:33:42

if you look at code of Coppercraft by SmnMhmdy you will see lot of code based on 3d array so this part is important and can't be done without js


Guest
Guest
Quote
2023-05-21 03:01:39

the first wisdom you should gain is a cube is 6 planes...


Sam Grady
Guest
Quote
2023-05-21 03:29:27

but second one is that if around cube (in 6 direction) other cubes, this one got no plane
🔎︎



Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "In?ernational" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact