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 - Henrik.Flink

Pages: [1]
Graphics / Reload image
« on: July 22, 2009, 10:00:34 pm »
Right now I am building a tool to the game I'm working on. The problem is that i want that the artist to work in photoshop working on the graphics and then the game will automatic update the image which have been modified. So far it all went well, but when reloading a file that is open is photoshop i get the error that it could not load the image. So it's pretty obvious that it's because it's open in photoshop. So is there anything you could do to make it happend?

General / Bad perfromance SFML 1.2
« on: February 17, 2008, 03:22:52 pm »
I just change SFML version 1.1 to 1.2 in my project and the performance was aweful, i render 192 32*32 tiles and it's "hacking" alot, i know that the bottle neck is in the render of the tiles. I have not change anything in that code between the versions, what could it be?

Window / 2 render windows?
« on: January 21, 2008, 11:24:08 pm »
I think i want to use 2 render windows to blit things at different places in the window, dont even know if it's possible or if there is any other solution? But the thing is that i want 1 window but i want like one render window that blits from lets say (0, 0) - (100, 100) and one that blits from (100,0) - (200,100).
So i can call render on a sprite with coordinates (10,10) on the second rederwindow so its "global" position will be (110,10).

I have faked this so it works well by offesetting the coordinates when i call render but i wonder if there is any better solution?

Graphics / renderwindow error
« on: January 13, 2008, 07:13:42 pm »
When i try to create a renderwindow i get these errors:
Code: [Select]
Error 1 error LNK2001: unresolved external symbol __imp__ShowWindow@8 sfml-window-d.lib
Error 2 error LNK2001: unresolved external symbol __imp__CreateWindowExW@48 sfml-window-d.lib
Error 3 error LNK2001: unresolved external symbol __imp__SetWindowLongW@12 sfml-window-d.lib
Error 4 error LNK2001: unresolved external symbol __imp__GetClientRect@8 sfml-window-d.lib
Error 5 error LNK2001: unresolved external symbol __imp__AdjustWindowRect@12 sfml-window-d.lib
and more. Ive included the graphics pack and the graphics lib so it should work...

General / Graphics without RenderWindow
« on: January 07, 2008, 09:50:16 pm »
Is it possible to use the graphics pac without using a renderwindow, i just want the feature to create new images and not render anything att all, just a console window?

General / Mouse
« on: September 19, 2007, 04:28:10 pm »
Is there any way to change picture of the mouse cursor and get the position of the cursor on the screen?

Graphics / defect image 1600x1200
« on: September 09, 2007, 06:52:15 pm »
When i load pictures 1600x1200 or over i get a strange result:

As you can see the the lower korners dont fit to to rest of the image and they come from another part of the image wich lies outside the window, they are also in strange color and rotated wrong on some way :s

SFML projects / Birds
« on: September 03, 2007, 10:39:24 pm »
The project "Birds" was developed under 48hours in school at a small campe competition, so i tought it would be a nice time to try SFML out. As i said it all happend in 48hours + some sleep so the code is not so well written. I will rewrite moast of the code before i show it for you guys(ofc that is if you want to see it?).

The concept of the game was a small puzzle game were you had 3 characters with 3 different abilities. And you had to use all of the 3 to solve the puzzle. The main goal of this level is to take the green "egg" from the "fort" guarded by owls to your nest(the top left of the screen).

Some explenation of how you play it cus there is no available playable:

1. Use the small bird to get into the fort - the small bird is the only one small enough to fit into the entry.

2. Use the middle bird to defeat the owls - the middle bird is the only one with the attack function

3. Take the green egg and put it into the "teleporter" so the egg transports out of the fort - the big bird is the only bird strong enough to lift it.

4. Use the small bird to get out of the fort

5. Take the big bird an transport the egg to the nest

And the graphics is just placeholders which i "stole" from super mario & yoshis island.

 Also my delta timer is kind of crazy so when i run the program and record with fraps some of the things is acting a little wierd so the video have to wait until i fix it. The same goes for the playable. So here's some screens.


But i'm happy with what SFML performed and i think im gonna use it for 2D apps in the future, thanks!

Pages: [1]