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 - Naufr4g0

Pages: [1]
1
General / [SOLVED] SFML 1.6 Source code (need VS 2015 binaries)
« on: August 23, 2018, 07:21:18 pm »
As the subject suggests I'm looking for SFML 1.6 source code.
I have some old projects I want to import on Visual Studio 2015.
I can't find any binaries or source code for this IDE and I want to make some changes to those projects.
Could someone help me?

2
General / Can't build SFML 1.6 on linux (ubuntu 12.04)
« on: October 31, 2015, 02:25:37 pm »
Hi all!
I'm using CodeBlocks on linux to compile some of my old games on this OS.
Since I won't  install sfml with apt-get command (to avoid conflicts with SFML2), I downloaded the source from the official site and tried to build the library by myself.
Using the 'MAKE' command I get some errors, that you can find on the following log.
Could someone figure out how to solve the issue?
Thanks in advance
Naufr4g0

Code: [Select]
make[1]: ingresso nella directory "/home/davide/libs/SFML-1.6/src/SFML"
make[2]: ingresso nella directory "/home/davide/libs/SFML-1.6/src/SFML/System"
g++ -shared -Wl,-soname,libsfml-system.so.1.6 -o ../../../lib/libsfml-system.so.1.6 Clock.o Lock.o Randomizer.o Sleep.o Unicode.o ./Unix/Initializer.o ./Unix/Mutex.o ./Unix/Platform.o ./Unix/Thread.o -lpthread
make[2]: uscita dalla directory "/home/davide/libs/SFML-1.6/src/SFML/System"
make[2]: ingresso nella directory "/home/davide/libs/SFML-1.6/src/SFML/Window"
g++ -o Linux/VideoModeSupport.o -c Linux/VideoModeSupport.cpp -W -Wall -pedantic -I../../../include -I../../ -O2 -DNDEBUG -fPIC
g++ -o Linux/WindowImplX11.o -c Linux/WindowImplX11.cpp -W -Wall -pedantic -I../../../include -I../../ -O2 -DNDEBUG -fPIC
g++ -shared -Wl,-soname,libsfml-window.so.1.6 -o ../../../lib/libsfml-window.so.1.6 Context.o Input.o VideoMode.o Window.o WindowImpl.o ./Linux/Joystick.o ./Linux/VideoModeSupport.o ./Linux/WindowImplX11.o  -lX11 -lXrandr -lGL
make[2]: uscita dalla directory "/home/davide/libs/SFML-1.6/src/SFML/Window"
make[2]: ingresso nella directory "/home/davide/libs/SFML-1.6/src/SFML/Network"
g++ -o Ftp.o -c Ftp.cpp -W -Wall -pedantic -I../../../include -I../../ -O2 -DNDEBUG -fPIC
g++ -o Http.o -c Http.cpp -W -Wall -pedantic -I../../../include -I../../ -O2 -DNDEBUG -fPIC
g++ -o IPAddress.o -c IPAddress.cpp -W -Wall -pedantic -I../../../include -I../../ -O2 -DNDEBUG -fPIC
g++ -o Packet.o -c Packet.cpp -W -Wall -pedantic -I../../../include -I../../ -O2 -DNDEBUG -fPIC
g++ -o SelectorBase.o -c SelectorBase.cpp -W -Wall -pedantic -I../../../include -I../../ -O2 -DNDEBUG -fPIC
g++ -o SocketTCP.o -c SocketTCP.cpp -W -Wall -pedantic -I../../../include -I../../ -O2 -DNDEBUG -fPIC
g++ -o SocketUDP.o -c SocketUDP.cpp -W -Wall -pedantic -I../../../include -I../../ -O2 -DNDEBUG -fPIC
g++ -o Unix/SocketHelper.o -c Unix/SocketHelper.cpp -W -Wall -pedantic -I../../../include -I../../ -O2 -DNDEBUG -fPIC
g++ -shared -Wl,-soname,libsfml-network.so.1.6 -o ../../../lib/libsfml-network.so.1.6 Ftp.o Http.o IPAddress.o Packet.o SelectorBase.o SocketTCP.o SocketUDP.o ./Unix/SocketHelper.o
make[2]: uscita dalla directory "/home/davide/libs/SFML-1.6/src/SFML/Network"
make[2]: ingresso nella directory "/home/davide/libs/SFML-1.6/src/SFML/Graphics"
g++ -o Color.o -c Color.cpp -W -Wall -pedantic -I../../../include -I../../ -O2 -DNDEBUG -fPIC -I/usr/include/freetype2
g++ -o Drawable.o -c Drawable.cpp -W -Wall -pedantic -I../../../include -I../../ -O2 -DNDEBUG -fPIC -I/usr/include/freetype2
g++ -o Font.o -c Font.cpp -W -Wall -pedantic -I../../../include -I../../ -O2 -DNDEBUG -fPIC -I/usr/include/freetype2
In file included from ../../../include/SFML/System/Resource.hpp:211:0,
                 from ../../../include/SFML/Graphics/Font.hpp:31,
                 from Font.cpp:28:
