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 ... 12 13 [14] 15 16
196
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               \
              -lsqlite3
 


197
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).

198
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?


AlexAUT

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.

199
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)

200
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) ;)

201
SFML projects / Re: Witch Blast (dungeon crawl shooter)
« on: August 30, 2014, 07:07:24 am »
Quote
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  ;)

202
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.

203
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  ;)

204
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));
+}
 

205
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  ;)

include/modules/states/menu.cpp:618
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 ;)

206
SFML projects / Re: Kroniax available in the Play store!
« on: August 28, 2014, 06:18:48 am »
Thanks for your kind words  :)

But keep in mind that i haven't created the music, links are in the main post! I just found it  ::).


May I ask what was wrong with the context creation?



AlexAUT

But it's very hard even to just find the proper music ;)

Well, about context. When I'm using 3.3 this happening:
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  156 (GLX)
  Minor opcode of failed request:  34 ()
  Serial number of failed request:  77
  Current serial number in output stream:  76
 

After changing it to 2.0 everything is fine.

207
SFML projects / Re: Kroniax available in the Play store!
« on: August 27, 2014, 09:53:28 pm »
This game is AAAWEEESOME!!! The main problem is I can't sleep till haven't finish the latest level ;D

I had some troubles with starting. My android device is too crap and linux version didn't get started till i've changed context version, but it's all the hardware problems.

And the first thought in my head after launch was: "Oh my God! This music is great!"  :)

Well, great job!!!  ;)

208
SFML wiki / Re: SFML dynamic color tile-based lighting
« on: August 27, 2014, 12:06:38 pm »
To me, discussing about your wiki article fits quite well in "Discussions about the wiki" :P

Thanks for transfer and comment, Laurent ;)

209
SFML wiki / Re: SFML dynamic color tile-based lighting
« on: August 27, 2014, 11:46:58 am »
Why does everybody post in General Discussions? This is rather something for the Wiki forum ;)

Sorry :D Maybe because of Wiki is "Discussions about the wiki" and General is "For everything that is not a help request"  ;D

210
SFML wiki / SFML dynamic color tile-based lighting
« on: August 27, 2014, 11:12:48 am »
Some time ago i've posted info about the project I'm working on (F.I.R.E.D. http://en.sfml-dev.org/forums/index.php?topic=16025.0)

And now I've decided to make a simple demo and write an article about my lighting system.



Sources: https://github.com/achpile/sfml-lighting
Article: https://github.com/SFML/SFML/wiki/Tutorial:-Dynamic-colorful-tile-based-lighting

So, if you'll find something wrong or untold in the article - feel free to post your requests ;)

PS: to compile demo you have to install sfgui.

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