Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Forum
1 2 3 4 5 6 Previous Next  
Search
Topic When it comes to 2D Platform Games ,what would you rather? By Maverick Date 2009-05-24 03:38
It also depends though. For instance, Super Mario. "Up" would get you through doors or move the camera, and another button would jump.
Topic Gosu Game Creating Competition By Maverick Date 2009-05-23 13:29
I'd join if I could ever get the C++ version to work. :[
Topic PostProcessing: A (fragment) shader framework By Maverick Date 2009-05-19 03:38
It looks awesome. Wish I could help but I have not traversed far into the land of pixel-shading. :]
Seeing as you have it for C++, would you mind helping me out? Did you get the tutorial with animation to work? I'm having difficulties. :D

Keep us updated on those shaders!
Topic Captain Ruby with Wall-jumping Ability By Maverick Date 2009-05-18 01:26
Oh crap! I forgot about the dust.png! All I did was take Smoke.png and made it half its size. :p
If you'd like when this whole animation thing is resolved, I could port the tutorial over to C++ for you. I also make graphics ( albeit cartoony. Not bad. Just cartoony. They are nothing like my avatar. My avatar was a two minute job. ;p ) so I could do that as well. Giving him a different name wouldn't be a bad idea either. What would it be? Captain C? C++?

Also, where's the attached png file?
Topic Captain Ruby with Wall-jumping Ability By Maverick Date 2009-05-18 00:15
http://rafb.net/p/N7w7I563.html
^Code is hosted there for 24 hours or so

Oh yeah... you're going to need the new graphics for O' Captain my Captain ( Captain Ruby )
http://savefile.com/projects/808756057
Topic Captain Ruby with Wall-jumping Ability By Maverick Date 2009-05-17 23:05
I plan to release it soon. I've been busy so I haven't commented it yet. Also, I need to change horizontal movement a tad. I want the character to arc upwards when jumping off of a wall Megaman X style. Shouldn't take long but I haven't gotten to that yet. :]
Topic Captain Ruby with Wall-jumping Ability By Maverick Date 2009-05-17 20:25
I've heard of Ruby and was interested in it but never got to it. I've always used C++. Since I'm having a time getting Gosu and C++ to be nice to each other while jlnr fixes that, I decided to buckle down, learn Ruby, and do something cool with Ruby and Gosu.
So three days ago I downloaded the Ruby IDE and Gosu for Ruby and found a few tutorials. Overall I'm amazed at Ruby's simplicity to make things work. It's actually kind of fun too. So in three days I can already make games in it. :]

Anyway, I made Captain Ruby the ability to wall-jump. For those who don't know, wall-jumping is where the character's vertical speed is greatly dampened and the character "latches" and slides down the wall emitting dust particles. At the wall-jumping position, the character can launch off of the wall and reach other platforms. I hope you like. :]

[http://img507.imageshack.us/img507/3905/example.png]
Download link: "Total Downloady Linkage"

*Link updated thanks to Darhkael. 02/18/10
Topic C++ error when running... [ NOW FIXED ] By Maverick Date 2009-05-14 21:39
I have more information that may help us:
"GOSU_TEST_ONE.exe': Loaded 'C:\Documents and Settings\BPeppers\Desktop\gosu-windows-cpp-0.7.13\examples\GOSU_TEST_ONE\Release\GOSU_TEST_ONE.exe', Symbols loaded.
'GOSU_TEST_ONE.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll'
'GOSU_TEST_ONE.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll'
'GOSU_TEST_ONE.exe': Loaded 'C:\WINDOWS\system32\dinput8.dll'
'GOSU_TEST_ONE.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll'
'GOSU_TEST_ONE.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll'
'GOSU_TEST_ONE.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll'
'GOSU_TEST_ONE.exe': Loaded 'C:\WINDOWS\system32\secur32.dll'
'GOSU_TEST_ONE.exe': Loaded 'C:\WINDOWS\system32\user32.dll'
'GOSU_TEST_ONE.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll'
'GOSU_TEST_ONE.exe': Loaded 'C:\WINDOWS\system32\opengl32.dll'
'GOSU_TEST_ONE.exe': Loaded 'C:\WINDOWS\system32\glu32.dll'
'GOSU_TEST_ONE.exe': Loaded 'C:\WINDOWS\system32\ddraw.dll'
'GOSU_TEST_ONE.exe': Loaded 'C:\WINDOWS\system32\dciman32.dll'
'GOSU_TEST_ONE.exe': Loaded 'C:\WINDOWS\system32\winmm.dll'
'GOSU_TEST_ONE.exe': Loaded 'C:\Documents and Settings\BPeppers\Desktop\gosu-windows-cpp-0.7.13\examples\GOSU_TEST_ONE\Release\fmod.dll', Binary was not built with debug information.
'GOSU_TEST_ONE.exe': Loaded 'C:\WINDOWS\system32\msacm32.dll'
'GOSU_TEST_ONE.exe': Loaded 'C:\WINDOWS\system32\ole32.dll'
'GOSU_TEST_ONE.exe': Loaded 'C:\WINDOWS\system32\wsock32.dll'
'GOSU_TEST_ONE.exe': Loaded 'C:\WINDOWS\system32\ws2_32.dll'
'GOSU_TEST_ONE.exe': Loaded 'C:\WINDOWS\system32\ws2help.dll'
'GOSU_TEST_ONE.exe': Loaded 'C:\WINDOWS\system32\shell32.dll'
'GOSU_TEST_ONE.exe': Loaded 'C:\WINDOWS\system32\shlwapi.dll'
'GOSU_TEST_ONE.exe': Loaded 'C:\WINDOWS\system32\imm32.dll'
'GOSU_TEST_ONE.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll'
'GOSU_TEST_ONE.exe': Loaded 'C:\WINDOWS\system32\comctl32.dll'
'GOSU_TEST_ONE.exe': Loaded 'C:\Program Files\RK Launcher\RKLauncher.dll', Binary was not built with debug information.
'GOSU_TEST_ONE.exe': Loaded 'C:\WINDOWS\system32\msctf.dll'
'GOSU_TEST_ONE.exe': Loaded 'C:\WINDOWS\system32\version.dll'
'GOSU_TEST_ONE.exe': Unloaded 'C:\WINDOWS\system32\version.dll'
'GOSU_TEST_ONE.exe': Loaded 'C:\WINDOWS\system32\msctfime.ime'
'GOSU_TEST_ONE.exe': Loaded 'C:\WINDOWS\system32\nvoglnt.dll'
'GOSU_TEST_ONE.exe': Loaded 'C:\WINDOWS\system32\mcd32.dll'
'GOSU_TEST_ONE.exe': Unloaded 'C:\WINDOWS\system32\mcd32.dll'
'GOSU_TEST_ONE.exe': Loaded 'C:\WINDOWS\system32\hid.dll'
'GOSU_TEST_ONE.exe': Loaded 'C:\WINDOWS\system32\setupapi.dll'
'GOSU_TEST_ONE.exe': Loaded 'C:\WINDOWS\system32\wintrust.dll'
'GOSU_TEST_ONE.exe': Loaded 'C:\WINDOWS\system32\crypt32.dll'
'GOSU_TEST_ONE.exe': Loaded 'C:\WINDOWS\system32\msasn1.dll'
'GOSU_TEST_ONE.exe': Loaded 'C:\WINDOWS\system32\imagehlp.dll'
'GOSU_TEST_ONE.exe': Loaded 'C:\WINDOWS\system32\ntmarta.dll'
'GOSU_TEST_ONE.exe': Loaded 'C:\WINDOWS\system32\samlib.dll'
'GOSU_TEST_ONE.exe': Loaded 'C:\WINDOWS\system32\wldap32.dll'
'GOSU_TEST_ONE.exe': Loaded 'C:\WINDOWS\system32\wdmaud.drv'
'GOSU_TEST_ONE.exe': Unloaded 'C:\WINDOWS\system32\wdmaud.drv'
'GOSU_TEST_ONE.exe': Loaded 'C:\WINDOWS\system32\wdmaud.drv'
'GOSU_TEST_ONE.exe': Loaded 'C:\WINDOWS\system32\msacm32.drv'
'GOSU_TEST_ONE.exe': Loaded 'C:\WINDOWS\system32\midimap.dll'
'GOSU_TEST_ONE.exe': Loaded 'C:\WINDOWS\system32\dsound.dll'
'GOSU_TEST_ONE.exe': Loaded 'C:\WINDOWS\system32\version.dll'
'GOSU_TEST_ONE.exe': Loaded 'C:\WINDOWS\system32\ksuser.dll'
HEAP[GOSU_TEST_ONE.exe]: Invalid Address specified to RtlFreeHeap( 00E20000, 02690498 )
Windows has triggered a breakpoint in GOSU_TEST_ONE.exe.

This may be due to a corruption of the heap, which indicates a bug in GOSU_TEST_ONE.exe or any of the DLLs it has loaded.

This may also be due to the user pressing F12 while GOSU_TEST_ONE.exe has focus.

The output window may have more diagnostic information.
First-chance exception at 0x7c96f749 in GOSU_TEST_ONE.exe: 0xC0000005: Access violation reading location 0x7c527428.
'GOSU_TEST_ONE.exe': Loaded 'C:\WINDOWS\system32\oleaut32.dll'
The thread 'Win32 Thread' (0xee0) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0xf04) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0xcf8) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x368) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0xda4) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x8e0) has exited with code 0 (0x0).
The program '[3768] GOSU_TEST_ONE.exe: Native' has exited with code 0 (0x0).
"

