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

Pages: [1]
1
SFML projects / Tehos : Rebirth - My Ludum Dare 37 entry
« on: December 15, 2016, 01:38:10 pm »
Hi everyone !

During the last Ludum Dare, I made this game with my artist friend.

The game is available on both Windows & Android :
- Windows : https://github.com/Cmdu76/Tehos-Rebirth/releases/download/Windows/TehosRebirth.zip
- Android : https://play.google.com/store/apps/details?id=com.atmog.tehosr

It would be nice if you want to test it :)

You can also rate it on the LudumDare page here : http://ludumdare.com/compo/ludum-dare-37/?action=preview&uid=46404

Here is the link if you want to see the source : https://github.com/Cmdu76/Tehos-Rebirth/archive/Windows.zip

Tell me what you think of it :)

2
General / Load From Memory
« on: August 22, 2016, 08:10:29 am »
Hi !

Can someone explain to me how to load a texture from memory ?

std::string data = ...;
sf::Texture texture;
texture.loadFromMemory(data.data(), data.size());
 

What to I need to put in data ?

3
Window / Android and Keys
« on: February 28, 2016, 11:55:47 pm »
Hi !

In Android, I find (by myself) that the right button (return/escape) is mapped with sf::Keyboard::Escape.

But I can't find anywhere on the website documentation or tutorials.

So maybe SFML team should add it (if it isn't already the case)

And also I want to know, if others smartphones keys are accessible with sf::Keyboard ?

I tried sf::Keyboard::Menu but not worked...

Thanks in advance for any help

4
General discussions / Android Environment
« on: February 23, 2016, 12:37:45 am »
Hi all,

I'm actually learning how to use SFML on Android.
I'm porting my Windows games to Android and now I use the sfml example and this tutorial : https://github.com/SFML/SFML/wiki/Tutorial:-Building-SFML-for-Android

I modify files like Android.mk and all others by trying to change as few things as possible.
To code, I use Notepad++ and commands : ndk-build && ant debug.

I want to know if there are another ways to do it easier ? Like a specialized IDE ?

I saw Android Studio but I can't find on the doc how to work with the NDK with it, and Google links that has solutions to this looks like "hacks".
There is also Eclipse, quite used with Java, but Android advises to use Android Studio.

Which one do you use ? / What would you recommand ?

And also, where can I find more content to learn about how to deal with files like Android.mk or maybe directly SFML tutorials for Android ?

Thanks in advance :)

Pages: [1]