Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Viren

#1
Support / Re: Simple Game Bones-android game
February 09, 2014, 02:51:36 PM
Yes Sir! you are getting it rightly.  :)
By the way I don't know basics of such game :(. How to load a scene.
I hope you are getting my point. I want to make a game in which ninja continuously run on road avoiding obstacles.
what to do to load a road in scene. I have tried to load a 3ds road. but it is just a part. i want to load a road on which ninja continuousely runs( so sorrrrryyy for such a silly and childish questions   :( :()).

There is a defined animation of walk of ninja. Now simply how i can achieve a scene which seems that ninja is walking on a road. user sees it from behind(like in temple run).

I want to make a mobile game with min. SDK 2.3.6
#2
Support / Simple Game Bones-android game
February 09, 2014, 09:01:06 AM
Hello!!
Firstly Thanx to this forum which helped me lot. Now I want to make a simple game in which ninja character( downloaded Bones-android ninja from your forum) continuously walks on the road( like temple run)  and avoids obstacle. this is the basic funda or a concept of the game. I have made a basic fighting game using JPCT-AE. There is a much difference in the concept.

I don't know what is the  concept or the games in which character moves in some area or in some castle etc. How such process is carried out??? or if I come to the point of game which I want to make how I would be able to seem ninja moving or walking on road?? Does such thing could be carried out through camera movement.

I have loaded a 3ds road and tried to give its movement on z axis :P( I know doing a silly try)

Please help me to get out of this.

Thanxx in advance.. :) :) :) :) :)
#3
Support / Bounding screen limit
January 28, 2014, 03:02:15 PM
Hello Sir!
Sir, I am working on an android game. Firstly, I have made collision between characters through collision detection method of JPCT-ae.
but it was not satisfying. Now I have carried out it based on action and distance between character as follow:

SimpleVector dist=ninja_cpu.getRoot().getTransformedCenter(). calcSub(ninja_user.getRoot().getTransformedCenter());
if (animation_user==2 && dist.length()<3.5*NinjaWidth){
BattryLevelUSER.setProgress(counter_user--);
}

and similarly for opponent
SimpleVector dista=ninja_user.getRoot().getTransformedCenter(). calcSub(ninja_cpu.getRoot().getTransformedCenter());
if (animation_cpu==2 && dist.length()<3.5*NinjaWidth){
BattryLevelCPU.setProgress(counter_cpu--);
}

It works fine sometime but  sometime it doesn't works( seems if condition doesn't get satisfied properly.

For bounding the screen limit( character should not move outside of the screen) I have used following logic
if(ninja_user.getRoot().getTransformedCenter().x<220)

{
  if(ninja_cpu.getRoot().getTransformedCenter().x+ 3.5*NinjaWidth < ninja_user.getRoot().getTransformedCenter().x)
  ninja_user.getRoot().translate(-5,0,0);

This for cpu ninja whreas for user to move left
if(ninja_user.getRoot().getTransformedCenter().x > locationofcpu)
{

//if Ninja is greater than 100 bring it in 100

if(ninja_cpu.getRoot().getTransformedCenter().x<=-150)
{
ninja_cpu.getRoot().translate(10, 0, 0);
}

  and to move right if(ninja_user.getRoot().getTransformedCenter().x > locationofcpu)
  
{
//if Ninja is greater than 100 bring it in 100
if(ninja_cpu.getRoot().getTransformedCenter().x>=200)
{
ninja_cpu.getRoot().translate(-10, 0, 0);
}

}

This sometimes give satisfactory result whereas some times wrong. I don't think I am carrying out it in a proper way. I am testing this on my Samsung Galaxy Ace but in some other device it doesn't gives satisfactory result. i am using progress bar as battery.