The Daily Click ::. Forums ::. Klik Coding Help ::. Debugging
 

Post Reply  Post Oekaki 
 

Posted By Message

Lazernaut



Registered
  08/09/2002
Points
  1103

VIP MemberThe Cake is a LieIt's-a me, Mario!Wii OwnerPokemon Ball!
28th April, 2004 at 04:17:20 -

I've been thinking about debugging lately (since this is obviously a vital part of making any sort of program). So while tinkering with a game of mine in MMF, i came to thinking that it would be cool if there was a little window during runtime that showed the value of each counter and variable and stuff like that..

What i guess can be done so far is create a string that's in the corner in a small font, and tell mmf this:

-always
change alterable string to:
"Player health: " + str$( value A( 'Player')
"Some Counter: " + str$( 'rabbitcounter' )

etc. etc.

 
n/a

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
28th April, 2004 at 05:42:21 -

Your point being?

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy

David Newton (DavidN)

Invisible

Registered
  27/10/2002
Points
  8322

Honored Admin Alumnus
28th April, 2004 at 05:53:44 -

I always have a counter in the corner showing the number of active objects, but no more than that... yes, it would help if it could be done automatically - however, with the number of values flying around during runtime it would soon become overwhelming.

Maybe a mode where you could keep track of certain selected values automatically in another window could be a suitable replacement for the Step Through Editor... does anyone actually use it?

 
http://www.davidn.co.nr - Games, music, living in America

Pete Nattress

Cheesy Bits img src/uploads/sccheesegif

Registered
  23/09/2002
Points
  4811
28th April, 2004 at 06:01:55 -

your prayers are answered:

http://www.clickteam.info/extensions/extview.php?id=15

 
www.thenatflap.co.uk

Tiles

Possibly Insane

Registered
  06/12/2002
Points
  2339

GOTM 3TH PLACE WINNER - JANUARY 2010
28th April, 2004 at 06:03:26 -

ah , yes ... putting a counter for every value would mean to me to use around 1000 counters for my current project . err, how to place all those counters at the screen ? and i still wonder if this wouldn´t slow down my app a bit ...

it s a very bad idea to start with a game and trying to solve all the gamerelated problems during the development in the mainapp.

BEST way is to solve all the small problems BEFORE making a game out of it . in small problemrelated applications. then there is no need for debugging counters .

i am always starting with a testengine for several small problems. like playing around with an extension that i never used before, or to fiddle out AI , or ... . and then i simply put the code to the game when the problem is solved .

 
Free graphics,Free Games
http://www.reinerstilesets.de
   

Post Reply



 



Advertisement

Worth A Click