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.


Messages - MrOnlineCoder

Pages: 1 ... 4 5 [6]
76
General / Re: Will one SFML project run on different computers?
« on: August 21, 2016, 10:04:25 pm »
I read that this dll controls error handling, and I got this error before I used custom SFML build.

77
General / Re: Will one SFML project run on different computers?
« on: August 21, 2016, 07:19:38 pm »
So, I sent my game to my friend, and it doesn't works on his PC saying that "libgcc_s_sjlj_1.dll" is missing. How it can be fixed. Game perfectly runs on my PC.

78
General / Re: Will one SFML project run on different computers?
« on: August 16, 2016, 09:01:33 pm »
Just "The program has stopped working..." like this:

79
General / Will one SFML project run on different computers?
« on: August 16, 2016, 06:15:42 pm »
Hello. I made a SFML project, using custom SFML build, because official didn't work on my machine. Then I updated my PC to Windows 7 64 bit, and my previous project crashed on start. Then I rebuilt SFML for new PC, and connected it to my project, it ran perfectly. Why  that happended and will it happen on other machines? (for example, my friend's PC)

80
General / Re: Best way for organizing turn-based game
« on: August 14, 2016, 10:19:15 pm »
Thanks again, you helped me a lot.

81
General / Re: Best way for organizing turn-based game
« on: August 14, 2016, 09:16:16 pm »
So, there is another question. The game screen contains battle field, some buttons and player status.
What is the best way to move the heroes? The field is made of 32x32 squares, so hero can move only 32 * n pixels in one direction. Should I store original position in Hero class or it's position in grid (cols and rows)?

82
General / Transfering data in Manage different screens tutorial
« on: August 12, 2016, 07:29:17 pm »
Hello. I found This  tutorial (https://github.com/SFML/SFML/wiki/Tutorial:-Manage-different-Screens) nice, but there is one question: how can I transfer data from screen to screen? For example, I have 2 screens: FindGame and Arena. FindGame screen searches an opponent online and has to transfer IP of server to connect to Arena screen.

83
General / Re: Best way for organizing turn-based game
« on: August 11, 2016, 10:43:51 pm »
That's a big question! I'm something of a newbie myself, but here's the approach I would take:

..........

Thanks for reply! Can you tell me cons in using inheritance (I already used inheritance in Game States (screens)) and alternative for it. Also, that the game will be multiplayer too, so in what way I should store data of ~50 heroes (max HP, speed, attack damage, texture), so player can't edit it.

84
General / Best way for organizing turn-based game
« on: August 11, 2016, 02:51:18 pm »
Hello. I am making a game where player control a bunch of heroes on a field (15*7 squares), and player has to destory enemy's heroes. It will be turn-based game, so hero can walk/attack in 1 turn. What is the best way for designing this game, so heroes will be easily interacted with UI (choose a hero to attack, choose a field square to go) and with in-game logic.
Thanks in advance.  ;)

85
Feature requests / Map loading API
« on: July 06, 2016, 11:18:47 pm »
Hello. Will be map loading API included in SFML? I mean like reading from .tmx files, or just binary or text files.
Thanks.

86
General / Re: Problem with making simple project
« on: May 12, 2016, 04:03:59 pm »
OK. But when I use CMAKE, it says error about libintl8.dll

87
General / Problem with making simple project
« on: May 12, 2016, 03:29:54 pm »
Hello! I found SFML very easy and nice library for games (thanks Laurent), but I just disappointed with it's installation. So I created a simple project (Hello World with Green circle) in CodeBlocks, followed the guide on site, and after run, it started complaining about  something like libgcc_s_sjlj_1.dll was not found.  I moved it to the .exe directory (i used -static-libgcc and -static-libstdc++ flags, but it didn't work). Then it happened with libstdc++6.dll and DW2 dll. Then I ran my .exe, and it said: There is no entry point for _gxx_personality in libstdc++6.dll. I CAN'T even run hello world. Why it is so problematic? Is it my PC's issue or library issue or compiler issue? In VS 2008 Express the same problem (I used VC++ build). Can you explain why it is happening and how can I fix it?

Thanks.

Pages: 1 ... 4 5 [6]