Gamestudio Links
Zorro Links
Newest Posts
Fun Arcade Car Physics (nfs style)
by Ezzett. 08/02/26 21:11
ZorroGPT
by TipmyPip. 07/31/26 22:56
Wolfram Mathematica with Zorro
by TipmyPip. 07/30/26 02:07
What are you working on?
by rayp. 07/24/26 22:58
Z9 getting Error 058
by madpower2000. 07/22/26 14:01
New Zorro version 3.11
by jcl. 07/21/26 13:42
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (TipmyPip), 1,556 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
riggi89, shuhari, KD1990, Ephraim, Student_64151
19223 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 | 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