Tips and Tricks

Programming is a field where tips and tricks are abundant.

IT Hares proudly present their own bag of programming tips and tricks.

Game Graphics 101: Rendering 2D on GPU. Shaders

August 29, 2016 by “No Bugs” Bunny

rendering 2D using 3D engine

Quote:

Using 3D engine can improve your 2D picture dramatically.

Another Quote:

Strictly speaking, “shader” is a program which is executed for each “vertex” or each “pixel”

Filed under: Book: D&D of MOGs1st beta of Vol. IV-VIOn.ProgrammingTips and Tricks

Read more

Game Graphics 101: 2D Animation, Sprites, Double and Triple Buffering

August 16, 2016 by “No Bugs” Bunny

raster vs vector

Quote:

If you’re using double buffering AND perform buffer swap in sync with the V-Sync signal, your monitor will show your game just as a movie projector with shutter would show a cartoon in the cinema

Another Quote:

I’ve seen a pretty minimal 2D engine written from scratch at a cost of 4-6 person-weeks

Filed under: Book: D&D of MOGs1st beta of Vol. IV-VIOn.ProgrammingTips and Tricks

Tagged With: 2DClient
Read more

Game Graphics 101: Static 2D (Vectors/Rasters, Color Spaces, 2D Anti-Aliasing, etc.)

August 8, 2016 by “No Bugs” Bunny

raster vs vector

Quote:

when trying to scale vector image to VERY small pixel sizes – you might get problems

Another Quote:

Internally, JPEG uses a close cousin of a Fourier Transform, which works over 8x8 pixel blocks.

Filed under: Book: D&D of MOGs1st beta of Vol. IV-VIOn.ProgrammingTips and Tricks

Tagged With: 2DClient
Read more

War on Clones, Part II. Identifying Mobile and Browsers. Social and Payment-Based Identification. Putting it all together.

July 18, 2016 by “No Bugs” Bunny

Login

Quote:

as much as iOS is a device identification nightmare, Android is a device identification paradise.

Another Quote:

Everybody makes occasional mistakes, cheaters/abusers included."your DB"

Filed under: Book: D&D of MOGs1st beta of Vol. IV-VI1st beta of Vol. VII-IXOn.ProgrammingTips and TricksOn.SecurityFraud Prevention

Tagged With: multiplayerClient
Read more