| We hope you enjoy your visit. You're currently viewing the Ultimate 3D Community as a guest. This means that you can only read posts, but can not create posts or topics by yourself. To be able to post you need to register. Then you can participate in the community active and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you are already a member please log in to your account to access all of our features: |
- Pages:
- 1
- 2
| need help with my tps game; something about mouse distance | |
|---|---|
| Tweet Topic Started: Nov 9 2007, 05:47 AM (567 Views) | |
| RockyBee | Nov 9 2007, 05:47 AM Post #1 |
|
Member
![]() ![]() ![]() ![]()
|
helo everyone i need some help with my game, how can i change the camera distance between the camera and character when it starts meet the wall? below is what i mean x = character | = wall o = camera this is the problem: x | o and this is what i wanted: x o| u can play around with Dr.Best's Collision Example or GTA San Andreas to see what i mean. any help would be appreciated, thanks -RockyBee |
![]() |
|
| Zip | Nov 9 2007, 06:43 PM Post #2 |
|
Forum Leader
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
I use this in player Step event:
PS: learn to wait a bit
|
|
Sorry if i've made some errors, I'm not english! | |
![]() |
|
| LuvGame | Nov 10 2007, 09:20 AM Post #3 |
|
Advanced Member
![]() ![]() ![]() ![]() ![]()
|
it didnt work on me
|
![]() |
|
| RockyBee | Nov 10 2007, 09:23 AM Post #4 |
|
Member
![]() ![]() ![]() ![]()
|
thanks for helping Zip
but nothing happen when i use the code, it is still the same =[
|
![]() |
|
| $pecter | Nov 10 2007, 12:37 PM Post #5 |
|
Elite Member
![]() ![]() ![]() ![]() ![]() ![]()
|
Some of Zip's variables are unique to his game. Replace camera.rotatex with camera.rotx Replace camera.rotatey with camera.roty |
![]() |
|
| RockyBee | Nov 10 2007, 01:04 PM Post #6 |
|
Member
![]() ![]() ![]() ![]()
|
i've done it also, but still the same.. |
![]() |
|
| MysteriXYZ | Nov 10 2007, 01:13 PM Post #7 |
|
Master Matrix Masher
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Actually rotatex and rotatey are valid camera variables :
Yeah, I made that mistake also in the beginning :P, as these variables weren't clearly indicated in the help file (it's fixed in the new version). But "number" isn't defined; you could set camera.rotatex to 0 and camera.rotatey to 180, although that still doesn't make the script work (I added it to the character object in the Collision Example). @Zip: if you can get the script to work with the Collision Example, can you let us know how you did it? Thanks for the help :). |
| U3D is like candy; after extensive consumption, it's Best to brush. | |
![]() |
|
| Zip | Nov 10 2007, 05:35 PM Post #8 |
|
Forum Leader
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Here is the new CollisionExample: DOWNLOAD NOW! |
|
Sorry if i've made some errors, I'm not english! | |
![]() |
|
| MysteriXYZ | Nov 11 2007, 05:01 PM Post #9 |
|
Master Matrix Masher
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Thanks for the working example !
|
| U3D is like candy; after extensive consumption, it's Best to brush. | |
![]() |
|
| Gompen | Nov 11 2007, 05:27 PM Post #10 |
|
Advanced Member
![]() ![]() ![]() ![]() ![]()
|
Error loading: this is not a game maker file Can someone that can open save it as a new file and upload it please ?
|
| Isis Developer | |
![]() |
|
| MysteriXYZ | Nov 11 2007, 05:45 PM Post #11 |
|
Master Matrix Masher
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
I was able to unrar it and load it successfully with GM 6.1...
|
| U3D is like candy; after extensive consumption, it's Best to brush. | |
![]() |
|
| Gompen | Nov 11 2007, 05:54 PM Post #12 |
|
Advanced Member
![]() ![]() ![]() ![]() ![]()
|
It was only a gmk when i downloaded it it
|
| Isis Developer | |
![]() |
|
| Zip | Nov 11 2007, 05:59 PM Post #13 |
|
Forum Leader
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Impossible, i haven't gamemaker 7
Try downloading it again. |
|
Sorry if i've made some errors, I'm not english! | |
![]() |
|
| MysteriXYZ | Nov 11 2007, 06:00 PM Post #14 |
|
Master Matrix Masher
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Are we talking about the same file :D? I downloaded CollisionExampleRevised.rar and it contains CollisionExampleGM6revised.gm6. |
| U3D is like candy; after extensive consumption, it's Best to brush. | |
![]() |
|
| Gompen | Nov 11 2007, 06:02 PM Post #15 |
|
Advanced Member
![]() ![]() ![]() ![]() ![]()
|
![]() But i tried with ie and got it working |
| Isis Developer | |
![]() |
|
| Go to Next Page | |
| « Previous Topic · Questions about Ultimate 3D · Next Topic » |
- Pages:
- 1
- 2





![]](http://z1.ifrm.com/static/1/pip_r.png)



but nothing happen when i use the code, it is still the same =[
!
Can someone that can open save it as a new file and upload it please ?

9:12 PM Jul 11