Search found 33 matches

by WilsonHuang
May 14th, 2020, 2:50 am
Forum: Everything
Topic: What's the right way to calculate time? Counting by time or counting by frame?
Replies: 2
Views: 652

Re: What's the right way to calculate time? Counting by time or counting by frame?

Considering you are wanting time elapsed since last check, you should use time. Time is constant whereas frame rate is not. For instance, let's say you have a 140Hz monitor. Your frame rate is capped at 140 frames per second if v-sync is enabled whereas my monitor is 60Hz, so I'm capped at 60 frame...
by WilsonHuang
May 10th, 2020, 11:06 pm
Forum: Everything
Topic: What's the right way to calculate time? Counting by time or counting by frame?
Replies: 2
Views: 652

What's the right way to calculate time? Counting by time or counting by frame?

Hi, guys, I found out there's two ways to calculate time. One is counting by time another counting by frame. Let's say we need to move a character in a period of time. One way we could count by time Like this: dt = ft.GetFrameTime(); gameTime += dt; if (gameTime >= 1.0f) { gameTime -= 1.0f; characte...
by WilsonHuang
April 24th, 2020, 1:25 am
Forum: Everything
Topic: My first release!
Replies: 9
Views: 1029

Re: My first release!

Hi, Aleksiy
I play your game, and it was amazing!!
I wonder how long did you take when you start to learn until you finish the game?
by WilsonHuang
April 23rd, 2020, 1:33 am
Forum: Everything
Topic: Help with my game? things appearing in wrong place
Replies: 2
Views: 493

Re: Help with my game? things appearing in wrong place

Hi all, https://github.com/joeharris200882/Pong2020 the above is a link to my Pong game, nothing fancy, really just using it as a chance to practice logic, classes etc. Can someone help me out, I think I have two main problems (maybe more, who knows) 1. The player 1 and player 2 score meters are ap...
by WilsonHuang
April 20th, 2020, 10:36 am
Forum: Everything
Topic: My first game!
Replies: 9
Views: 1517

Re: My first game!

krautersuppe wrote:
April 19th, 2020, 10:48 am
Damn i hoped i would beat your scoreboard array but it was longer than i initially thought :p
tetris_wilson_huang.png
This is my score. You are batter than me XD
Tetris.png
(37.36 KiB) Not downloaded yet
by WilsonHuang
April 20th, 2020, 6:13 am
Forum: Everything
Topic: My first game!
Replies: 9
Views: 1517

Re: My first game!

Oh sh*t! Thanks to krautersuppe, I found the score counting bug. The link has been updated!
by WilsonHuang
April 20th, 2020, 6:02 am
Forum: Everything
Topic: My first game!
Replies: 9
Views: 1517

Re: My first game!

krautersuppe wrote:
April 19th, 2020, 10:48 am
Damn i hoped i would beat your scoreboard array but it was longer than i initially thought :p
tetris_wilson_huang.png
The max score is 999999 :D :D
by WilsonHuang
March 30th, 2020, 12:11 am
Forum: Everything
Topic: My first game!
Replies: 9
Views: 1517

Re: My first game!

I found a bug. The link has been updated.
by WilsonHuang
March 9th, 2020, 12:30 pm
Forum: Everything
Topic: VS 2017 build tool
Replies: 1
Views: 477

Re: VS 2017 build tool

If you want to build Chili Framework without upgrade project (Retarget project). You need to install "MSVC v140 - VS 2015 C++ Build Tool" and "Windows 8.1 SDK".
MSVC v140 - VS 2015 C++ Build Tool is in the VS Installer, and Windows 8.1 SDK is in the VS 2017 build tool
by WilsonHuang
March 9th, 2020, 11:37 am
Forum: Everything
Topic: VS 2017 build tool
Replies: 1
Views: 477

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...