For anyone interested, attached is an example of how to fix the above referenced function to array issue:
https://www.dropbox.com/s/x2hiqcb3yp2jwyx/Test_Store.c3p?dl=0
I have a .js file included in the files folder and it is loaded in runtime. How would I go about changing the return values in the following function to local or global variables in my event sheet?
function getGoogleTransactionInfo() { return { displayItems: [ { label: "Subtotal", type: "SUBTOTAL", price: "11.00", }, { label: "Tax", type: "TAX", price: "1.00", } ], countryCode: 'US', currencyCode: "USD", totalPriceStatus: "FINAL", totalPrice: "12.00", totalPriceLabel: "Total" }; }
I solved the issue. Had to set each variable to the array individually. I will post the solution shortly, in case anyone else runs into the same problem in the future.
I am in need of some help here. I have the basic beginnings of a shopping cart made from using an older array inventory example. However, after 3 days of testing it, I attempted to add it into an existing C3 project and was informed that the functions used in the .c3p are deprecated. When I attempted to change the functions to the newer usage I was unable to set array data as string, only as numbers. What am I doing wrong here? Even after changing the parameters to only numbers the array will not populate. Attached is the working .c3P file with the older function plugin.
https://www.dropbox.com/s/2raoh55asaxhd10/Array%20and%20Function%20Shopping%20Cart.c3p?dl=0
Any help at all would be awesome.
Sparsha (Yes leaderboard might seem difficult at first, but as it requires only 3 events, an example will be easy to follow)
Sparsha
(Yes leaderboard might seem difficult at first, but as it requires only 3 events, an example will be easy to follow)
Do you have an example of the above mentioned leaderboard in Firebase Realtime-Database PRO?
Is there any way you could post an example of how you did that? I tried adding new parameters as well and it kept messing up the whole table.
That was it! Thank you much for the help. Now, to work on syncing animations.
Here is the .C3P file for others with the same issue.
https://www.dropbox.com/s/5nju75wf067kahs/Simple%20RTS.c3p?dl=0
Thank you. I have corrected that but it is still not working.
I am attempting to make a simple multiplayer that uses touch controls and pathfinding movement for both host and peer. Try as I might I can't seem to get the host to acknowledge when the peer is in touch. Any help would be appreciated.
Below is my .C3P file:
I am trying to use the Photon addon. I can't even connect to the Photon server, just get a black screen on every load. I keep getting the attached errors from the console:
dropbox.com/s/ajh9hhosyb9mm5e/Screenshot%202021-09-21%2012.36.52.png
Develop games in your browser. Powerful, performant & highly capable.
I think the Photon addon is broken. I get a stuck-on-loading black screen just by adding it to a project.
Any chance you can post screenshots or a capx?
Member since 6 Apr, 2011