Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Jack Lam

Pages: [1]
1
General discussions / Re: SFML Game Development by Example - 4th SFML book
« on: February 26, 2022, 02:49:05 pm »
Really appreciate your work, thank you!

2
SFML projects / Re: Top Down Soccer/Football game with SFML and BOX2D
« on: February 26, 2022, 02:41:31 pm »
Wow, are you using 2D or 3D rendering?

3
SFML projects / Creating a classic game
« on: February 26, 2022, 02:39:22 pm »
        public void Run()
        {
            load();
            // game loop
            Clock clock = new Clock();

            while(window.IsOpen)
            {
                window.DispatchEvents();
                totalTimeElapsed = clock.ElapsedTime.AsSeconds();
                deltaTime = totalTimeElapsed - prevTimeElapsed;
                prevTimeElapsed = totalTimeElapsed;

                frameTimeElapsed += deltaTime;

                if (frameTimeElapsed >= UPDATE_TIME)
                {
                    update();
                    this.window.Clear(this.backgroundColor);
                    draw();
                    this.window.Display();
                }
            }
        }

Hi, there. I just started making a link-up game with SFML.Net and was surprised by how great this tiny library is. By developing the game, I am also learning the structure of a game engine. Here i am seeking advices for the development of a game engine (especially lighting system), anyone there could share his experiences?

Pages: [1]