Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Ideas for Upgrade 6

Author
Message
Magefire
23
Years of Service
User Offline
Joined: 20th Feb 2003
Location:
Posted: 12th Sep 2003 03:59
I would like to see the ability to mask a color of your choice. I think the default is white or black. I would like to be able to specify the color to mask. I would also like the option to have 2D colisions (collisions using sprites) to be based on the pixels removed by masking.

If you give a man some fire, he will be warm for a day. If you set a man on fire, he will be warm for the rest of his life.
KOL
22
Years of Service
User Offline
Joined: 10th Aug 2003
Location:
Posted: 12th Sep 2003 04:18
One last one,
How 'bout some form of error handling?
krfsim
22
Years of Service
User Offline
Joined: 26th Aug 2003
Location:
Posted: 12th Sep 2003 16:13
A few new commands:

1. sprite priority() - returns the sprite priority; all the other sprite setup query commands are available, why not this one?

2. file in fileblock exist() - to check whether the file within the pak file exists before you try to extract it. It actually extracts something(?) now, even though the file doesn't exist.

3. camera exist() - not in the manual or command help but seems natural since you can setup multiple cameras.
KOL
22
Years of Service
User Offline
Joined: 10th Aug 2003
Location:
Posted: 14th Sep 2003 19:20
How about including a Tron/Troff command or something that will produce a line trace file. If know there is a ErrorReport.txt file created in the Temp folder under DarkBasic's install, but I don't work from the same Drive that DarkBasic is install in, plus this file is not produced if your code dosen't have any syntax errors.

If a set of commands could be included to list the current Line - Commands being executed, that would be really helpful. Something like this:

SetTraceFile("TraceFile.txt")
TraceOn
....
TraceComment("Seem To Be Having Problems Here")
....
TraceOff

I have to alter a lot of code to be able to perform something like this:



TraceFile.txt would contain:

6:a = 1
8:If a=1
9rint A=1
End of Run

Granted, this is overkill for a small program, but if you are working with thousands of lines of code, any clues are helpful in debugging nasty bugs...
Rob K
Retired Moderator
23
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 14th Sep 2003 21:33
Error handling would be good.

skyser
22
Years of Service
User Offline
Joined: 11th Sep 2003
Location: New York, NY
Posted: 15th Sep 2003 18:48
How about a command to execute a string as if it were a line in the program?

This would allow self-modifying code and also allow us OOP folks some trickiness in dynamically calling functions...

--skyser
orv
22
Years of Service
User Offline
Joined: 9th Sep 2003
Location: Chicago, IL
Posted: 15th Sep 2003 21:34
show the version# on the Help/About dialog like most windows apps do, it would make it more easy for a user to tell if they're at the correct version of the software.

when you double click in the editor to highlight text, don't just stop at the spaces, stop at the '=' ',' '"' '.' '<' '>' '(' ')'.
this is the way most editors work, right now double clicking is non-useful for me.
Darkflame
23
Years of Service
User Offline
Joined: 4th Jul 2003
Location:
Posted: 16th Sep 2003 21:00
"How about a command to execute a string as if it were a line in the program?

This would allow self-modifying code and also allow us OOP folks some trickiness in dynamically calling functions..."


Programs writting programs...dangerious
--
Well, I want sprite mixing comands like photoshop/PSP.
(Addition, Subtraction,Dodge ect)

"The man who says it cannot be done is generally interrupted by someone doing it." ~ Elbert Hubbard
TKF15H
23
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 16th Sep 2003 21:32 Edited at: 17th Sep 2003 04:26
"How about a command to execute a string as if it were a line in the program?"

That wouldn't be very useful...
And it would require the compiler to be present. The final EXE file would be MUCH bigger.

I'd like to see inbuilt stereovision.
And better error messages.

I need an animator!!! HELP ME!!

Login to post a reply

Server time is: 2026-07-26 06:35:04
Your offset time is: 2026-07-26 06:35:04