Hello,
I'am working on a little game, but I have a problem.
I want the the screen follows the player, so the player is always in the center.
Now my player can move, but I can't get the screen to follow my character.
I tried this:
http://appcodingeasy.com/Gideros-Mobile/Gideros-Camera-MoveBut it didn't work for me.
My next question is, how I can take pictures with the camera of an Android smartphone or an iPhone.
I found this:
http://giderosmobile.com/labs/mediaCan I use this plugin for that?
edit: I tried to download the plugin and saw, that I need to upgrade. I don't have the money...
Is there any other way to do this? I need this for my game
When is the next release going to come and is this plugin included then?
Thanks in advance
Comments
For first question
Check this link:
http://giderosmobile.com/forum/discussion/comment/30138#Comment_30138
And last question I know Gideros labs is available currently only for members who have a current license with Gideros, and I think @ar2rsawseen to create this resource and spend his time in it, he is entitled to be recognized for his job.
I am also glad you're starting you in this world so young, keep it up! >-
[-] Liasoft
I will check the link.
Oh, ar2rsawseen is working at gideros mobile? That explaines why he knows so much about gideros
Thanks again for your help
I tried it and it works, but it doesn't really follow the player. I have to drag the background.
if your game is not so huge, you can use this method:
1- create 3 class background, player, foregoround
background = gideros.class(Sprite)
player = gideros.class(Sprite)
foreground = gideros.class(Sprite)
2- add all game objects to classes(background:addChild(gameObject) and ...)
3-for the movement, move background and foreground inverse (Don't move player)
4- add background, player and foreground to stage
I'm going to try this later
edit:I got it to work
I have another question. You can make 2D Games with gideros, but can I use 3D models, too, so that it looks like a 3D game?
Thanks in advance
I tried to export my game to android. In Eclipse I got the error that it can't export the project because it has errors.
What could be wrong and can I export my game to Android 2.2, too?
Thanks in advance
The app should work on Android 2.2
Was there any specific error messages?
Like there is a tab with Problems in the bottom, were you can see what exactly is wrong. Most probably incorrectly linked Google Play lib?
Usually I try to do Clean, build, clean, build multiple times in eclipse and it usually fixes itself
Thanks for your answer
I'm going to try it again, when I finished my game.
Do you think that the Media plugin or the controller plugin could be in the next release of gideros? This would be so great