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

Pages: [1] 2 3 ... 5
1
I intend to use real world maps and have stuff walking, running, sailing and so on upon them to show what happened. I'll probably use way points + timers for activation so yes, it will be pre-programmed.

I'll take a look at OBS studio, thank you for your information eXpl0it3r. If it creates HD videos from SFML, I'll really gonna be happy.


2
Window / Is there an easy way to create a HD movie from a game window?
« on: April 10, 2017, 02:49:51 pm »
I haven't used SFML for a long while, delving into G suite and pedagogical resources for elementary schools instead.

In all this, I thought I would do a longer instructional video in 16:9 format with different animations. Problem is that few (none?) free programs offer animated 2D capacity with correct timing. But SFML do. The most valuable part for me is the possibility to use "views" to move around upon a larger picture.

What I need to know though, is if there is any kind of reasonable easy way to catch what happens in a game window sized to 16:9 and record it in full HD?

I need to be able to do two things; putting up a video on Youtube that might be of just reasonable good quality, but also have to have a HD quality example for my colleagues and pupils. Kids these days have problems with low res films in education :)

3
Network / Re: Easy example for client server in LAN
« on: April 19, 2016, 09:54:06 pm »
Thanks both Nexus and Godsend72. I'll take a look at your client/server Godsend72 to see if I can understand how it works. Some kind of read.me file would help though :)

4
Network / Easy example for client server in LAN
« on: April 16, 2016, 09:39:49 pm »
I'm a teacher, and right now I have 1:1 PC in my class. I know there is a future for games in education. Gamification makes kid learn faster, since it's fun. Even more when kids can cooperate, using more computers. Even say 24 PC's connected to a single game server in the class room. But how?

I would love to se an example in the wiki where someone better than me can make an easy example of a server with 2-3 connected players just moving a square around on the screen at the same time.

I understand all other sfml-modules fairly well by now, but the network module is still a mystery. If I had just a simple, as easy as possible, working example like this. Sending x + y coordinates from one client to the server and then to all other clients, I think I should be able to do the same thing with sprites. But as it is right now, I'm stuck to single player games. And that's a pity when sfml can accomplish so much more than most other graphical frameworks for 2D games around.

5
You are right, and they need to be fleshed out a bit. But if I add code or newbie examples, shall I post those in the wiki then?

6
I actually created a PP for us who aren't too savy on programming. It shows, step by step, how to install SFML 2.3.x with VS 2013 Community Edition:

https://docs.google.com/presentation/d/1UiZdJTQJdyXBpXceSlcHDicFh0ew1ogY_UzmWzW0w5I/edit?usp=sharing

7
Everything works as intended now, at least the code snippet in the example creates an SFML window with a green circle.  :) If it is any help for anyone else experiencing the same problem.

Static mode is different now though, compared to version 1.6, creating 67 errors just for the text row trying to create the window. (sf::Window window(sf::VideoMode(800, 600), "My window"); ) so I have to go for dynamic installations with all the dll:s to make it work.

But, as long as it works, I'm happpy :)

/Ingemar

8
General discussions / Re: VS 2013 isn't creating .exe-files?
« on: July 13, 2015, 10:16:03 pm »
I Think I found the culprit. At least I can run empty console Projects now. VS 2013 seems to demand that the cpp file is inserted manually in the Project inspector Before they can be used. Which was not the case in older version.

https://social.msdn.microsoft.com/Forums/vstudio/en-US/4253e88a-7a32-48fd-b2fa-093bf41fcb38/unable-to-start-program-cexe-the-system-cannot-find-the-file-specified?forum=visualstudiogeneral

If you click 'Next' after File>New Project and select "Create Empty Project" then there are no files in the beginning, and you add them manually. It will build fine, but won't run. You need to add it to the source files list in the pane at right.

If you have already created and saved the file, then in the "Solution Explorer" pane at right, right click on "Source Files" and choose "Add existing". Then add the file. You'll find it displayed in the list below afterwards. Now it will link and run. If you have just created the empty project and have no files yet, then it's better to rightaway right-click on Source Files, and choose "Add new", and then begin writing your code.

