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

Pages: 1 [2] 3
SFML projects / Yggdrasil
« on: January 16, 2012, 05:11:17 am »
Hello everyone,

With little time i just feel like sharing with you all what i am working on.

So, i am making a game called Yggdrasil (at least for now) that uses my dear Parabola Engine as its technology.

The game is a tower defense that is being developed full throttle and hopefully released [soon enough].

I encourage you to check my latest blog post: http://codetimestories.blogspot.com/2012/01/yggdrasil-development-1.html

There is already a demo you can try in the post. Feel free to try, read older blog posts , modify the demo and give your opinions!

Thanks for the support SFML community :)

Network / Enet and SFML Networking
« on: January 15, 2012, 12:49:19 pm »

I use Enet for networking right now, and i feel like continue using it, though, i seem to like how the sf::Packet is built.

I wonder if i can use the SFML data packets along with enet ? Anyone tried?


Graphics / Integration of SPARK Particle 2 with SFML 2
« on: January 14, 2012, 01:20:38 am »
I've been trying to use SPARK 2 with SFML 2, but even though it is working already, it is not flawless. at all.

The main problem i wanted to ask about is the fact that i can't get everything to render together right.

The thing is that i am drawing sprites and shapes, then i draw particles and finally i draw some text. All the text i draw before the particles will appear normally, all the text i try to draw after the particle rendering will not appear at all.

I've tried to play with a few states while always doing the Push/Restore thing, both the sfml "push states" and the spark_gl module "push states".

What could it be? Thanks

Graphics / [SFML 2] Sprite Size
« on: January 12, 2012, 10:46:47 pm »
I've updated to the latest sfml 2 snapshot, and i wonder..

.. How do i resize my sprite? No SetSize anymore.. how?

Thanks :)

Network / GetLocalAddress doesnt seem correct
« on: September 03, 2011, 12:11:02 am »
When i do this:


I get, i was expecting my LAN address

Any other way to get it?


Graphics / SFML2 Flickering
« on: August 21, 2011, 08:51:16 pm »
Hello guys,

Is there any known issue about window flickering with sfml 2?

Im doing the rendering the usual way, but i get a empty frame and then a normal frame, and so on. So, as frame yes, frame no, the screen is just black, i wonder what is happening!

Seems like a issue with double buffering, where one of the buffers is locked for writing..

I did a system("pause") before Window->Display() to be sure this is exactly whats is happening.

I have some other code in the middle of the rendering, that uses raw OpenGL, and i use Restore/Save States for that, but there seems to be something about this code that makes everything work normal, maybe some gl state.. More specificly, i use libRocket, and if there is a context to draw in the renderer, everything works normal, otherwise, the problem occurs.

Thanks for the help

Graphics / Weird problem with sf::Text
« on: August 20, 2011, 06:24:03 pm »
Hello everyone,

Im not sure if this is a known issue, but here it goes!

There is a piece of code that won't work in a laptop, but works fine in my desktop. They are both windows 7, but very different in hardware and openGL versions...

So, i have a class, with a sf::Text* member, it is perfectly initialized and rendering fine, but i get trouble when i try to change its String.

I have something like this:

