Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Announcements and Showcase
Multiplayer

Danila
Guest
Quote
2020-04-25 22:53:10

Hi everyone, just wondering... Can made a multiplayer game on Android?


count2rfeit
Registered User
Quote
2020-04-25 23:42:23

oh boy.... I do get tired......

but NO! CC isn't designed to make any kind of multiplayer games.


Danila
Guest
Quote
2020-04-26 18:04:13

I just asked if it was possible or not... The goal was to FIND out if it was possible or not.


count2rfeit
Registered User
Quote
2020-04-26 19:35:25

o.k., but.... You have asked about this before. Multiplayer has been discussed MANY times on this forum.

why keep asking? if you want to do a multiplayer game, go ahead and figure out how to do it....

you know what - I am really done with this forum. C'Ya


yalazkan
Registered User
Quote
2020-04-27 13:22:24

wrote:
oh boy.... I do get tired......

but NO! CC isn't designed to make any kind of multiplayer games.


At least for Windows, i dont think so. By using javascript and querying a database, you can create some kind of multiplayer games.


j9907
Registered User
Quote
2020-04-27 18:22:48

It's most definitely capable of multiplayer games. How sophisticated is debatable, but I'd argue if you actually knew enough JavaScript + database management you could make something pretty complex.


Jaime Zegpi
Guest
Quote
2020-04-28 17:12:09

...
this works for you??
https://jaime.zegpi.cl/lab/coppe...

//--------------
1.- Open link in One browser
2.- Open Link in NEW incognito Browser

There you have a "Multiplayer" experiment in pure Coppercube script.

In Native Android Works Similar.



Many people spect much from Coppercube.This is an Awesome Software developed for only one person... if you need a high standar or make a AAA+ game , use a game standar engine... unreal o unity etc...

I works in Unreal, Unity and play in Coppercube as playground.


AnAverageGuest
Guest
Quote
2020-04-28 22:10:40

It's sad to know that CC can't make multiplayer games and lacks other basic functions that other engines have.


j9907
Registered User
Quote
2020-04-29 12:56:29

AnAverageGuest wrote:
It's sad to know that CC can't make multiplayer games and lacks other basic functions that other engines have.


Quit spreading false information. It can make online multiplayer games but you have to code it. Implying it has no network functionality is factually wrong... Look into stuff before commenting next time. It'll help you in life a fair bit!


AnAverageGuest
Guest
Quote
2020-04-29 22:35:09

wrote:
AnAverageGuest wrote:
It's sad to know that CC can't make multiplayer games and lacks other basic functions that other engines have.


Quit spreading false information. It can make online multiplayer games but you have to code it. Implying it has no network functionality is factually wrong... Look into stuff before commenting next time. It'll help you in life a fair bit!


Well, how am I supposed to believe that it can even though no one has done it yet? It's been like, 9 years of people just talking about multiplayer on this forum yet, no one's done it.


bracer
Registered User
Quote
2020-05-01 18:29:21

ccbDoHTTPRequest(url, callback)
ccbCancelHTTPRequest(connectionIdToCancel)

Note: This function is not available in the editor.

ccbDoHTTPRequest() makes a GET network request via HTTP to any web server, and ccbCancelHTTPRequest can cancel this request while it is running. This allows to communicate with any web/database/multiplayer server with ease. For ccbDoHTTPRequest parameters are:

url: set it an URL to request, like 'http:://www.example.com' or similar.
callback: A callback function which will be called with the received data once the request is finished. This will also be called if the request ailed, with an empty string as parameter.


The function returns an unique Id, for identifying this request. You can use this id as parameter for ccbCancelHTTPRequest(), to cancel the running request, if it takes too long for example.

Note: On some targets, like WebGL and Flash, it is not possible to do cross domain requests because of security reasons. Usually you should only do requests to the same server your script is running on.

Examples:

function finishedRequest(dataReceived)
{
print("finished request! Data size:" + dataReceived.length);
}

ccbDoHTTPRequest("http://www.ambiera.com/index.html", finishedRequest);

Downloads the front page of www.ambiera.com and shows how many bytes the page contains.

I just wish the documentation went into more depth, what is contained inside the variable object "dataReceived" ?


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Interna?ional" (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