bmp file not saving

Monkey Forums/Monkey Programming/bmp file not saving

pyongpyong(Posted 2013) [#1]
Fred's bmp file code
http://www.monkeycoder.co.nz/Community/posts.php?topic=5528#61922

press SPACEBAR to saving "test.bmp"....

but

internal directory has empty.

my code is wrong?




Markus(Posted 2013) [#2]
you look here?

X:\MonkeyProjects\ProjectName\ProjectName.build\glfw\vc2010\Debug\internal


pyongpyong(Posted 2013) [#3]


look at picture....


Fred(Posted 2013) [#4]
Hi, I can't test your code now, but I use the Save method in OnUpdate right after the Grab from OnRender.


Markus(Posted 2013) [#5]
hehe, maybe search for test.bmp
or use DebugStop
here + else if can't open
If file
file.Write Buffer, 0, FileSize
file.Close
else
print "..."
Endif


Fred(Posted 2013) [#6]
Change Field bmps:BmpFile to Field bmps:BmpFile = New BmpFile


Markus(Posted 2013) [#7]
i try also,
the keyhit don't come in render, only in update^^, strange.


pyongpyong(Posted 2013) [#8]
Oh my god!
OnUpdate and OnRender..
KeyHit position was bad

Fred and Markus thank you!
good good very good!