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 ... 6 7 [8] 9 10 ... 22
106
General / Re: Static Linking
« on: December 07, 2014, 08:30:39 pm »
Btw is there a way to add images to your program to load in a texture without distributing the actual image file with it?
In Windows you can use resources. Other way is to create object file from image, link it, and then use memory address to access it.

107
General discussions / Re: Android and iOS ports available for testing
« on: December 07, 2014, 04:43:56 pm »
And the most intresting, now app runs on 4.0.3 emulator and almost runs on 2.3.3 (but can't create RenderTexture). With shared SFML libs app succesfully worked only on 4.2 real device.

108
General discussions / Re: Android and iOS ports available for testing
« on: December 07, 2014, 01:03:40 pm »
"sfml-activity.so" has no dependencies of openal and sndfile so there are no problem to start from here and to load deps manually. But without "sfml-activity" the main object is my app:
        <meta-data android:name="android.app.lib_name" android:value="croger_d" />
And my app has dependencies from two libs - openal and sndfile. When my app succefully found then OS tries to load it. And can't load dependency of openal and sndfile - not found. But "libopenal.so" and "libsndfile.so" are in APK and registered in META-INF.

109
General discussions / Re: Android and iOS ports available for testing
« on: December 07, 2014, 12:19:18 pm »
By the way, I tried static build for SFML, except sfml-activity.so, and size of APK file 20Mb instead of 28Mb now.
And I don't have ideas how to avoid use of sfml-activity.so... OS tries to load "openal" and "sndfile" and can't find them.

110
General / Re: Static Linking
« on: December 07, 2014, 11:46:23 am »
Add all required libs.

111
General / Re: Static Linking
« on: December 07, 2014, 09:24:14 am »
Add OpenGL32.lib

112
SFML projects / Re: Faux Car
« on: December 03, 2014, 08:17:12 pm »
I loved Lotus Esprit Turbo Challenge when I was a kid. This brings back good memories.
Nice work Hapax.
Lotus III: The Ultimate Challenge - my favorite. It is ideal! =)

113
Graphics / Re: Text not being drawn to screen
« on: December 03, 2014, 07:48:43 pm »
This
 loadFont(font);
 GameText[i].setFont(font);
must be out of any loop, in "createTextProperties". But GameText must be drawed in every render loop: GameWindow.draw(GameText[ i ]);

114
SFML projects / Re: GIPE Framework
« on: November 30, 2014, 12:33:11 pm »
Well, I decide to open sources of the GIPE - https://bitbucket.org/SteelRat/gipe
It is pretty unuseful until I will open GIPE-Editor (I'll do it when editor will be not so buggy). But may be my experiments could help someone. There are VS2013 solutions for Tegra-Android for example.
Almost all GIPE components are in development, some things were written using bad ideas, some things are pretty good.

115
General discussions / Re: Android and iOS ports available for testing
« on: November 22, 2014, 08:13:14 pm »
You get a move instantly after a TouchBegan?
Yes. And it is not SFML's bug.

116
General discussions / Re: Android and iOS ports available for testing
« on: November 22, 2014, 07:10:46 pm »
I don't need "move" event when I just touched the screen. I don't moved anything. I made a hack to avoid it but it is not normal behavior anyway.

117
General discussions / Re: Android and iOS ports available for testing
« on: November 22, 2014, 06:50:54 pm »
Is there any legal way to avoid "move" event after finger down?

118
General / Re: A few questions regarding Android development
« on: November 22, 2014, 12:43:56 pm »
Situation has been changed absolutely.
VS 2013 Community Edition + Tegra Android Development Pack = The best! May be release of VS2015 will change this again.

119
Feature requests / Re: Separating event generation and the window.
« on: November 22, 2014, 11:29:28 am »
I'm using own EventManager, I stole structure from wxWidgets and simplified it a little. =) There are wrapper which transform sf::Event in to my event classes then EventManager dispatchs events to subscribers and it can easily dispatch custom events like a "ButtonClick" or "Tap". So my events are independed from SFML.

120
General discussions / Re: Android and iOS ports available for testing
« on: November 20, 2014, 07:09:38 pm »
Mario, I like NSight, thank you. I was close to buy VisualGDB. You saved my money. =)

Pages: 1 ... 6 7 [8] 9 10 ... 22
anything