Bug? View Actor

Non-platform specific questions.

Bug? View Actor

Postby jazz_e_bob » Sat Apr 24, 2004 10:54 am

http://www.maybanana.com/pantzboi/game_editor/view_test.ged

place actor named "centre" at 0, 0.

place view so that actor named "centre" is at the centre of your view.

Image
Controlling complexity is the essence of computer programming.
User avatar
jazz_e_bob
 
Posts: 742
Joined: Tue Jul 01, 2003 9:38 pm
Location: Bloke from Cockatoo Creek Australia
Score: 14 Give a positive score

Postby ingsan » Sat Apr 24, 2004 11:04 am

What i'm seeing is that this problem comes from the view and not from the Actor. Try to change the x an y of actor, the bug stays the same :?
User avatar
ingsan
 
Posts: 580
Joined: Mon Nov 17, 2003 4:02 pm
Location: Maurician LADY in FRANCE
Score: 6 Give a positive score

Postby ingsan » Sat Apr 24, 2004 11:17 am

Yeh try to do this :

on view :
x=0-(width/2) //or x=-120
y=0-(height/2) // y=-160

I found this quite easily : Just click on tha view and hold the mouse down. Now look at the coordinate bar at the far top right. A Pacman icon appears telling you the actual coordinates of the actor on which you are. I did this and the coordinats for y view was negative. So in GE, height is from top to down.
User avatar
ingsan
 
Posts: 580
Joined: Mon Nov 17, 2003 4:02 pm
Location: Maurician LADY in FRANCE
Score: 6 Give a positive score

Postby jazz_e_bob » Sat Apr 24, 2004 11:36 am

http://www.maybanana.com/pantzboi/game_ ... w_test.ged

x=0-(width/2)
y=0-(height/2)

doesn't work... :(
Controlling complexity is the essence of computer programming.
User avatar
jazz_e_bob
 
Posts: 742
Joined: Tue Jul 01, 2003 9:38 pm
Location: Bloke from Cockatoo Creek Australia
Score: 14 Give a positive score

Postby ingsan » Sat Apr 24, 2004 11:44 am

x=0-(width/2)
y=0-(height/2)


The problem definitely comes from this code because when you replace this by
    x =- 120;
    y = -160;

which is the result of the previous code, it works :?
User avatar
ingsan
 
Posts: 580
Joined: Mon Nov 17, 2003 4:02 pm
Location: Maurician LADY in FRANCE
Score: 6 Give a positive score

Postby jazz_e_bob » Sat Apr 24, 2004 11:48 am

Hey Makslane.

Fix it.Fix it.Fix it.Fix it.Fix it.Fix it.Fix it.Fix it.Fix it.Fix it.Fix it.Fix it.Fix it.Fix it.Fix it.Fix it.Fix it.Fix it.Fix it.Fix it.Fix it.Fix it.Fix it.Fix it.Fix it.Fix it.Fix it.Fix it.Fix it.Fix it.Fix it.Fix it.Fix it.Fix it.Fix it.Fix it.Fix it.Fix it.Fix it.Fix it.Fix it.Fix it.

:wink:
Controlling complexity is the essence of computer programming.
User avatar
jazz_e_bob
 
Posts: 742
Joined: Tue Jul 01, 2003 9:38 pm
Location: Bloke from Cockatoo Creek Australia
Score: 14 Give a positive score

Postby ingsan » Sat Apr 24, 2004 11:49 am

:mrgreen:
User avatar
ingsan
 
Posts: 580
Joined: Mon Nov 17, 2003 4:02 pm
Location: Maurician LADY in FRANCE
Score: 6 Give a positive score

Postby ingsan » Sat Apr 24, 2004 11:56 am

Another strange thing, jazz ...

x = - width/2;
y = - heigth/2;
WORKS PERFECT!

Ifever you put :

x = 0 - width/2;
y = 0 - heigth/2;
DOESN'T WORK
User avatar
ingsan
 
Posts: 580
Joined: Mon Nov 17, 2003 4:02 pm
Location: Maurician LADY in FRANCE
Score: 6 Give a positive score

Postby jazz_e_bob » Sat Apr 24, 2004 11:58 am

Ingrid is the workaround queen. :)
Controlling complexity is the essence of computer programming.
User avatar
jazz_e_bob
 
Posts: 742
Joined: Tue Jul 01, 2003 9:38 pm
Location: Bloke from Cockatoo Creek Australia
Score: 14 Give a positive score

Postby Just4Fun » Sat Apr 24, 2004 4:00 pm

Is this the reason that my view around the actor isn't working? My head is bruised from all of the wall hitting over that one. I finally gave up.

BTW jazz,
Eeuww, you can keep that bug. (I prefer Data) :lol:
I've learned that I still have a lot to learn.

** Makslane == Genious **
Just4Fun
 
Posts: 524
Joined: Tue Jul 01, 2003 5:19 am
Location: USA: Washington State; West Coast
Score: 6 Give a positive score

Postby makslane » Sat Apr 24, 2004 6:35 pm

I see the (0, 0) view bug. I can't found the causes, yet
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby ingsan » Sat Apr 24, 2004 6:44 pm

Is the view.y(0) at the top Left or bottom Left of the view ?
User avatar
ingsan
 
Posts: 580
Joined: Mon Nov 17, 2003 4:02 pm
Location: Maurician LADY in FRANCE
Score: 6 Give a positive score

Postby makslane » Sat Apr 24, 2004 6:48 pm

top left
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby jazz_e_bob » Sat Apr 24, 2004 10:07 pm

Just4Fun wrote:Is this the reason that my view around the actor isn't working? My head is bruised from all of the wall hitting over that one. I finally gave up.


Most likely I would say. :cry:
Controlling complexity is the essence of computer programming.
User avatar
jazz_e_bob
 
Posts: 742
Joined: Tue Jul 01, 2003 9:38 pm
Location: Bloke from Cockatoo Creek Australia
Score: 14 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest