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 - Tigre Pablito

Pages: 1 ... 13 14 [15]
211
Hi
I m using SFML 2, I suppose, I downloaded it, the folder s name is  LaurentGomila-SFML.Net-b8d7773, I think it s SFML 2 (for C# .NET), the DLL s came already compiled, but the source is there too
In my .rar file, the DLL s (8) are along side the EXE, as it is in the link I gave you in my last thread, ... when you have a little time, if you want you can see it

one of the persons who experienced this crash, sent me the command shell screenshot that contains the letter I translated onto this thread

Isn t there any way to link the EXE with the DLL s statically? I think that would avoid many problems

About my compiler settings, what I could see is .NET Framework 3.5, Console Aplication

I didn t understand what you meant with "hopefully you can read this back" ...

Thank you

212
ZSBZSB, you solved my last problem ... I wrote this after that, but I suppose I should have started a new post or thread, as I did then
I QUOTE FROM ME:

I used the event handling as you told me and now the problem disappeared  , you were right that Windows thought my app wasn t responding cos of the stack up of events, so I thank you, and all those who replied, and also those who have viewed this post (or thread), I see it has more views than most ... I don t know if many ladies and guys from SFML would have been seing my Super Mario game  ... I ll never know ... anyway, get ready for the next version, it s much better 

There s another problem, that happened 2 times to me, on other persons' PCs, and don t know on how many others could happen, cos I want to distribute my game:
The application crashes and the command shell says:
"Unhandled exception: System.IO.FileNotFoundException: Unable to load file or assembly ´sfml-graphics-2´, Version 0.0.0.0, PublicKeyToken = null, neither one of its dependencies. System can t find the file.
.......
AVS: The assembly linking register is disabled.
To enable the assembly linking error register, set the register value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) as 1.
Note: Exists a performance decrease related to assembly linking error register.
To disable this issue, delete the register value [HKLM\Software\Microsoft\Fusion!EnableLog]."

This nice letter is in Spanish, I hope my translation is Ok.

The OS in what this occurs is Windows 7. Mine is W 7 too, and here my program runs fine. I know very little about OS s ... I think I should enable or disable something, as it says in the letter, but don t know what nor where, nor how ... Could you help, once again? 

Note: The "yellow faces" were deleted at coping and pasting my message, let yourselves excuse me

213
General / Cant read DLL s on some PC s - My Mario Game with SFML
« on: May 16, 2013, 03:21:35 am »
Hello, Ladies and Guys from SFML
I ve done a Mario game with C# and SFML, and in some PC s (Windows 7 as most), it throws a strange exception: (in brief) "Cant read sfml-graphics-2 cos the linking error register is disabled" (more or less)
I already detailed the message from the command shell on my last post, when was solved my last problem
I suppose it cant read other dll s either, not only sfml-graphics-2 ...
My intention is to be able to run my Mario game in all PC s, and dont know if this has to do directly with SFML, but I ll thank those members who can help me to enable the thing that allows my application to read the SFML DLL s and then to run
Pablo
Buenos Aires Argentina

214
General / Re: My Mario game crashes if I click the mouse
« on: May 11, 2013, 05:43:52 pm »
I used the event handling as you told me and now the problem disappeared  :), you were right that Windows thought my app wasn t responding cos of the stack up of events, so I thank you, and all those who replied, and also those who have viewed this post (or thread), I see it has more views than most ... I don t know if many ladies and guys from SFML would have been seing my Super Mario game  8) ... I ll never know ... anyway, get ready for the next version, it s much better  ;)

There s another problem, that happened 2 times to me, on other persons' PCs, and don t know on how many others could happen, cos I want to distribute my game:
The application crashes and the command shell says:
"Unhandled exception: System.IO.FileNotFoundException: Unable to load file or assembly ´sfml-graphics-2´, Version 0.0.0.0, PublicKeyToken = null, neither one of its dependencies. System can t find the file.
.......
AVS: The assembly linking register is disabled.
To enable the assembly linking error register, set the register value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) as 1.
Note: Exists a performance decrease related to assembly linking error register.
To disable this issue, delete the register value [HKLM\Software\Microsoft\Fusion!EnableLog]."

This nice letter is in Spanish, I hope my translation is Ok.

The OS in what this occurs is Windows 7. Mine is W 7 too, and here my program runs fine. I know very little about OS s ... I think I should enable or disable something, as it says in the letter, but don t know what nor where, nor how ... Could you help, once again?  ;D

215
General / Re: My Mario game crashes if I click the mouse
« on: May 10, 2013, 10:18:50 pm »
No, I m a programmer since I was 16, now I m 33. Although I know I still need to learn so much, specially what concerns to multi threading, but I ll follow your advise, I won t use it, you re right that s not necesary

I ll do this, I ll try to use Event Handling, and then if the problem doesnt go away, I ll write a minimal but complete code example that recreates the application crash at mouse clicking, I suposse you guessed well that there is an overflow in the event queue

Could you tell me where to find the Event handling tutorial, or pass me the link? (for C# .NET) I can t find it with Google
I tried this:

App.KeyPressed += new EventHandler(App_KeyPressed);
App.KeyReleased += new EventHandler(App_KeyReleased);
App.DispatchEvents();

But the events were not launched, keys doesn t reply, I don t know how to use them in SFML

Thank you for all
////
Have you seen my game? I know it isn t the most professional, and I can t draw very well, ... but I think it s quite interesting ... What s your opinion?

216
General / Re: My Mario game crashes if I click the mouse
« on: May 10, 2013, 07:57:05 am »
I m not using the Events, I m just using Keyboard.IsKeyPressed(), ... I feel I can guess it s wrong? Anyway, the game works. Could this be the cause of the crash? I don t suposse that an input that is not read by the program may cause it crash
Well, I ll see if using the Events solves my problem, ... I was ignoring them cos I have the intention to use multiple threads in my program soon, and thought that using that class would make it impossible ... I suposse I m wrong in this too
Then I tell you
Thank you

217
General / Re: My Mario game crashes if I click the mouse
« on: May 09, 2013, 04:15:25 pm »
Hello
the code is quite extense, but here you have the link to it (is C#)

https://www.dropbox.com/s/5ejes56atnwbm40/CODIGO%20FUENTE.rar

it just builds the exe file,
if you want to test the program, there should be the data files, that is the folders GRAFICOS and MUSICA at the same directory level than the exe, and also the dll s, as it is in the link I passed in the previous post

Warning: the code is quite untidy; and if needed to translate it to English, please tell me and in 1 or 2 days I will ... I m sorry, sometimes neither do I understand my code

Thanks for replying
Pablo

218
General / My Mario game crashes if I click the mouse
« on: May 09, 2013, 12:51:42 pm »
Hello Ladies and Guys from SFML
I made a Mario game with C# .NET and SFML,

https://www.dropbox.com/s/akpuofnp6tdro7e/Super%20Mario%20Bros%20by%20Pablito.rar

My problem is that if I click the mouse while it is running, it immediatly crashes.
I tried to disable the mouse but just was able to set it invisible
If the applicaction is minimized it also crashes at restoring
A letter appears like "Your app stopped working", but at its background the app still running Ok but the screen has turned gray ... and if I press "Wait for the app to respond", the letter leaves and appears once and again

If you want, you can see this by yourselves, downloading and running the program

Could you help me,  and my program to be mouse clicking safe?
Thank you very much

Pablo Marty (Bs As, Argentina)

PS Now I m working in a very nicer version

219
Graphics / Need to set alpha of an image - and my game with SFML
« on: October 24, 2012, 12:39:08 pm »
Hello Ladies and Guys from the Forum
I m Pablo from Bs As Argentina, I made a Mario Bros game with C# and SDL, then I moved to SFML cos in SDL didn t work the direct input functions and had no support for C#, and I needed to use Threading and ignore the Events ...
Since yesterday I have been translating the SDL code to SFML ... there were 800 errors, now remain 6, that are about the Alpha component ... I dont know and couldnt find how to set the alpha value to an image (to all its pixels) ... and I need this for the ilumination in some levels of my game
Something like
image.Alpha = 128;  //(and all the pixels should be ARGB(128, R, G, B))
or whatever it is the syntax
Thank you
Then when I solve this I ll send my game for you
Pablo

Pages: 1 ... 13 14 [15]
anything