ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > CopperCube > Help with CopperCube
forum topic indicator Help with functions on android
person icon
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?


person icon
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...

person icon
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.

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

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

person icon
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

person icon
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!

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

physic and shaders doesn't work on android.

person icon
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 assemoji icon_happy
embedded external image
🔎︎


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

Awesome! Something I'm looking forward to see!

person icon
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 onemoji icon_grin
embedded external image
🔎︎


person icon
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:










 

  

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


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






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