Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Help with CopperCube
Help with functions on android

SamGrady
Guest
Quote
2024-04-11 19:58:08

Am I the only one experiencing issues with Android games? None of the simple functions I've written in JavaScript for Android seem to work on my phone.
However, when I write code without functions, it works fine.
Is this normal, or am I doing something wrong?



SamGrady
Guest
Quote
2024-04-11 20:15:17

And what about the width and height of the 2D overlay? I can't seem to change it from the code... There are a lot of other things too. I've just started using Android, and I can't understand why nothing seems to work...


serge
Registered User
Quote
2024-04-11 20:47:42

Those functions won't work on android only windows and Mac. Only FPS camera works fine with android. Most of the basic functions can work with android but the script will not work. I already built three games.


SamGrady
Guest
Quote
2024-04-11 20:53:24

So, I can't write games for Android... That sucks.


serge
Registered User
Quote
2024-04-11 20:56:29

You can write scripts for android games but you have test the script first.

@hadoken scripts works for android


SamGrady
Guest
Quote
2024-04-11 22:19:01

I don't know how he's doing it, but I'm starting to get the hang of it. I'm just using code in 'every few seconds, do something' and 'before the first drawing, do something' blocks. The problem is, I can't use functions, so the code is going to be really messy. But I'm excited about working on an Android project!


serge
Registered User
Quote
2024-04-11 22:36:31

physic and shaders doesn't work on android.


SamGrady
Guest
Quote
2024-04-11 23:21:06

Anyway, for now, I've written a third-person camera. Now, I need to write the controller, but I feel like it's going to be a real pain in my ass
🔎︎



serge
Registered User
Quote
2024-04-11 23:29:05

Awesome! Something I'm looking forward to see!


SamGrady
Guest
Quote
2024-04-12 19:14:13

Okay, I've gained a better understanding of making Android games on CopperCube and managed to write a basic controller... What can I say? CopperCube is still my favorite tool, but I'm starting to hate it more from now on
🔎︎



serge
Registered User
Quote
2024-04-12 19:19:24

Coppercube still my favorite game engine too. I like the script it looks awesome!


Create reply:


Posted by: (you are not logged in)


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