This is especially confusing since this issue did not arise in old versions of VC++, and a person who is simply following a standard Windows programming book (Such as Charles Petzold's classic work) will find the instructions in the book apparently broken, even though the book is published by Microsoft Press itself, and is considered a VC++ coding Bible.

.
I'll continue to dabble with SFML tomorrow when I've had a good nights sleep...

9
General discussions / Re: VS 2013 isn't creating .exe-files?
« on: July 13, 2015, 09:49:39 pm »
Indeed, I should have tried that some hours ago... When I create an empty console Project with standard c++ and add the cpp file manually, the same error appear. When I create a standard console Project, the exe-files are created. Really odd.

//Ingemmar

10
So, I downloaded VS 2013 Community Edition together with corresponding SFML 2.3.1 (Visual C++ 12 (2013) - 32-bit) files today. I installed it all according to the instructions in the homepage. But it doesn't work...

When I start a new console Project, I Make sure it is an empty Project (check that check box). Add a .cpp file manually. Link all files (I tried both static and dynamic) to the Project and run the small code snippet from the example.

The odd thing is that I can build the code both in debug and release mode in VS. The folders for release and debug are created inside the Projects folder. But no .exe-files are created. Thus, when I hit F5 key, I get a warning that the compiler can't find the Projects exe-file. When I hit CTRL+F5 I get a console window with:  '"c:\users\name\documents\visual studio 2013\Projects\ConsoleApplication1\Debug\ConsoleApplication1.exe"' is not recognized as an internal or external command, operable program or batch file. Press any key to continue . . .

Ah, maybe there is some kind of path problem, I thought and scanned the whole computer for .exe-files created today, but they didn't show up. Conclusion - no exe-files have been created.

Why? I relly can't tell myself. This way to start a project used to work fine in old VS 2010... The only big difference I can see is that in VS 2010, I added a .cpp file myself when I started an empty Project and named it main.cpp. In VS 2013 It names itself automatically to Source1.cpp. But I doubt that is the problem since the build works without flaws.

Has anyone any ideas? I doubt it is an sfml error but instead some kind of fault in VS.

/Ingemar

11
General discussions / Re: What version of VS Express 2013? (Solved)
« on: July 13, 2015, 11:57:04 am »
Thanks a lot for your quick answer.

//Ingemar

12
General discussions / What version of VS Express 2013? (Solved)
« on: July 13, 2015, 11:42:40 am »
So, after a long time, I decided to use SFML to create short movies to be used for flipped classroom in elementary school. I used SFML a couple of years ago and I havenĀ“t found any other tool as versatile as SFML.

*So, I have a PC with W 8.1 personal 64.
*I want to use the latest binding, 2.3.1, together with Thor. (I didn't realize how useful Thor is and failed that part last time I tried SFML).
*If I choose the libraries for "Visual C++ 12 (2013) - 32-bit", can I use that with Thor?
*What free version of Visual studio express shall I install? On the homepage ( https://www.visualstudio.com/en-us/products/visual-studio-express-vs.aspx ) there are these different versions to choose from:
-Community 2013
-Express 2013 for Web
-Express 2013 for Windows
-Express 2013 for Windows Desktop
-Team Foundation Server 2013 Express

Which one of these will be free and work with the SFML library I intend to download? (Visual C++ 12 (2013) - 32-bit, if it works with Thor)

Yours sincerely:
Ingemar

13
General / Re: SFML and win 8.1
« on: December 21, 2013, 09:30:59 am »
Pity, but then I know. Thanks for your time and knowledge.

14
General / Re: SFML and win 8.1
« on: December 20, 2013, 10:30:54 pm »
It seems that I need the phone SDk and vs 2012 together with win 8
( http://msdn.microsoft.com/library/windowsphone/develop/ff402529(v=vs.105).aspx )

I'm not experienced enough to tell if I can use the SDK together with SFML or if a Project can use the SDK or SFML. Thus this topic.

If it is possible to make windows phone apps in SFML, I would indeed be very happy.

15
General / SFML and win 8.1
« on: December 20, 2013, 09:39:58 pm »
I thought hit me tonight. Is it possible to make sfml-games that can be used both on a pc and a phone with win 8.1 by using common Visual studio and c++? And if not, why?

Pages: [1] 2 3 ... 5