Please login or register.

Login with username, password and session length
Advanced search  

News:

This forum provides RSS feed. To query recent posts use this url. More...


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.

Topics - megane

Pages: [1]
1
Technical forum / controlling scene with mouse
« on: April 06, 2010, 10:25:29 PM »


Hello All,


I searched on forum and documantation.Also i tried alot of methods.but i couldnt do it :)

İ can move scene by keyboard like this

on "Keypress"
{
 
 
if (Scene.CanHandleEvent("Keypress")) Scene.ApplyEvent("Keypress");



switch(Keyboard.KeyCode)
{
case VK_UP:

      Scene.SkipTo(posX, posY-50);
     posY=posY-50;
     break;
    
case VK_DOWN:

      Scene.SkipTo(posX, posY+50);
     posY=posY+50;
     break;

case VK_LEFT:

      Scene.SkipTo(posX-50, posY);
     posX=posX-50;
     break;
    
case VK_RIGHT:

      Scene.SkipTo(posX+50, posY);
     posX=posX+50;
     break;

}

i can move scene with left click like this

on "LeftClick"
{

Scene.SkipTo(Scene.MouseX, Scene.MouseY);
}



But i cant move scene by mouse over :(

What should i do ?




Best Regards.

2
Technical forum / White rectangles on scene
« on: April 05, 2010, 11:23:08 PM »


Hello All,


there are some rectangle on scene. what are these?



and i dont want to see them.How can i cancel them?




Best Regards..

3
Technical forum / About Mouse Event
« on: April 04, 2010, 09:45:20 PM »


Hello All,


How can i handle "mouse over"?
i searched on documentation, i found these but there is no about mouse over.

LeftClick The left mouse button has been pressed.
RightClick The right mouse button has been pressed.
MiddleClick The middle mouse button has been pressed.
LeftDoubleClick The left mouse button has been double-clicked.
RightDoubleClick The right mouse button has been double-clicked.
LeftRelease The left mouse button has been released.
RightRelease The right mouse button has been released.
MiddleRelease The middle mouse button has been released.
MouseWheelUp The mouse wheel has been rolled up.
MouseWheelDown The mouse wheel has been rolled down.
Keypress Some key has been pressed. Use the Keyboard variable to find out the details.


Best Regards


4
Technical forum / i cant upload image to scene
« on: March 28, 2010, 07:23:17 PM »

Hello,


i created a scene and i want to upload a background image this. but i am taking some errors..

CBImage::CreateTexture tile at 0,7 no texture set ..
CBSurfaceD3D:CreateEmptyTexture error creating an empty texture.
error gettting texture ...
..
...
..


help me, please



Best Regards.

Pages: [1]

Page created in 0.034 seconds with 17 queries.