Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - Cpl.Bator

Pages: [1]
General / Drawing while resizing window.
« on: September 25, 2018, 11:58:10 pm »
Hi, i search a method ( portable , linux & windows ) for drawing some stuff when i resize the main window. i use SFGUI , and i want a "good look", like "normal application" when i resize the window, not a fixed app during the resize. i've tried to draw inside the event loop, but seem doesnt work.


General / raspberry pi 2
« on: October 30, 2015, 02:37:15 pm »
Hi everyone, i start new topic with RPI2 and the last SFML version. i use cmake-qt-gui for visualize easily informations , firstly i've got an error with  OPENGL_gl_LIBRARY , i use gles , i cheat with /usr/lib/arm-linux-gnueabihf/libEGL.so for bypass the error.
After configuration is okay , i launch a compilation with sample , i've got no error with the library , just with an example :
(click to show/hide)

the sfml lib has been created in my build/lib/ folder, i launch an ldd -r on sfml-graphics part for see if library have a problem , and i see that's :

(click to show/hide)

i've got a lot of undefined symbol xcb_randr... , but , i have installed the dev lib.

General / Raspberry PI 2
« on: June 08, 2015, 09:30:46 am »
Hello everyone, i've got problem when i compile SFML 2.3 on my PI2 with GLES.
i've got wrong header location :

[ 18%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/GlContext.cpp.o
In file included from /opt/vc/include/interface/vcos/vcos_assert.h:149:0,
                 from /opt/vc/include/interface/vcos/vcos.h:114,
                 from /opt/vc/include/interface/vmcs_host/vc_dispmanx.h:33,
                 from /opt/vc/include/EGL/eglplatform.h:110,
                 from /opt/vc/include/EGL/egl.h:36,
                 from /home/pi/SFML-2.3/src/SFML/Window/EGLCheck.hpp:32,
                 from /home/pi/SFML-2.3/src/SFML/Window/EglContext.hpp:33,
                 from /home/pi/SFML-2.3/src/SFML/Window/GlContext.cpp:66:
/opt/vc/include/interface/vcos/vcos_types.h:38:33: fatal error: vcos_platform_types.h: Aucun fichier ou dossier de ce type
compilation terminated.
src/SFML/Window/CMakeFiles/sfml-window.dir/build.make:80: recipe for target 'src/SFML/Window/CMakeFiles/sfml-window.dir/GlContext.cpp.o' failed
make[2]: *** [src/SFML/Window/CMakeFiles/sfml-window.dir/GlContext.cpp.o] Error 1
CMakeFiles/Makefile2:155: recipe for target 'src/SFML/Window/CMakeFiles/sfml-window.dir/all' failed
make[1]: *** [src/SFML/Window/CMakeFiles/sfml-window.dir/all] Error 2
Makefile:116: recipe for target 'all' failed
make: *** [all] Error 2

vcos_types.h call vcos_platform_types.h with include in the same location, but vcos_platform_types.h is inside child folder ( pthreads ).

without GLES , SFML-2.3 work fine, but in software... ;)

SFML projects / Lord of war - capture the flag
« on: January 03, 2015, 01:34:11 pm »

this is a prototype of my game : Lord of war

the goal is simple , capture the flag at the center of the map , you begin the game with 30 pts of reinforcement , with this point , you can call 3 types of ennemy with different cost and ability

the soldier cost 1 , he have a low range and medium ammo / accuracy.
the snipper cost 5 , he have a high range and low ammo & high accuracy.
the gunner cost 15 , medium range and high ammo and low accuracy.

your reinforcement appears on the left , you ennemy, the mujaddid appears on the right.
when your unit is empty and alive, a small icon appear on the top of your soldier with the letter 'A' for ammo , just click on your unit for refill ammo. the refilling have different cost , that use score point : 10 for a soldier , 100 for a snipper , 500 for a gunner.
Your best soldier have different rank ( 3 for now ) with a small icon on the soldier : '^'
All the game is playable only with the mouse , you can scroll the map too



Linux x64

Pages: [1]