There was more room for optimizations and here's why.

SmartLion
Joined 16/04/2017
Posts 1,970
04:47 AM 10/03/2021
GameMaker 8.1 is much more capable if you do it correctly. The Brick Hill legacy client is not optimized and it's not entirely because of GM8.1 as everyone blames but it's how the game renders the bricks (and "ticks" them). Brick Hill legacy does not do any attempt to reduce the draw calls it makes and has too many draw calls per frame.

As shown here https://www.youtube.com/watch?v=ZgbgLImSz2g It's possible to render dozens of blocks without any lag.

By using GameMaker's d3d_model functions instead of using d3d_draw, you can achieve high performance gameplay, this also reduces the number of draw calls.

Using this on Brick Hill works extremely well for static places.
https://www.youtube.com/watch?v=3V5TuR0aHOc
The modification is still WIP! Studs, inlets, shapes and more importantly not all bricks are rendered for whatever reason.


Rainbow
Joined 24/04/2017
Posts 3,975
04:58 AM 10/03/2021
yay i hope this is going to work !!!!


[Deleted920]
Joined 16/04/2017
Posts 2,486
05:45 AM 10/03/2021
tl;dr..


SmartLion
Joined 16/04/2017
Posts 1,970
06:12 AM 10/03/2021
Quote from [Deleted920] , 05:45 AM 10/03/2021
tl;dr..
click video


[Game] Stickmasterluke.developer
Joined 15/10/2020
Posts 17,932
07:06 AM 10/03/2021
bookmarked



!(https://cdn.discordapp.com/attachments/787509766150553652/817280796595453993/ps.gif)


[Code] Noah Cool Boy
Joined 20/06/2019
Posts 1,129
07:28 AM 10/03/2021
Good job smartlion! Great stuff there


[Ins] InsertSoda
Joined 30/12/2017
Posts 463
11:23 AM 10/03/2021
This is really good since lower-end PCs have a hard time running the legacy client with a lot of bricks.


WifeBeater578
Joined 25/08/2020
Posts 16,001
11:24 AM 10/03/2021
Quote from InsertSoda , 11:23 AM 10/03/2021
This is really good since lower-end PCs have a hard time running the legacy client with a lot of bricks.
all pcs have a hard time





!(https://cdn.discordapp.com/attachments/815657370097025095/816791381737603072/bhgang.jpg)


[TE] itstluca
Joined 09/01/2021
Posts 1,430
12:48 PM 10/03/2021
you are cool!!


[im] cIuMsY
Joined 19/10/2020
Posts 2,229
05:27 PM 10/03/2021
Nice! 10/10.


SmartLion
Joined 16/04/2017
Posts 1,970
06:29 PM 11/03/2021
Progress so far: I've added the studs back but no inlets as that will require a separate model to render different textures. Once rotation and shapes are added back in then it should be ready to release.

1 2