Search found 44 matches

by WilsonHuang
March 9th, 2020, 11:37 am
Forum: Everything
Topic: VS 2017 build tool
Replies: 1
Views: 1417

VS 2017 build tool

If you want to build VS 2017 Solution on VS 2019. You need VS 2017 build tool. VS 2017 Build Tool https://download.visualstudio.microsoft.com/download/pr/3e542575-929e-4297-b6c6-bef34d0ee648/639c868e1219c651793aff537a1d3b77/vs_buildtools.exe Microsoft removes most VS 2017 build tool download link on...
by WilsonHuang
March 8th, 2020, 3:09 pm
Forum: Everything
Topic: New installation problem
Replies: 2
Views: 2092

Re: New installation problem

If you want build VS 2017 Solution in VS 2019, you should download 2017 Build Tools for Visual Studio 2019
https://download.visualstudio.microsoft ... tools.exe
by WilsonHuang
February 8th, 2020, 3:47 pm
Forum: Everything
Topic: My first game!
Replies: 9
Views: 5291

Re: My first game!

Cool stuff man. Got some nice polish on this one. Sound effects sound like they are from Tetris 99 :D The animation for clearing is nice too. I think the input on the left/right movement is a little sluggish. Rotation is fine, but fast dropping maybe a little to fast. Also, how are you generating t...
by WilsonHuang
February 6th, 2020, 2:05 am
Forum: Everything
Topic: Problem downloading Visual Studio 2019
Replies: 1
Views: 1364

Re: Problem downloading Visual Studio 2019

I didn't encounter the problem. Did you run the setup as Administrator?
by WilsonHuang
February 6th, 2020, 2:00 am
Forum: Everything
Topic: My first game!
Replies: 9
Views: 5291

My first game!

Thanks Chili's tutorial. Here's my first game ever made, Tetris. I can't believe I finish it by myself! :D :D My next project will be Puyo Puyo. I hope I have perseverance to finish it! https://mega.nz/file/FQNSVYDa#fQBEi3RPMBS2_fDUwM5XxxRXawdcCjv-dJ0pCvydXNU How To Control ============== Move: Arro...
by WilsonHuang
January 22nd, 2020, 1:51 am
Forum: Everything
Topic: Intermediate Tutorial 21 Bonus part cannot build for x86 platform
Replies: 9
Views: 3925

Re: Intermediate Tutorial 21 Bonus part cannot build for x86 platform

If you have something like: #define NPOO 100 Then yes, but in this case it's just a flag that if defined before Graphics.h allow the template extern lines be shown, otherwise hide the lines of code. Developers use this technique to control compilation for different operating systems for example. #I...
by WilsonHuang
January 21st, 2020, 1:09 pm
Forum: Everything
Topic: Intermediate Tutorial 21 Bonus part cannot build for x86 platform
Replies: 9
Views: 3925

Re: Intermediate Tutorial 21 Bonus part cannot build for x86 platform

Well, you're right, it does not compile in x86 for some reason. I tried checking the properties and they are relatively the same. The issue seems to be with the order in which files are compiled. What I mean is the GOD_GRAPHICS macro is defined in GraphicsD.cpp. If you have made it this far in the ...
by WilsonHuang
January 20th, 2020, 1:06 pm
Forum: Everything
Topic: Intermediate Tutorial 21 Bonus part cannot build for x86 platform
Replies: 9
Views: 3925

Re: Intermediate Tutorial 21 Bonus part cannot build for x86 platform

Thanks for reply, the code is I downloaded from GitHub.
I didn't change anything. I just change the build platform from x64 to x86.
by WilsonHuang
January 20th, 2020, 3:52 am
Forum: Everything
Topic: Intermediate Tutorial 21 Bonus part cannot build for x86 platform
Replies: 9
Views: 3925

Intermediate Tutorial 21 Bonus part cannot build for x86 platform

I found that chili's Sprite solution cannot build for x86 platform, but x64 is OK. The error appears at Graphics.h extern template part. It has link error Error LNK2001 unresolved external symbol "public: void __thiscall Graphics::DrawSprite<class SpriteEffect::Copy>(int,int,class Rect_<int>,class R...
by WilsonHuang
December 23rd, 2019, 5:08 am
Forum: Everything
Topic: Is there a proper way to calculate frame rate?
Replies: 2
Views: 1718

Re: Is there a proper way to calculate frame rate?

Well, your frame count will overflow way before the total frame time, but the easiest way would be to just reset the time and count every so often. Maybe every 10 seconds or every 1,000 frames. You could also switch to using a uint64_t type ( the built in type or intrinsic type would be unsigned lo...