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

Pages: 1 ... 11 12 [13] 14 15
SFML projects / Re: Witch Blast (dungeon crawl shooter)
« on: September 13, 2014, 07:33:25 am »
I think it will be nice to use UTF-8 for translations file  ;) Or may be I'll fork your repo and make a PR, If I'll have enough time next week  :)

SFML projects / Re: Witch Blast (dungeon crawl shooter)
« on: September 12, 2014, 09:53:02 am »
Glad to see your project running forward  ;) Keep going on!
The things I want to see next release is more items  ;D But I know how hard is to add it :D

SFML projects / Re: Image Palette Applier
« on: September 10, 2014, 05:46:58 am »
Interesting. There's no rasterizer/dithering yet I assume?

Mario, no. Still, GIMP can do it. And the purpose of this tool is to do what GIMP is not able to  :)
btw,  I wrote it for 1 day :D So, There's no too much abilities  ;)

SFML projects / Image Palette Applier
« on: September 10, 2014, 12:15:15 am »
Good day!

For some time I was looking for the way to apply color palette to specific image (to make image use only colors, defined in palette).

GIMP can make indexed image, but there's 2 main problems:
  • Limitation of 256 colors
  • Alpha channel reset

Well, I decided to make own implementation (it's not finished yet, but workable).

Current features:
  • Able to choose what coordinates to use RGB or HSV
  • Support for GPL and TXT (exported from GIMP) palettes

For now it rewrites original file. Maybe I'll add an option later.
Btw, my tool much slower than GIMP, but it was 4 times slower before I've implemented cache  ;D


Well, screenshots, of course  :D
For all of the manipulations I used 'Cranes' palette from GIMP.

PS: maybe it's a bad example (palette not great to use on this image). So... The only way to find out it's usability is to check it out  ;)


GIMP indexing result:

RGB space:

HSV space:

SFML projects / Re: Node 54
« on: September 03, 2014, 06:03:07 am »
Oh, that's the reason. I had a libGLEW version mismatch. Because you compiled your sfml libs with 1.8, but I have 1.10. This way I don't contribute sfml binaries with the project binaries

SFML projects / Re: Node 54
« on: September 02, 2014, 06:41:58 am »
Ohh, now I see... Don't use static SFML linkage on Linux to avoid libs versions mismatch! Link statically only libc and libc++. And build the project with SFML 2.1 (not from the master branch). And make 2 builds. for 32bit and 64bit (like here http://fired.tk/downloads/1/).

this is how I link my project:
LDFLAGS     = -static-libstdc++ \
              -static-libgcc    \
              -lsfml-graphics   \
              -lsfml-window     \
              -lsfml-system     \
              -lsfml-audio      \
              -lm               \

SFML projects / Re: Node 54
« on: September 02, 2014, 06:31:02 am »
what is linux x86/x64 issues? maybe I can help (I've spent a lot of time finding out how to distribute linux binaries).

SFML projects / Re: F.I.R.E.D. v0.99.pre-alpha
« on: September 01, 2014, 02:35:12 pm »
Really nice love it. Runs perfectly fine on Ubuntu14.10 64bit except everytime I die the window looses focus and it shows every open window (this view http://www.opensourceforu.com/wp-content/uploads/2012/05/Ubuntu1204-24-Super-W-scale-windows.png) kinda strange.

Some suggestions:
*When you rightclick an item in a chest it should get automatically in your inventory, so it will be faster to store ammo.
*Sometimes its hard to see an enemy because the world is too dark (maybe this is on purpose?), you could add someting like a brightness level?


Hi, AlexAUT! Thanks for feedback!!!  I hope next releases will be much greater and you'll love it more ;)

Well, about issue with losing focus - I really don't even know, what is the reason. Because there's nothing in my code can do it  :-\ May'be there's some UNITY issue (I can't use it. Prefer MATE, XFCE and Gnome 2. Sadly Gnome 3 makes me sick  :( ). So I didn't tested it on unity, but I'll try.

About rightclick - it is used to take items by one from a stack (or heap. don't know how it is named  :) ) but only one item by click. No holding implemented yet  :( . And maybe middleclick will be used to do it. Or vice versa  :D And later there will be an 'autoloot' button ;)

About darkness. It is so dark with only one purpose. To show, what is the game lighting and lightning systems are  :D Of course all the game won't be so dark. This is just 2 demo levels made to show game abilities. It is pre-alpha. By other words - teaser. Nothing is told about game conception, only engine abilities.

SFML projects / Re: F.I.R.E.D. v0.99.pre-alpha
« on: September 01, 2014, 08:32:27 am »
PS: glad to hear I works on Win8  :) I didn't tested it even on Win7 (I have only WinXP)

SFML projects / Re: F.I.R.E.D. v0.99.pre-alpha
« on: September 01, 2014, 08:20:50 am »
I've played F.I.R.E.D. a little during the week end.
Runs fine (Windows 8 - 64).
The game is well done, polished, and I like the 2D art !

So it will become a multiplayer game ? You already have some "story" ?

Thanks for feedback, Cirrus Minor!

Yeah, it will. (may be multiplayer or single player will be some kinda similar to Terraria. I mean you can choose player and world/server). But only in distant future. For now I'm working on City with NPCs, Player's home with treasury and more stuff, skill system, maybe liquids, quests etc. I've planned a lot before next release :D

And the story.. Just a simple thoughts about it, but I won't tell anything about it till release will be done ;D

About multiplayer - I don't planned a lot about it. For now I want to implement party-quests with awesome loot (like dungeons in WoW or similar) and some kind of arenas (For PvP) ;)

SFML projects / Re: Witch Blast (dungeon crawl shooter)
« on: August 30, 2014, 07:07:24 am »
It's already implemented, but you can only fire in the 4 directions, like with the keyboard.

Sorry, tried it on laptop and didn't used touchpad  :D Just fire control settings made me think that there's no mouse control  ;)

SFML projects / Re: F.I.R.E.D. v0.99.pre-alpha
« on: August 29, 2014, 09:33:59 pm »
Man... why can't such games gain more attention. That way people would see what awesome things can be achieved with SFML and would stop asking whether SFML can be used in high quality games.

In any case, good job ;). I would even consider this game to have potential to be on par with some things sold on Steam for real money.

PS: @binary1248, I think SFMLProjects (developing by eXpl0it3r, zsbzsb and me) will help people to find more nice projects using sfml, but I see SFMLProjects only in distant future. I think the more attention can be gain if there will be the special menu entry 'Projects' on main site (near resources, license, downloads etc.) where the project titles, sreenshots and link to forum threads can be placed (projects can be added by discretion of the administration) for projects like mine, 'Witch Blast', 'Kroniax' etc.

SFML projects / Re: Witch Blast (dungeon crawl shooter)
« on: August 29, 2014, 08:56:32 pm »
Wow, it's really awesome!!!! Played it a lot!! It's the thing I was searching for last year! Just simple dungeon adventure with graphics...   ;)

