Search found 3822 matches

by chili
June 17th, 2019, 3:47 pm
Forum: Everything
Topic: Intermediate C++ Game Programming Tutorial 4 File IO Homework Problem
Replies: 7
Views: 285

Re: Intermediate C++ Game Programming Tutorial 4 File IO Homework Problem

Yes, working with pointers (and simple arrays are fundamentally similar to pointer access) has very few safety nets. You must be very careful. Later on, I will teach containers that have better safety nets (std::vector has boundary checks when compiling in Debug configuration under MSVC, for example...
by chili
June 16th, 2019, 3:17 pm
Forum: Everything
Topic: Hello , i need help
Replies: 3
Views: 203

Re: Hello , i need help

Yep, models are no problem. We'll be using assimp to load assets, and it works perfectly well under windows/linux/opengl/d3d. It even has the ability to automatically preprocess things like matrix layout / coordinate handedness etc.
by chili
June 16th, 2019, 3:14 pm
Forum: Everything
Topic: C++ Finale - Traffic game
Replies: 2
Views: 185

Re: C++ Finale - Traffic game

you could represent the game data basically as a std::deque, adding enough so that you can render a new full screen with data to spare. As you move right, you add new level data to the front, and remove from the end. It would be pretty easy for a game that only progresses left-right. full 2d would b...
by chili
June 16th, 2019, 3:10 pm
Forum: Everything
Topic: Intermediate C++ Game Programming Tutorial 4 File IO Homework Problem
Replies: 7
Views: 285

Re: Intermediate C++ Game Programming Tutorial 4 File IO Homework Problem

What steps have you taken to debug the executable?
by chili
June 2nd, 2019, 7:21 am
Forum: Everything
Topic: Slot 0 error
Replies: 4
Views: 243

Re: Slot 0 error

Yeah, can't help without a LOT more context. Code being the most pertinent.
by chili
May 29th, 2019, 3:40 am
Forum: Everything
Topic: I guess I'll start
Replies: 36
Views: 1219

Re: I guess I'll start

Yeah, generally you use coarse layers for sprites/tiles, and then within a layer you'd sort sprites by y-coordinate. Then you can dispense with z-buffering and use painter's.
by chili
May 26th, 2019, 10:40 am
Forum: Everything
Topic: Learning and messing around
Replies: 15
Views: 772

Re: Learning and messing around

Haha, I'm not sure how cube game works, but looks cool :D
by chili
May 23rd, 2019, 5:20 am
Forum: Everything
Topic: Personal update
Replies: 4
Views: 262

Re: Personal update

Yep, google how to do something. Find 20 guides for BP, 0 for C++ API.
by chili
May 21st, 2019, 11:59 pm
Forum: Everything
Topic: Work In Progress
Replies: 3
Views: 198

Re: Work In Progress

#notmytetris
by chili
May 21st, 2019, 11:59 pm
Forum: Everything
Topic: Work In Progress
Replies: 3
Views: 198

Re: Work In Progress

*nottetris