../../../include/SFML/System/ResourcePtr.inl: In constructor ‘sf::ResourcePtr< <template-parameter-1-1> >::ResourcePtr()’:
../../../include/SFML/System/ResourcePtr.inl:31:12: error: ‘NULL’ was not declared in this scope
../../../include/SFML/System/ResourcePtr.inl: In member function ‘void sf::ResourcePtr< <template-parameter-1-1> >::OnResourceDestroyed()’:
../../../include/SFML/System/ResourcePtr.inl:148:18: error: ‘NULL’ was not declared in this scope
make[2]: *** [Font.o] Errore 1
make[2]: uscita dalla directory "/home/davide/libs/SFML-1.6/src/SFML/Graphics"
make[1]: *** [sfml-graphics] Errore 2
make[1]: uscita dalla directory "/home/davide/libs/SFML-1.6/src/SFML"
make: *** [sfml] Errore 2

3
SFML projects / Ludum Dare 25 Entry - Grand Wreck Auto
« on: December 26, 2012, 11:35:25 pm »
Hi guys,
I created a game for Ludum Dare 25 (jam).
I used SFML 2.0 (C++ version) and a game engine coded by me.

Here is my entry:

http://www.ludumdare.com/compo/ludum-dare-25/?action=preview&uid=4310

About the game:
You are a thug, who likes violence and to vandalize things punching them. Your aim in the game is to destroy all cars on the screen avoiding cops. Try to destroy cars when cops are far enough. If a cop see you vandalizing a car, he run to you and hit your face with a club!

Controls
Arrow keys = Move
Z = Throw a punch
P = Pause game
Use mouse to browse the menus



Gameplay video

www.youtube.com/watch?v=cBP8YEpjIuU

I hope you enjoy it!  :)

4
SFML projects / Tiny Bomber - a game for Ludum Dare #23
« on: April 25, 2012, 11:45:24 pm »


Tiny Bomber

Tiny Bomber is my entry game for Ludum Dare #23. It was coded in 3 days and is a puzzle platformer with bombs. Bombs are useful to break walls and take advantage of some sand banks. The sand that comes down, could help you to reach places not accessible only with jumps.

LD#23 Entry Page: http://www.ludumdare.com/compo/ludum-dare-23/?action=preview&uid=4310

Direct Download:


v1.2
Windows: Download Tiny Bomber v1.2 win
OS X: Download Tiny Bomber v1.2 mac

v1.1
Windows: http://bit.ly/I4BRhB

v1.0
Windows: http://dl.dropbox.com/u/4564869/LD23_Naufr4g0.zip
OS X: http://dl.dropbox.com/u/4564869/Tiny%20Bomber/Tiny%20Bomber%20OSX%20build%203.zip

Gameplay video:

http://www.youtube.com/watch?v=V_Jp7sydxtc

Next release water physics preview:

