txt skeletons.

This commit is contained in:
Relintai 2021-03-28 11:17:23 +02:00
parent 0d207b7de7
commit 310669858e
6 changed files with 50 additions and 0 deletions

12
05_sdl_alapok.txt Normal file
View File

@ -0,0 +1,12 @@
Most hogy már működik az sdl
Hogy működik, main etc
//megj: sima int main() {} ként nem fog működni a program, mert az sdl fogja meghívni a mi main()-ünket!
vagy
#define SDL_MAIN_HANDLED
#include <GL/glew.h>
#include <SDL2/SDL.h>
#include <SDL2/SDL_opengl.h>

7
06_sdl_motor.txt Normal file
View File

@ -0,0 +1,7 @@
Textura
Sprite

31
08_monopoly_sdl.txt Normal file
View File

@ -0,0 +1,31 @@
Texture + Sprite
Tile, player is lehet sprite
Tile: x, y, w, h
Player x, y, w, h
tile betolt
tile-> on player_step -> player set_pos this.center;
Először a rendertt ell megcsálni,és input nélkül
utána külön feladat az input visszarakása + player egész ilyen txts
Fontos, hogy látni lehessen, hogy a render az csak megjelenítés, a mögötte lévő adat majdnem ugyen az.
Board:
input() -> send to the current player
step()
do everything the same.
render()

0
09_sdl_input.txt Normal file
View File

0
10_monopoly_input.txt Normal file
View File

0
12_widget_keszlet.txt Normal file
View File