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

Pages: [1]
1
Feature requests / Changing PrimitiveType naming to match GL.
« on: August 10, 2015, 08:00:12 am »
Although this isn't exactly a feature it was recommend I should post it here. Currently the names of some of the PrimitiveTypes are weird. i.e) LinesStrip, TrianglesStrip, TrianglesFan. The "feature request" is to change them to LineStrip, TriangleStrip, TriangleFan which matches the internal GL naming. The patch is already finished and in my fork.

It seems it can't be included in any 2.x version of sfml, for fear of it breaking code. However binary1248 suggested that we could include them alongside the original naming, and mark the others as "deprecated". So that it can be temporarily included.

P.S. I'm not a triangles fan. I actually like the dodgers.

2
Feature requests / Retrieve a name of a joystick.
« on: August 09, 2015, 09:15:38 pm »
When using the joystick module for a gamepad. I always end up having a lot of issues between platform/controller/driver. For example the joystick y inputs might be flipped on windows for the same controller. Something that might aid in being able to detect what controller is being used and thus using it correctly would be having a way to know the name or driver name of the controller plugged in.

So for example the API might look like: static sf::String sf::Joystick::getInfo(unsigned int joystick);

I might look into how this could be done within sfml.

3
SFML projects / Sassy GUI
« on: August 05, 2015, 11:34:17 pm »
Sassy stands for "straight-forward and su-".... well screw it it doesn't stand for anything it's not an acronym anyways! That's how simple it is. Here is a list of words that could be used to describe Sassy: quick, simple, dirty, straight-forward, robust-ish, ugly, unsafe (currently has scary pointers. That's right you heard me).

Sassy is a GUI made for sfml apps. It contains some generic GUI elements and a simple interface for creating new elements. However it doesn't do much of the work for you, basically just override the processEvent/draw methods and go to town. The purpose of this collection is just to make a GUI in as little time as possible. there is no compiled library just a folder with some headers/source.



Current Features:
  • Element interface
  • The usual gui elements: Buttons, Sliders, Text-boxes, etc.
  • Color theming

Planned features:
  • Making creating new GUIs even easier!
  • Finding ways to comply with Google's Material Design (That might make it to pretty).
  • Adding new default elements: Combo box, color picker, etc.
  • Fixing and adding bugs

If you want to get some debug interface up and running quickly I think Sassy might be for you, if you want a sleek UI that players can use, I recommend making something nice and custom. However note that you can still use Sassy for that it'll just require a little more work.

Here's the repo which contains the Sassy source, an example and some other stuff (Debug folder just has a font).
https://bitbucket.org/Verrazano/sassy

Feel free to make suggestions and ask for features. I'll be willing to hear you out.

P.S. Thanks jagoly for the name.
Quote
[01:19:00] <Verra> hmm
[01:19:08] <Verra> need to think of a dumb name for a library
[01:19:16] <Verra> or rather just collection of clases
[01:19:37] <jagoly> call it "SQCC"
[01:19:47] <Verra> what's that stand for?
[01:20:06] <jagoly> Sassy Quick Collection of Classes :D
[01:20:22] <Verra> I like sassy
[01:20:30] <Verra> and so it shall be called sassy

Pages: [1]
anything