About Store Forum Documentation Contact



Post Reply 
WindowMove -> undeclared Identifier
Author Message
Fluxor Offline
Member

Post: #1
WindowMove -> undeclared Identifier
Just a heads up:
We have the following line in the 08-Net/Connection/Client Tutorial File:
Code:
if(Ms.b(0))WindowMove(Ms.pixelDelta().x, Ms.pixelDelta().y);

However, WindowMove throws an undeclared identifier error.
I am not sure what the substitution is for this.
09-14-2021 05:27 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: WindowMove -> undeclared Identifier
Thanks will fix:
if(Ms.b(0))App.window().move(Ms.pixelDelta().x, Ms.pixelDelta().y);
09-14-2021 05:41 PM
Find all posts by this user Quote this message in a reply
Fluxor Offline
Member

Post: #3
RE: WindowMove -> undeclared Identifier
Cool.
Another one I found (I don't think it's necessary to open up a new
thread for this) is 08 - Holographic Images (line 26):
Code:
image.create(size, size, size, IMAGE_R8G8B8A8_SRGB, IMAGE_3D, 1);
--> no member named 'create' in 'EE::Image'

Not sure if this should be changed to image.createTry or image.create3Dtry in this case though. Both work and both look the same to me, so I don't know, but my guess is the 3D one...? smile

(EDIT: And while we're at it:
14 - Game Basics / 04 - Light --> no Member named 'ambient' in EE::Material.
Here I am also not sure what the substitution is.)
(This post was last modified: 09-14-2021 11:14 PM by Fluxor.)
09-14-2021 11:08 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #4
RE: WindowMove -> undeclared Identifier
Excellent! Thank you, I will fix all.
09-15-2021 03:46 AM
Find all posts by this user Quote this message in a reply
Post Reply