Not a clue what it means for me, but hopefully that helps you. :/
Topic C++ error when running... [ NOW FIXED ] By Maverick Date 2009-05-13 02:39
I think I may have narrowed it down. The call stack ( at the bottom ) mentioned a line at 163 where I create my character class. Inside of the character class, there is an animation. I commented anything to do with animation and it ran ( though... with no animation ). So I created a test object to see if it was the actual animations or the library itself.

Doing this is just fine:
std::vector< boost::shared_ptr< Gosu::Image > > test;

But doing this gives the whole error problem:
std::vector< boost::shared_ptr< Gosu::Image > > test;
Gosu::imagesFromTiledBitmap ( graphics, Gosu::sharedResourcePrefix() + L"media/RonWalkAnim.png", 110, 236, false, test );

So I think it has something to do with "test" or the function in Gosu.
Topic C++ error when running... [ NOW FIXED ] By Maverick Date 2009-05-12 20:37
It skips the update and draw functions. So that seems fine.

Can you post a link to a full VC project so I can try it from there just to make sure it's not the actual engine maybe just the way I set it up?
Topic C++ error when running... [ NOW FIXED ] By Maverick Date 2009-05-11 23:53
It skips the puts("foo") and the bracket and it stops at this:
"MyWindow win;"

Then it stopped at the bracket after the myWindow constructor. Then it stopped at win.show();
Topic C++ error when running... [ NOW FIXED ] By Maverick Date 2009-05-11 01:37
"int main(int argc, char* argv[])
{
"

It points to the bracket.
This is what the call stack shows:
">  GOSU_TEST_ONE_FINDTHEBUG.exe!main(int argc=137820628, char * * argv=0x00000000)  Line 185  C++
"

argc results in this:
"    argc  137820628  int
"

and argv results in this
"-    argv  0x00000000  char * *
      CXX0030: Error: expression cannot be evaluated 
"
Topic C++ error when running... [ NOW FIXED ] By Maverick Date 2009-05-10 21:14
I'm positive it has something to do with the way the animation is set up. I broke apart the examples and did lots of things and it ran fine. However, when I added the animation in, it gave the exact message that I had from the Tutorial.

I'm not sure how to fix it though. Why would it only say something during the Release and absolutely nothing during the Debug if it has something to do with the containers? Maybe there's something is missing in the regular Gosu.lib and the not debug?

Whatever it is, I know it has to do with the containers ( boost and stl for the animation )
Topic C++ error when running... [ NOW FIXED ] By Maverick Date 2009-05-10 07:45
I feel like it has something to do with the containers. When I was starting out with C++ and learning STL vectors and what-not andI didn't do it properly, it would give me an identical message. I could be wrong.
Topic C++ error when running... [ NOW FIXED ] By Maverick Date 2009-05-09 14:59
It doesn't happen at all in Debug. It works perfectly fine even if I'm executing it through the IDE or not. Only Release mode does it apparently.
The Call Stack shows absolutely nothing. And it's not during the game. The game doesn't even load and the error pops up.
And the variants are correct. :]
Topic C++ error when running... [ NOW FIXED ] By Maverick Date 2009-05-08 11:53
I'm terribly sorry, but I meant MSVC++ 9.0 2008 Express Edition. I looked at the "9.0" on it and assumed 2009. It's 2008. My bad. :p
Topic C++ error when running... [ NOW FIXED ] By Maverick Date 2009-05-08 03:14
Sorry to have to tell you that bad news. I hate bugs too. ( I don't think anyone really likes them anyways ).
If I ran the EXE via double-clicking it, a Microsoft error report would be shown with the following:
"A problem occurred with Tutorial.exe. If you were in the middle of something , we're sorry for the inconvenience" - blah blah blah.

I fixed this problem ( kind of ) my going to the EXE's Properties and clicking on "Compatibility"->"Run this program in compatibility for"->"Windows 95"
Then it worked. However, even after exiting, the program would still be running in the background and you would have to manually kill it.
When I run it via the MSVC++ 2009 Express IDE, an error message would come up. Then it may run the program and the program runs fine after the message.

Here's the message:

"Windows has triggered a breakpoint in Tutorial.exe.
This may be due to a corruption of the heap, which indicates a bug in Tutorial.exe or any of the DLLs it has loaded.
This may also be due to the user pressing F12 while Tutorial.exe has focus.
The output window may have more diagnostic information."

And, by the way, F12 was not pressed. :p
Topic C++ error when running... [ NOW FIXED ] By Maverick Date 2009-05-08 00:22
Hey guys. Gosu is pretty awesome so far. It is really clean.
|Anyway, I followed the step-by-step tutorial on setting up Gosu on Windows and successfully compiled the TextInput.cpp tutorial. No problems.
Then I compiled Tutorial.cpp ( with the rocket and collecting stars ) and it compiles fine. However, it does not run fine. It says that there is a bug in the DLL or the stack over-flowed.

This is strange because TextInput gave me absolutely no problems whatsoever. Can someone help out? Thanks!

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill