Daily Archives: January 5, 2015

Programming: SDL2 Native functions (cont.)

In this post, I want to present remaining important SDL2 functions that were used in Araknoid coding sessions.
First, one more SDL object type.

SDL_Event – a grouping of objects that refer to user input events. Objects of this type are declared by the programmer but are filled with meaningful data by a special function, SDL_PollEvent()

SDL_PollEvent()
SDL_PollEvent(&event)
In SDL, when the user moves a mouse, presses a key on the keyboard etc., an input event of appropriate type is added to the event queue. […]

/ Comments Off on Programming: SDL2 Native functions (cont.)
Program: Programming

Programming: SDL2 Native functions (cont.)

In this post, I want to present remaining important SDL2 functions that were used in Araknoid coding sessions.
First, one more SDL object type.

SDL_Event – a grouping of objects that refer to user input events. Objects of this type are declared by the programmer but are filled with meaningful data by a special function, SDL_PollEvent()

SDL_PollEvent()
SDL_PollEvent(&event)
In SDL, when the user moves a mouse, presses a key on the keyboard etc., an input event of appropriate type is added to the event queue. […]

/ Comments Off on Programming: SDL2 Native functions (cont.)
Program: Programming

New year, new week, and a new console

My WiiU finally arrived in the mail today, wonderful. I might even have some time to play tonight after all the system update downloads are done; because tomorrow i return to town where i will probably stay until next Friday.
Had a good day today touched up on some of the collision and input logic. Most of it should be in now, when a specific button is pressed the game state calls a function of the corresponding player(currently all the players) […]

/ Comments Off on New year, new week, and a new console
Program: Programming

New year, new week, and a new console

My WiiU finally arrived in the mail today, wonderful. I might even have some time to play tonight after all the system update downloads are done; because tomorrow i return to town where i will probably stay until next Friday.
Had a good day today touched up on some of the collision and input logic. Most of it should be in now, when a specific button is pressed the game state calls a function of the corresponding player(currently all the players) […]

/ Comments Off on New year, new week, and a new console
Program: Programming