Search found 4 matches

by Ducky
December 11th, 2016, 1:49 am
Forum: Everything
Topic: How to pass keyboard control to new class function?
Replies: 12
Views: 4682

Re: How to pass keyboard control to new class function?

Now I'm not 100% clear about what your problem is though. You say: "I'm not quite grasping when and where (.cpp/.h?) to create objects to access things". Maybe there's a little disconnect in terminology. I'm sure there's a disconnect with a lot of things :lol: I feel honored to speak to the man him...
by Ducky
December 10th, 2016, 1:16 am
Forum: Everything
Topic: How to pass keyboard control to new class function?
Replies: 12
Views: 4682

Re: How to pass keyboard control to new class function?

Hi again all, I thought I had the problem solved but I think I got a little too ahead of myself :lol: What I've attempted to do is put some basic controls from the early tutorials (pre-poo game) into their own classes then "daisy chain" one class function to call another classes functions and so on....
by Ducky
December 9th, 2016, 2:51 am
Forum: Everything
Topic: How to pass keyboard control to new class function?
Replies: 12
Views: 4682

Re: How to pass keyboard control to new class function?

Wow thanks for the quick reply! I only attempted using MainWindow thinking "wnd" was a member of it and required to use kbd lol, I'll get back to the tutorials.

I'll follow your advice about GitHub in the future as well, I'm guilty of reading no stickys sorry!
by Ducky
December 9th, 2016, 2:35 am
Forum: Everything
Topic: How to pass keyboard control to new class function?
Replies: 12
Views: 4682

How to pass keyboard control to new class function?

Hi all, thanks for taking the time to read this and thanks chili for taking the time to teach us, much appriciated. I've ended up deviating from the tutorials somewhat, and attempted to use (wnd.kbd.KeyIsPressed) in a new Class and function (not in the constructor) but I'm getting a red line under "...