Search found 7 matches

by James Evesque
Mon Feb 03, 2014 6:15 am
Forum: Programming Discussion
Topic: Structs? Unions? Classes?
Replies: 5
Views: 4309

Re: Structs? Unions? Classes?

Getters and Setters are just an interface, and have a place. That does not mean you have to use them everywhere , but doing so is considerd good practice ; If for no other reason that if you must change anything, the logic is all in the function/method calls. I don't always have access to a class ke...
by James Evesque
Fri Jan 31, 2014 11:13 pm
Forum: Game Development
Topic: 2D RPG Engine
Replies: 153
Views: 98885

Re: Simple 2D RPG Engine

Seconded.
by James Evesque
Thu Jan 30, 2014 5:42 pm
Forum: Programming Discussion
Topic: Programmer's Education Index
Replies: 63
Views: 62541

Re: Programmer's Education Index

Do they not offer "computer engineering?" Computer engineering is the midpoint between the purely software CS degree and the purely hardware EE degree. You learn a fair amount of hardware and computer architecture, and a fair amount of software (you never go above C++ in the software abst...
by James Evesque
Mon Jan 20, 2014 8:37 am
Forum: Programming Discussion
Topic: SDL keystates help [SOLVED]
Replies: 4
Views: 2641

Re: SDL keystates help.

You are welcome.Goodluck with your editor!
by James Evesque
Sun Jan 19, 2014 9:50 pm
Forum: Programming Discussion
Topic: SDL keystates help [SOLVED]
Replies: 4
Views: 2641

Re: SDL keystates help.

As for the wheel, you can check to see if it is moved, and do something like.. current_tile += event.wheel.y; // y is 1 if up and -1 if down. while(SDL_PollEvent(&event)) // while events waiting, get a new event { if(event.type == SDL_MOUSEWHEEL) // check if this event is what we want { if(event...
by James Evesque
Sun Jan 19, 2014 9:23 pm
Forum: Programming Discussion
Topic: SDL keystates help [SOLVED]
Replies: 4
Views: 2641

Re: SDL keystates help.

You should be using events, not state. More complicated designs can peek and pump events and pass them around. Without seeing your use of the SDL API I can not help any more then this. while(SDL_PollEvent(&event)) // while events waiting, get a new event { if(event.type == SDL_MOUSEBUTTONUP) // ...
by James Evesque
Sat Jan 18, 2014 12:33 pm
Forum: General/Off-Topic
Topic: Official "Hello, World! (I'm new!)" thread
Replies: 821
Views: 585496

Re: Official "Hello, World! (I'm new!)" thread

Hello all, I thought I would place my official hello here. I am a C/C++/C# Programmer and Lua scripter, and though I have followed AiGD way before it had even a website, I never managed to make an account on the forums. Here is my post that sparked my registration: http://forums.elysianshadows.com/v...