I've been following this series for quite some time now, and this is so great. It's very high quality, and i've learnt more in 2 weeks than i've learnt in 3 months of self study. Thanks a lot
@winterSweet-k4m4 жыл бұрын
Happy 600 already :)
@GamesWithGabe4 жыл бұрын
Thanks @W4rd3nclyffe!
@vixellar15414 жыл бұрын
Congrats on 600 mate, and its good seeing you upload twice a week :D
@GamesWithGabe4 жыл бұрын
Thanks Vixellar! And yeah, hopefully I'll be able to start doing two videos a week again starting this week haha
@jishanahamed8592Ай бұрын
For anyone facing a problem where if you click anywhere else other than the viewport, the properties window still vanishes, it's because we defined a fixed width and height for our picking texture, for me it was 1920, 1080. And when we are clicking anywhere other than our viewport, the values for "int x = (int)MouseListener.GetScreenX()" and "int y = (int)MouseListener.GetScreenY()" is outside the range of our viewport display(1920, 1080). So to fix this what i did was just add an if statement to check if we are clicking inside the viewport, and only then we will set the activeGameobject. if (!(x < 0 || x > pickingTexture.GetWidth() || y < 0 || y > pickingTexture.GetHeight())) activeGameObject = currentScene.GetGameObject(gameObjectId);
@woarey8800Ай бұрын
How exactly do you do this if check? I cant manage to get it to work
@jishanahamed8592Ай бұрын
@@woarey8800 buddy I've already written the if check, in the comment. [NOTE: Remember here x and y are the mouse position with respect to the topleft(i think), corner of the viewport] // Only set activeGameObject when x,y is inside the game viewport if (x >= 0 && x = 0 && y
@griffinbrooks67484 жыл бұрын
Cool! You need more subscribers!
@a.k.8731 Жыл бұрын
Enjoyed!💃
@DevsLikeUs4 жыл бұрын
Great episode!
@GamesWithGabe4 жыл бұрын
Thanks!
@temps19593 жыл бұрын
for some reason, when I click on a gameObject the properties window pops up fine, but when i click on the actual properties window, it disappears. If anyone is having a similar problem and could help me out I'd greatly appreciate it.
@GamesWithGabe3 жыл бұрын
Hey @Temps! It sounds like your game engine might be intercepting the click event from ImGui or something. I would put a breakpoint inside your mouseEvent function and see if ImGui gets the mouse event or if the engine gets the mouse event. And if ImGui gets the mouse event and handles it, then you want to try and stop the event from propagating to the engine otherwise it will think you clicked a blank space and there's no game object there, so the properties window will disappear since it's trying to display properties for a null game object. Hopefully that makes sense, let me know if it helps out :)
@xCapeGr3 жыл бұрын
Hey :) did you find the solution? Just got to the same point and have the same problem. I'm kinda struggling to find the problem, thank you for your time
@GamesWithGabe3 жыл бұрын
@@xCapeGr Hey tseksCape! So I'm guessing your properties window is in front of your game viewport. If your properties window is in front of your gameviewport and you click on it, the game engine thinks you clicked a blank space and then it tries to select the game object there (which is null since there is no game object), then it looks like the property window disappears. Try moving the property window out of the way of the game viewport and see if the problem still happens :)
@npshmear2 жыл бұрын
@@GamesWithGabe I'm also having this same problem. I am unable to left click on the properties window even when it is not over the game view port window. Spent quite a while trying to debug it. Not sure how to fix it. 😩
@ZR-os5ry2 жыл бұрын
@@npshmear Have you managed to fix it ?
@luandkg4 жыл бұрын
Great 👏🏻👏🏻👏🏻
@matanmigdal71084 жыл бұрын
i am getting error on the cpp repository CDungeonCrawler Severity Code Description Project File Line Suppression State Error LNK2038 mismatch detected for 'RuntimeLibrary': value 'MTd_StaticDebug' doesn't match value 'MDd_DynamicDebug' in CommandHistory.obj JadeEngine C:\matan\CDungeonCrawler\CDungeonCrawler\JadeEngine\Box2D.lib(b2_circle_contact.obj) 1
@GamesWithGabe4 жыл бұрын
Hey Matan, I had fixed this in one of the updates to master branch. I just did a clean install of the whole project and it still seems to be working fine. You can either try to do git pull origin master, or do a fresh install and that should fix it