Currently I'm still trucking away on learning C++ and I found a cool page that shows how to create games and demos made of ASCII text.
Might be useful for some retro fun.
http://benryves.com/tutorials/?t=winconsole
Thanks ... the other tutorials are nice and simple, too!
Nice link - thanks, PO - ahh ... and of course looking
forward to your creations !
I just compiled and ran the sample painting program there. It started using 100% of my RAM. Does anyone see why?
Perhaps it wasn't such a good tutorial site if this problem is common.
I've just had a look for you and I didn't spot anything immediately wrong with the code...but I could easily have missed something. Can you pin it down to doing certain things that cause the leak, like clicking the mouse?
Jim
Quote from: Jim on August 20, 2008
I've just had a look for you and I didn't spot anything immediately wrong with the code...but I could easily have missed something. Can you pin it down to doing certain things that cause the leak, like clicking the mouse?
Jim
Even if the whole program inside Main() is removed, it still causes the RAM to rocket to 100% in the task manager. This is really quite odd. I wonder if it is another Vista bug.
PO: Try to add:
Sleep(10);
in the program main loop...
Quote from: rbz on August 24, 2008
PO: Try to add:
Sleep(10);
in the program main loop...
Ahhh thank you very much! Have some karma. Could you maybe explain why this program needs this command?
With Sleep (http://msdn.microsoft.com/en-us/library/ms686298(VS.85).aspx) you give back the processor power to the system / Windows.
So it was using 100% CPU not 100% RAM?
Jim
Yes, I transposed the little windows in the utility. :xmas:
doh!
Jim
Quote from: Pixel_Outlaw on August 12, 2008
Might be useful for some retro fun.
maybe someone will take a look at http://tmdc.scene.org/tmdc-template.zip :whisper:
TMDC site says:
"
October 19th, 2008: Demo template released!
For every newcomer, we made an textmode demo template. It contains everything needed to make a basic textmode demo (libcaca, fmod, syncing, basic fx). One could *almost* just take the framework, remake the assets, and have something interresting out of that!"
could it be useful? cheers
That's an excellent initiative btw, Northern Dragons really rule at TDMC.
Very cool link Pixel :) The tutorial about 3d tunnel is pretty cool too :p
:goodpost:
@Moroboshisan: Very cool and usefull indeed, nice find dude. I'm quite fond of the Text Mode demos.
Quote from: Clyde on October 21, 2008
@Moroboshisan: Very cool and usefull indeed, nice find dude. I'm quite fond of the Text Mode demos.
Thanks mate, don't forget to take a look at http://www.taat.fi/tmdc/tmdc5inv_src.zip also! If you haven't seen it yet ;D
some years ago I found it quite interesting to take a look at but my coding skills are so basic (actually just some poor console STDOUT done in C and very little time to experiment due to RealLifeBusiness[TM]...) that I was unable to undestand anything about effects (my memory relies onto C64 tasm monolithic-coding[which I forgot during years due to lack of interest :whack: ... How wrong I feel now!!!], so i'm actually unable to follow multiple file projects... I simply feel my mind lost after few jumps :boxer: )
But I think that information sharing could help the whole community to grow and improve, so I'm happy to post links to useful things I have discovered diggin' the net during the last 5 years or so.
Happy Hacking! ;-)
Always been fascinated by ascii / ansi stuff. :D
Cheers for the taat linkie poos, thats a shame that they are closing the doors to Text Mode Demo Competitions.