ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > CopperCube > Help with CopperCube
forum topic indicator FPS camera control work in android
person icon
swordmaster
Guest
Quote
2025-03-27 00:07:56

The FPS camera control behavior that come with coppercube work in mobile control behavior from coppercube?
How the player control the direction of camera look? touch and pressing any part of screen?
I know the mobile control from coppercupe allow control de moviment of camera if is foward, left, right, back, but I don t know how the mobile control work with direction of camera look.
Someone know if the third party behaviors and action like sammy third person control and first person control work in mobile too? I know the mobile control behavior allow to emulate one key pressed or one key released, but I dont know if some third party behaviors and actions will work or have suport to android exportation?
Thanks for attention

person icon
sam_grady
Registered User
Quote
2025-03-27 07:00:44

embedded external image
🔎︎


FPS camera control on Android is implemented very simply: the 2D touch input lets you move the controller, while swipes rotate the camera. The result is a pretty convenient control scheme (relatively speaking - I’m not a fan of playing games on a phone, let alone coding for one).

The real issue is that CopperCube is a headache when it comes to Android. A lot of things that work fine on PC just break on Android, forcing you to find workarounds and hack together fixes. But as far as the FPS camera goes, it works well, so there’s really no need to reinvent the wheel - though it’s definitely possible if someone wanted to.

I never even considered writing an FPS controller for Android (mainly because the default one works just fine). But I’ve made several third-person controllers before, and I can say one thing for sure - coding for Android is a thankless task. I find it frustrating and just downright unpleasant.

EDIT:
Oops, I didn’t notice right away that the colors are wrong in the picture emoji icon_grin

person icon
swordmaster
Guest
Quote
2025-03-27 21:26:29

Thanks for explain sam grady, fortunaly there is very possible for what I want, the simple fact of the first person and third person camera work is very good, the reason for I made the question is because I want to make one web game made in coppercube with support to mobile, for this I need the camera e others basic controls work well in mobile and with touch screen control, I make one small search and I saw there is not much web games with suport for mobile, and I made some test and web games work very well in mobile hardware from this days.
Other interesting thing I didn t test wet, is export one web game from coppercube and convert to android game, I made this conversion with web games from another engines, and the results was good if compare to native android exportation. But I didn t test wet with coppercube.
One another question I have is, the joystick extension work or have support to web games and android games from coppercube? there is some list with joysticks suported by the extension? I read the post but I became little confuse of the list of supported joysticks.
Thanks for attention

person icon
guest_Guest
Guest
Quote
2025-03-27 21:45:58

Try cheking neophyte website JIC hasn't posted all of the stuff from there to itch.io

https://vazahat.github.io/ccb_pl...

This changes to random vertex color but you can edit the code to change it to a specific color for your node object.

person icon
swordmaster
Guest
Quote
2025-03-27 22:03:07

Thanks for answer my question from the another post, I saw this plugin before but I didn t discovery how to change the plugin in one action extension, I read the coppercube documentation about create behaviors and actions, but I am not good in programing, normaly I use visual programing languade to make the most part of work independent of engine I use, the write code is one interesting thing and one big box of problems, some times the code don t work others without too much explain or none explain the code work, than after one time the code broke something or enter in conflict with some other code, And one big problem of coding is the version of languade the each game use in each version. Belive or not I tried code during sometime in past in godot, and the begin was heaven, I was follow the tutorials and video tutorials than the problem appeared I don t know even what but something went wrong and that dammit inteligent correct code tool that would help didnt help in nothing to detect the problem, only show error and at today I don t know what I didn t wrong. But thank for try to help me

person icon
guest
Guest
Quote
2025-03-28 20:11:28

@swordmaster

check your post about sven.


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 |