Code: [Select]
void OnEvent(sf::Event Event){
     myText->SetString("new text"); //this works fine in laptop and desktop

     if(Event.Type == sf::Event::KeyPressed){
           if(Event.Key.Code == sf::Keyboard::F){
                  cout<<"This gets printed just fine when pressed"<<endl;
                  myText->SetString("tryyyy"); //this works in the desktop
                  //in the laptop, nothing changes at all, as well as any other calls like SetColor..

I hope it is understandable :)

Graphics / Image loading question
« on: March 26, 2011, 11:36:31 pm »
Hello, when a sf::Image is loaded, and it gives an error of the kind "resolution not supported by graphic card" because it is too big, i know it won't be usable as a Sprite, but are the pixels loaded? as if i wanted to manipulate the image?


General discussions / SFML in iPhone
« on: March 05, 2011, 11:41:59 pm »
I bet this is a topic already discussed before, but i would like a definitive answer on the subject.

Accordingly to current SFML state of development, how hard would it be to make SFML support iPhone? Even if not as its core, but maybe an extension to sfml.


General / Provided OpenGL support by SFML
« on: March 01, 2011, 09:52:29 pm »
Hello, this is just a doubt, once i use SFML in my project, do i need to use something else like GLEE if i want to use openGL?


Graphics / Explanation on SFML textures
« on: February 21, 2011, 01:26:49 am »
I've ran into this problem:

I have a regular sprite, to which i changed alpha with SetColor()

I have some other drawing code which binds another texture in opengl, which screws up the sfml rendering of the sprite.

To prevent this, i used glGet to save the current texture before the custom drawing code. And restored that texture with glBindTexture after it.

This worked, and both drawing code and sfml are rendering correctly, except the texture has full alpha again( color 255,255,255,255 ).

What happened to my custom color, and how to restore it?

Graphics / Rendering Sprites: Best practices
« on: February 07, 2011, 04:44:03 pm »
Hello, i got myself questioning myself what would be the best practice to render equal sprites.

I mean, is it better to have multiple sprite objects, for different transformations of the same sprite, or should it be faster to draw sprite, setposition, draw, setposition,draw ?

What do you recommend for such cases?


Graphics / Keeping the renderization proportional when renderizing
« on: February 07, 2011, 05:40:31 am »
Hello, i am using SFML2, and when i resize my window my things get heavily damaged!

I don't remember the right steps to this, even tough i think i did it before!

i've tried setting the Ortho manually, tried to update the view size and viewport. what should i do?

To illustrate the problem better: I have a custom mouse pointer, when i create the window, per say, 500 width, the mouse 0 is window real 0, and the mouse 500 is the window real 500. After resizing, my system cursor can be in 500, and the custom cursor will be in like half of the window, like the view is compacted in there.


System / SFML2 on Win32 MinGW
« on: February 06, 2011, 07:41:59 pm »
I compiled sfml2 for mingw as static, and now i am trying to build my project in code::blocks under windows.

In the final step, when linking, ld returns 1, and the linking fails.
Code: [Select]
warning: ..\..\extlibs\libs-gcc/libsfml-window-s.a(dyajs00314.o): local symbol `' has no section

Anyone knows what this is?


SFML projects / ParabolaEngine - 2D Game Framework
« on: January 31, 2011, 11:39:24 pm »
So, i am working in a 2D Game Framework to support my game development. I really think my work means more if i share it with everyone. So i do!

Website: http://parabolaengine.comlu.com/
Forums: http://parabolaengine.comlu.com/forum/


Language: C++
Platform: Windows, Linux and Mac planned in the long run
Release: 0.2
Description: Allows you to build games easily, under a controlled environment, that supports multiple games, such as a Android OS. Allows physics simulations(Box2D), HTML/CSS alike GUI(libRocket), Scripting(AngelScript and the intern script tools) and a lot more. Stay tuned!

Kinesis sample 1 - http://www.mediafire.com/?p9ct4sa8ycpqp39

The important part:

The engine isn't ready at all, but it should be usable already to make a few things! I am trying to do things the right way. There is a downloadable package with the framework, a website, a forum, a wiki and a api reference. Even though this is all in baby steps, this should be the starting point into turning this into something specially good.

So, i invite everyone and anyone that would gladly pick the engine and try do something with it! If you take a look at it, you don't like anything, but still make a constructive comment on it, it helps. If you can take it and try to make something with it, like a little testbed,
and help me make it grow with the help of your experience, even better!

I will be actively developing it, taking suggestions and implementing new stuff. There isn't a lot of documentation yet, but I am working on it, specially on the WiKi. I am available to support each one of you always i can, so you won't feel abandoned with this! Counting on you guys :)

Any help is appreciated, even discussing the piece of software in the forum!

Thanks everyone!

Pages: 1 [2] 3