Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/24/24 20:04
M1 Oversampling
by Petra. 04/24/24 10:34
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Data from CSV not parsed correctly
by EternallyCurious. 04/20/24 21:39
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, howardR), 472 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Player / Camera Trick #450935
04/25/15 05:13
04/25/15 05:13
Joined: Apr 2005
Posts: 1,988
Canadian, Eh
DLively Offline OP
Serious User
DLively  Offline OP
Serious User

Joined: Apr 2005
Posts: 1,988
Canadian, Eh
I have a camera that monitors the players position at all times, and if the player is outside of the cameras view it teleports them on the other side, such as mario bros 2.

Thats all great and groovy, but I don't like that the player disappears off the screen momentarily (since you have to be off-screen to get to the other side).

I'd really like it to be more smooth, so that if the player is showing half his body on one side of the screen, it would show the other half on the other side.

Keeping in mind this is done with 3 dimensions, I tried to have 2 temp players (Just models with animations) on each side of the player just enough so that when the player was on one side, the temp player would be on the other.

This worked fine but the teleport caused it to be slightly jerky, and I didn't like the result.


i now ask you all for some ideas on how to possibly solve this problem, because I really can't think of anything more logical than that attempt.. I can't seem to piece it together..


A8 Pro 8.45.4
YouTube: Create Games For Free
Free Resources: www.CGForFree.com
Re: Player / Camera Trick [Re: DLively] #450938
04/25/15 06:52
04/25/15 06:52

M
Malice
Unregistered
Malice
Unregistered
M



I would place four invisible eNT's around the player so I can start the action when one or more is clipped but before the player. I would ent_create the pre_loaded player model on the opposite side making it a dumb AI simple waking on screen. I would ent_remove the player, then transfer the player pointer to the AI at which point the AI action would become the player action.

Re: Player / Camera Trick [Re: ] #450939
04/25/15 06:59
04/25/15 06:59
Joined: Apr 2005
Posts: 1,988
Canadian, Eh
DLively Offline OP
Serious User
DLively  Offline OP
Serious User

Joined: Apr 2005
Posts: 1,988
Canadian, Eh
Cool, Thanks for the idea Malice laugh


A8 Pro 8.45.4
YouTube: Create Games For Free
Free Resources: www.CGForFree.com
Re: Player / Camera Trick [Re: DLively] #450940
04/25/15 07:01
04/25/15 07:01

M
Malice
Unregistered
Malice
Unregistered
M



It's total crap man, but if it works well, Then yes, I'm awesome. Man I need sleep. lol

Re: Player / Camera Trick [Re: ] #450954
04/25/15 15:52
04/25/15 15:52
Joined: Apr 2005
Posts: 1,988
Canadian, Eh
DLively Offline OP
Serious User
DLively  Offline OP
Serious User

Joined: Apr 2005
Posts: 1,988
Canadian, Eh
Well, The way I plan on innovating that idea should work perfect, I hope laugh

Last edited by DLively; 04/25/15 15:52.

A8 Pro 8.45.4
YouTube: Create Games For Free
Free Resources: www.CGForFree.com

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1