http://www.youtube.com/watch?v=QmENXLFsbBg

5
SFML projects / Linavalanche
« on: November 26, 2011, 02:03:18 am »


This game was present at a game jam event in Milan (April 16th-17th 2011): "Lunarcade Factory: Lines". ( link )
I've made some changes since then.
The most important thing is that I have added a leaderboard online, so you can compete with other remote players. :)
The game have a simple mechanic: you have to survive as long as possible, jumping from a line to another. Jumps can be done when the little sphere is at the intersection of two lines.
Lines fall down from the top of the screen and the game is over when the player touch the bottom of the screen.
I used SFML 1.6 to do all graphics, using sf::Shape class. :)
Special thanks to posva who gave me some helpful tips to create the online leaderboard. :)

Controls

arrow keys = move the sphere
L-CTRL or Z = jump from a line to another one
M = Mute
P = Pause game
H = Display online high-scores
S = Save current score to online leaderboard
F4 = Toggle Fullscreen mode

Download

Download Linavalanche v1.3.3alpha

6
General / Using SFML 1.6 under Ubuntu 11.10
« on: November 12, 2011, 10:52:52 pm »
Hi, all! I'd like to compile my games (with SFML 1.6 code) under a linux OS.
I installed Ubuntu 11.10 distro on my laptop and then Code::Blocks.
I downloaded also SFML 1.6 SDK and install it on the system with "sudo make install" command.
I configured the IDE to work with them (linking libs dinamically), but I obtain this error:

Code: [Select]

compiling: main.cpp
/home/ubuntu/Documents/CodeBlocks projects/ProvaLinux/ProvaLinux/main.cpp:1:27: fatal error: /usr/local/include/SFML/System.hpp: Permission denied
compilation terminated.

 
Does someone know how to configure SFML to work under CodeBlocks?
I'm a very beginner with linux OSs. :/

7
Graphics / Change sf::Shape::Circle color !
« on: November 04, 2011, 12:37:27 pm »
How can I set a different color for a sf::Shape::Circle shape?

circle.SetColor( sf::Color ) doesn't work!
Where is the color information I need?
And for a sf::Shape::Line?

Thanks in advance :)

8
General discussions / Compiling static sfml 2 issue
« on: November 01, 2011, 04:32:00 pm »
I'm trying to compile SFML 2.0 for statically use on my projects.
When I obtain SFML Visual Studio solution from CMake, I compile ALL_BUILD project with Debug and Release configurations.
But I can't get the static versions of the lib files sfml-graphics-s.lib, sfml-system-s.lib...
How can I do to solve this issue?

9
SFML projects / Falling Rocks! (demo inside)
« on: September 08, 2011, 02:15:42 pm »


In the last year I have spent a lot of time in game development, using the SFML libraries that I find very well done.
I began to write this game in 2010 with another graphic library, but eventually I came to SFML, writing the code from scratch.
The game is a simple time-waster and your goal is to avoid the falling rocks, surviving as much as possible and making the highest score you can do.
You can also do combos avoiding more rocks in sequence.
The highest level of difficulty is selected on menu screen, the highest rate of falling rocks you obtain in the game.
Press 'Left-CTRL' key to activate Bullet-Time, so you can more easily avoid falling rocks.
The game is not complete. I want to put some other obstacles like arrows, shurikens and bombs. I want to make the ground deformable, too, so the game can be more varied.
Consider the game I linked below as a demo.
Let me know if you have some issues to start the game.
Every kind of comment is welcome.
I hope you enjoy it!

Controls:

Arrow keys to move
Left-CTRL to activate Bullet-Time
-------------------------------
F1 to take a screenshot
M to toggle music mute
space to restart game when ninja falls in the water

Download
Download Falling Rocks v0.5.3 (for windows)

Download Falling Rocks v0.5.2
Download Falling Rocks v0.5.1d

Video

http://www.youtube.com/watch?v=yjfamlt2ZXg

Pages: [1]
anything