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

Pages: [1]
1
SFML projects / HeedJet
« on: March 18, 2017, 12:32:34 pm »
Hello everybody!




Intro


The main idea of the project it was a make multiplayer(client-server) 2d shooter game and put emphasis on the main core of engine. It must operate but the graphics is on the middle distance. It took me about 6 months. I’ve been working on the game after hours. With this project i introduce the multiplayer section.

In game we can create account and login, next we connect to the server and we can gain points killing the enemy. We have to make kills as many as possible. The one part of game is 15 minutes next client shows results for 15 seconds and next server respawn all players and we can play again 15 minutes. Relevant things that is we don't can jump only we have jetpack. If i decide to push the game forward i can add a lot of diversifying.
For example:
- spells,
- more weapon,
- changing weather,
- after kill, small point will be flying to player who killed somebody,
- obviously better graphics,
- protection anti-hacking system,
- grenade which will be use physics(bouncing off the wall and players),
- Now the main server have only 1 server which supports players, but i can try make server which will be make new „small server” when the first server will be full. For example: 60 people want to play, one „small server” can support 16 players.  So server distribute 4 „small servers” which will be operated by one big server.

But i really dont know if i want devote more time for this project. Time alone will tell.
One thing i know that is the project really educate me in multiplayer thing, generally in programming and in very small question also in hardware things.



General Implemented Functions


- During the create account client check if email have sign „@” otherwise get error. Similarly with password.
- I added loading bar to game using the thread.
- Server receive the information from client, for example: if password is incorrect, server send information to client and the user get error.
- Bullets are checked by server which simulated flight of bullet and if detect collision with enemy, then supply information in server and send information for all players for decline health.
- We also can write to each other in the chat.

I think that the more nice swell things you will see in video which i will do soon. Now i will show you the
photos.



Photos

















Let me know what you think!

2
General / Static linking problem
« on: March 11, 2017, 10:23:59 am »
Hello

I try to static link my game and i get error.
I add SFML_STATIC to preprocessor.
In Release:
(click to show/hide)
In Debug:
(click to show/hide)

And when i run compile all is good but when i try to open my game i get error: "Program game.exe stopped working" when i use debug i get error in line when code is:
 RenderWindow window(VideoMode::getDesktopMode(), "Game", Style::Default, sett);
And the error is "Unhandled exception at the Location 0x77A2FF33 (Ntdll.dll)"
I use Visual Studio 2017, and i download package Visual C++ 14 (2015) - 32-bit
I really dont know where are problem.

3
General / Static library
« on: September 29, 2014, 08:50:37 pm »
Hello

I dont have more force to make my program to work with static. Please look at this and enlighten me.













I searched the internet and could not find a satisfactory solution.

4
Network / Problem with login to FTP
« on: September 27, 2014, 06:41:39 pm »
Hello

I have problem, i try to login to my ftp and i have different error.
Unhandled exception at at 0x75D4B727 in keysfml.exe: Microsoft C++ exception: std::bad_alloc at memory location 0x0017EC68.

sf::Ftp ftp;
ftp.connect("ftp.test3.keed.pl");
ftp.login("blabla", "blabla123");

If i delete line of login i dont have error. What's problem ?






EDIT:

Resolved - i has problem with library.

5
Window / Close console, only process
« on: September 27, 2014, 11:45:41 am »
Hello

I would like to know that application can be only see in process, no console no window, only in process ??

Thanks in advance for your answers.

6
Window / Active event
« on: September 23, 2014, 05:34:01 pm »
Hello everyone!

I have problem with event. I have to make program which can receive event when the window is inactive and active. For example: i run the program and click something in keyboard - ok now its work but when i minimize the program, the event doesn't work i dont have idea how to solve.

Thanks in advance for your answers.

7
Graphics / Problem with stars
« on: August 04, 2014, 09:34:01 pm »
Hello everyone!

Now I make my platform game and now i dont know how to make a stars which we can collect.
I know how check if we will collect(intersetcs) but I dont know how to use texture to make more stars, for example now i loading gwiazda.png to memory

sf::Texture gwiazda;
sf::Sprite spritegwiazda;

gwiazda.loadFromFile("gwiazda.png");
spritegwiazda.setTexture(gwiazda);
spritegwiazda.setPosition(730,1200);

and now i make one star but how to make 300 or more and if i catch the star how i can delete this from map ??
I hope you understand what i mean.

Sorry for my English.

Pages: [1]