Search found 80 matches

by Isoprog
Thu May 19, 2011 5:12 pm
Forum: Beginners Help
Topic: RTS character movement!
Replies: 4
Views: 874

RTS character movement!

Hi, I am trying to make a rts(not really rts) like simple small game. I wanted to know how the characters of a rts game is controlled. I only want to know about the movement. Right now I can move the characters but only one character at a time. As soon as I disselect the character it stops moving. I...
by Isoprog
Sun May 08, 2011 4:14 pm
Forum: Beginners Help
Topic: Position a node on terrain!
Replies: 2
Views: 231

OK, what should be the x/y value?

EDIT: OK, got it :D.

Thanks
Regards
by Isoprog
Sun May 08, 2011 3:03 pm
Forum: Beginners Help
Topic: Position a node on terrain!
Replies: 2
Views: 231

Position a node on terrain!

Hi,
How do I get the height of a terrain so that I can position a node(y axis) according to the terrain's height? The only way that I can think of right now is casting a ray from the node! But I don't know how to do it? Any help will be really appreciated.

Thanks in advance
Regards
by Isoprog
Sun May 08, 2011 1:53 pm
Forum: Everything 2d/3d Graphics
Topic: Maya and B3D Models
Replies: 6
Views: 3263

Sorry, I thought he will rig and animate it in CFX.

Regards
by Isoprog
Sun May 08, 2011 12:46 pm
Forum: Everything 2d/3d Graphics
Topic: Maya and B3D Models
Replies: 6
Views: 3263

Hi,
If its extension is .mb then you can open it in maya and export it as .obj. CFX can import .obj I think.

Regards
by Isoprog
Wed May 04, 2011 9:20 pm
Forum: Beginners Help
Topic: Children visibility?
Replies: 3
Views: 255

OK. Thanks.
Just a question, since there are only one children right now so:

Code: Select all

MeshNode->getChildren().getLast()
is doing the work. But say, if I have three children(or more) and I want to get the middle one, how do I get that children?

Thanks for reply
Regards
by Isoprog
Wed May 04, 2011 8:19 pm
Forum: Beginners Help
Topic: Children visibility?
Replies: 3
Views: 255

Children visibility?

Hi,
how do I get the children of a parent node and toggle the visibility of the children?

Thanks in advance
Regards
by Isoprog
Tue May 03, 2011 9:17 am
Forum: Beginners Help
Topic: node unpicking?
Replies: 5
Views: 426

I mean, if I click the mouse, the SelectedNode becomes > 0 and everything gets selected. I don't need to point the cursor on that object.
Am i doing this right way?
How do I detect my cursor is on the object before I click the LMouse?

Thanks for reply
Regards
by Isoprog
Mon May 02, 2011 9:25 pm
Forum: Beginners Help
Topic: node unpicking?
Replies: 5
Views: 426

It works. But just a little problem, it gets selected on each mouse click no matter it is on that object or not :D .

Regards
by Isoprog
Mon May 02, 2011 9:13 pm
Forum: Beginners Help
Topic: node unpicking?
Replies: 5
Views: 426

node unpicking?

Hi, I have a rts camera where I am trying to pick some objects. Seems like it is working but I could not able to understand how should i unselect the selected object. Here is the code: switch (event.MouseInput.Event) { case EMIE_LMOUSE_PRESSED_DOWN: MouseKeys[0] = true; SelectedNode = smgr->getScene...
by Isoprog
Sat Mar 12, 2011 11:12 am
Forum: Beginners Help
Topic: removeTexture(texture)
Replies: 2
Views: 188

Thanks hybrid, Actually I saw a thread, someone told that removeTexture should be called after endScene. I called it too and got the above problem. I ask this question to clear my doubts.

Thanks
Regards
by Isoprog
Sat Mar 12, 2011 1:38 am
Forum: Beginners Help
Topic: removeTexture(texture)
Replies: 2
Views: 188

removeTexture(texture)

Hi,
Can someone kindly tell me where to put this code. If I call this after endScene() the program starts and closes smoothly without saying a word. So I am calling this before changing levels or before closing the device. But still confused!!!

Thanks
Regards
by Isoprog
Thu Mar 10, 2011 8:07 pm
Forum: Beginners Help
Topic: ITexture Image!!!
Replies: 7
Views: 366

Funny. Now I have to rescale it.

Thanks for the input randomMesh.
Regards
by Isoprog
Thu Mar 10, 2011 7:58 pm
Forum: Beginners Help
Topic: ITexture Image!!!
Replies: 7
Views: 366

Than what should be the w/h of an image for background?
512x512,1024x1024 or 1024x512. Than would not it stretch the image?

it looks like this:
Image

Regards
by Isoprog
Thu Mar 10, 2011 7:48 pm
Forum: Beginners Help
Topic: ITexture Image!!!
Replies: 7
Views: 366

@randomMesh:
Since it is background image so it is 800x600.

@ChaiRuiPeng:
Something like pixalated.

Regards