The things I want more in the next updates is pause and ability to save game. And keep coding! You're doig great!!!

May be shootng by mouse will be more easy. But it will make the whole game easier, so (like programmers say) it's ot a bug - it's a feature  ;)

Feature requests / sf::Rect extension
« on: August 28, 2014, 03:04:53 pm »
I think it will be useful functions to get position, size and (position + size) of the rectangle class instead of using everywhere in the code sf::Vector2(rect.left, rect.top) use simple rect.getPosition().

I don't want to make a pull request, 'cause some my things (like doxygen comments and formatting) may differ of what supposed to be. So here's a simple patch. And I don't know, how to name function returning (position + size) :D

diff --git a/include/SFML/Graphics/Rect.hpp b/include/SFML/Graphics/Rect.hpp
index 2880722..d565b5e 100644
--- a/include/SFML/Graphics/Rect.hpp
+++ b/include/SFML/Graphics/Rect.hpp
@@ -146,6 +146,36 @@ public :
     bool intersects(const Rect<T>& rectangle, Rect<T>& intersection) const;
+    /// \brief Get the position of the rectangle
+    ///
+    /// This returns the position of the rectangle
+    ///
+    /// \return Rectangle position
+    ///
+    ////////////////////////////////////////////////////////////
+    Vector2<T> getPosition();
+    ////////////////////////////////////////////////////////////
+    /// \brief Get the size of the rectangle
+    ///
+    /// This returns the size of the rectangle
+    ///
+    /// \return Rectangle size
+    ///
+    ////////////////////////////////////////////////////////////
+    Vector2<T> getSize();
+    ////////////////////////////////////////////////////////////
+    /// \brief Get the position of the far point of the rectangle
+    ///
+    /// This returns the position of the far point of the rectangle
+    ///
+    /// \return Rectangle position of the far point
+    ///
+    ////////////////////////////////////////////////////////////
+    Vector2<T> getPositionFar();
+    ////////////////////////////////////////////////////////////
     // Member data
     T left;   ///< Left coordinate of the rectangle
diff --git a/include/SFML/Graphics/Rect.inl b/include/SFML/Graphics/Rect.inl
index 4a92397..779c904 100644
--- a/include/SFML/Graphics/Rect.inl
+++ b/include/SFML/Graphics/Rect.inl
@@ -157,3 +157,27 @@ inline bool operator !=(const Rect<T>& left, const Rect<T>& right)
     return !(left == right);
+template <typename T>
+Vector2<T> Rect<T>::getPosition()
+    return Vector2<T>(left, top);
+template <typename T>
+Vector2<T> Rect<T>::getSize()
+    return Vector2<T>(width, height);
+template <typename T>
+Vector2<T> Rect<T>::getPositionFar()
+    return Vector2<T>(static_cast<T>(left + width), static_cast<T>(top + height));

SFML projects / Re: Kroniax available in the Play store!
« on: August 28, 2014, 09:33:10 am »
And one more thing I want you to know  ;)

gui.addLabel(3, "text", sf::Vector2f(50, 120), "Some more Information:\n\n\nGreen horizontal lines will"
"change your speed!\n\nYellow horizontal lines will change your gravity!\n\nBlue lines will affect your view!");

When you concatenating strings like this - no spaces will be added, so it becomes "Green horizontal lines willchange ...". So you can add space to the end of the first, or to the start of the second string ;)

Pages: 1 ... 11 12 [13] 14 15