Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (AndrewAMD, dr_panther, 2 invisible), 1,056 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: The concept of 'player' confuses me ?? [Re: EvilSOB] #249817
02/04/09 13:32
02/04/09 13:32
Joined: Apr 2008
Posts: 437
dracula Offline OP
Senior Member
dracula  Offline OP
Senior Member

Joined: Apr 2008
Posts: 437
Thanks Evil, that does help.

Lets assume I had a really stupid friend. Could this friend of mine avoid using 'player' and 'you' ?

Thanks

drac.

Re: The concept of 'player' confuses me ?? [Re: dracula] #249819
02/04/09 13:42
02/04/09 13:42
Joined: Oct 2008
Posts: 218
Nashua NH
heinekenbottle Offline
Member
heinekenbottle  Offline
Member

Joined: Oct 2008
Posts: 218
Nashua NH
Originally Posted By: dracula
Thanks Evil, that does help.

Lets assume I had a really stupid friend. Could this friend of mine avoid using 'player' and 'you' ?

Thanks

drac.



you would not be easy to avoid, but it could be done. It would be better if your "friend" learned how to use you.

You is a pointer that is often assigned to point to an entity as a reaction to something.

For example, if your player scans an area and finds an entity, that entity is assigned "you." Or if an entity hits another entity during c_move, that entity then becomes "you."

You is a local pointer.


And there is no real reason to avoid player, its just a pointer like any other. I believe it is defined somewhere in acknex.h. You could avoid it by making your own pointers, but it still be the same thing.


I was once Anonymous_Alcoholic.

Code Breakpoint;
Re: The concept of 'player' confuses me ?? [Re: heinekenbottle] #249843
02/04/09 15:37
02/04/09 15:37
Joined: Apr 2008
Posts: 437
dracula Offline OP
Senior Member
dracula  Offline OP
Senior Member

Joined: Apr 2008
Posts: 437
My "friend" says thanks.

(I really need to mix with people of a higher IQ)

drac.

Page 2 of 2 1 2

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