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

Pages: [1] 2 3 ... 22
1
SFML wiki / Re: Android example can not close on Escape
« on: May 04, 2016, 06:11:04 pm »
The only way to totally finish Android app is to call exit() or std::terminate() function. exit() is bad if you'll relaunch app immediately after exit. terminate() is bad because it shows popup window with error message (but it's rarely, tbh I saw it two or three times).

2
SFML projects / Re: Gravity Sandbox
« on: May 03, 2016, 10:32:42 pm »
Cool, very nice!

3
General discussions / Re: Build SFML to Android-Port with VS 2015
« on: March 29, 2016, 12:33:42 pm »
VS2015's android support is raw and awful. Use this - https://developer.nvidia.com/nvidia-nsight-tegra
Forum - https://devtalk.nvidia.com/default/board/82/nsight-tegra-visual-studio-edition/1/
Example of SFML VS project is here - https://bitbucket.org/SteelRat/gipe/src/725d1a1242ff/deps/sfml/
It's for old Nsight version and for VS2013, but I think it's good as example.

4
General discussions / Re: Android Environment
« on: February 24, 2016, 02:08:23 pm »
I have no idea how it works for Android. ;)
Perfectly. =)

5
SFML projects / Re: In Soviet Russia
« on: November 12, 2015, 04:03:14 pm »
Russian snowmen do not use smoothbore guns, never.

6
General discussions / Re: Android with VS2015
« on: November 12, 2015, 03:59:14 pm »
Use this - https://developer.nvidia.com/nvidia-nsight-tegra
Visual Studio 2015 is far away to develop for Android yet.

7
General discussions / Re: Why do so many game take so much space?
« on: September 24, 2015, 03:05:18 pm »
Well, first Elite was less than 48Kb. =)

8
General discussions / Re: Fundraiser for a Mac mini
« on: September 19, 2015, 01:03:23 pm »
It is very noble of you! =)

9
General discussions / Re: Fundraiser for a Mac mini
« on: September 19, 2015, 10:26:15 am »
It has arrived! ;D
So, it will your part of job - programming in Xcode? My condolences... =)

10
General discussions / Re: Fundraiser for a Mac mini
« on: September 16, 2015, 08:36:03 pm »
Awesome!

11
General discussions / Re: Fundraiser for a Mac mini
« on: September 15, 2015, 08:09:36 pm »
Well, I guess it's no problem to reach the funding goal. The big question is, how long will it take? :)
With current dynamics - a one week.

12
General / Re: Questions for Android platform
« on: September 04, 2015, 05:49:00 pm »
Well... Some time ago I began experiments with Android/VS/Gradle without SFML, but based on some ideas from it. I can share the sources, but there now broken Android build because I converted project to VS2015 but Nsight Tegra from Android Works does not suppot it yet (but will soon). So, if you want to see my variant of C++/VS/Android - write to pm.

13
General / Re: My poor SFML games run very slow on 64 bit system
« on: August 08, 2015, 10:45:45 am »
Sure, copying large objects is a slow operation. Sure, copying many large objects is a much slower operation. This isn't due to STL, though. It would be just as slow if you were making a copy of an array instead of a vector, although passing an array to a function technically just passes the pointer.

The solution, of course, is to pass by reference (preferably) or pointer  :)
void MyNoLongerNoobMegaFunction(std::vector<MegaObject>& objects);
Believe me, I know it. But we still didn't see any source codes of topic starter. So, I was just guessing. Because it's the common mistake of newbies.

14
General / Re: My poor SFML games run very slow on 64 bit system
« on: August 07, 2015, 08:14:38 am »
Sorry, but this doesn' make sense to me.
Are you implying that STL containers are inherently slow? If so, I would tend to disagree (and would like concrete examples where you can out-perform STL containers while still providing the same functionality - like, try to beat std::vector (sure std::array for some cases, but not with the same functionality)).
I mean this:
void MyNoobMegaFunction(std::vector<MegaObject> objects)
or this
void MySecondCoolFunction(std::string id, std::map<std::string, MegaObject> objectsMap)

STL is not slow, sure. But STL allows to programmer to make it VERY slow.




15
General / Re: My poor SFML games run very slow on 64 bit system
« on: August 06, 2015, 07:37:55 pm »
Per frame operations with STL containers?

Pages: [1] 2 3 ... 22