Copyright
Blitz3D Forums/Blitz3D Beginners Area/Copyright
| ||
I have a problem. The function Copyright() doesn't work. Can anbody help me? Flo01 |
| ||
What in God's holy name are you talking about? |
| ||
A function named "Copyright()" is not part of the command set, at least not of Blitz3D. |
| ||
I have placed a similar screen on my program. However, this was written as the first segment of my program, once you start the program. Of course, if you write it as a function, then you may run into problems. If it's the first screen of your game, then it will work. That's the way I did things in my game, and there's no problem. Unless your function is part of the main loop, you may run into things. |
| ||
Post your code so we can help. Remember, obscure questions receive obscure answers. |
| ||
I have a problem. The function CreateGame() doesn't work. Can anybody help me? |
| ||
Lol |
| ||
I have a bigger problem:- MakeLivingBeingCoder() won't work. Sorry, Flo01. |
| ||
Create_AAA_title_3DGame(Blitz3D%) doesnt work...any suggestions? |
| ||
cmon, he's new, show some respect. Probably he only confused a built in function with a custom function. How aboutfunction Copyright(txt$) text graphicswidth()/2,graphicsheight()/2,txt$,1,1 waitkey() end function |
| ||
Then again our new friend may be german and having a freudian slip and when he says CopyRight he actually meant CopyRect? since rect is similar to recht? or maybe I'm looking into it too deeply ;) lol If so then please look at http://www.blitzbasic.com/b3ddocs/command.php?name=CopyRect&ref=2d_a-z |
| ||
Maybe it was just a joke about how there is a "Copyright()" sign written at the end of the function refference list? |
| ||
Sorry Flo. Igmore these jokers. Perhaps you should ask your question again, a different way. |
| ||
My post was a bit harsh. :/ I didn't mean to offend Flo01. I just have a pet hate of super-vague questions being asked. I also didn't realize that English isn't Flo01's native language. Sorry. Try again, Flo01. :) |
| ||
I've tried this Code example: ; DLL2.BB Copyright(0,"Blitz Basic Test#DLL-Test","This is a testprogramm",0) I've read it in a book. There a picture where the pogramm ran normally. |
| ||
So it turns out copyright is a function of an external DLL. It seems you need to have the correct .DLL and .decls file too. To identify the required dll you may search for a ".decls" file that contains the "copyright" function declaration. In the first line of this .decls file you can see the name of the dll. Copy the dll to your blitz sources folder and the decls file to the folder "userlibs" in the Blitz3D installation folder. (Well, it seems to be this way if this function isn't part of the blitz sourcecode, which is what I assume.) |
| ||
I think that's a fair assumption given the name of the source code file. |
| ||
Why would you need a dll to display a copyright text? Andy |
| ||
Maybe a win api alert. I think it's just a demonstration on how to use external functions. Well, only Flo could tell us :) |
| ||
Thank you, jfk EO-11110! Now, the programm runs noramlly. And yes, it was only a demonstration to use extrenal functions. For everybody, who is interrested in: the data should have inside: .lib "Shell32.dll" Copyright(hWnd%,szApp$,szOtherStuff$,hIcon%) : "ShellAboutA" and the programmcode: Copyright("0,Blitz Basic test#DLL Test","Blitz Basic forever!,0") End |
| ||
Ok, I see. Thanks for sharing. BTW since this DLL is part of windows (and located inside the windows system folder) you don't need to copy it to your programs folder, like I said earlier. Well in fact a DLL may be: inside your programs folder, inside the decls folder or inside the windows system(32) folder. For custom DLLs you distribute with your app it may be most userfriendly to have it inside your programs folder and not to copy it to the windows folder, as a lot of installations do (I hate it). |
| ||
is it "Spiele programmieren mit BlitzBasic" in german, you are reading Flo01? :) |
| ||
Yes, I've read it one year ago. |
| ||
cool! Me too.. Heh.. Im a 14 years old boy from south denmark, and i read it in a week. I found it very interesting, and now i'm a lucky blitz3d programmer. :) |
| ||
I'm a 13 years old boy from austria.I found it very interesting too. But I only write games in 2D. You're the only boy, I know who is not over 18 years. |
| ||
Young Ones Im a 17 year old from Southern Ohio, and I read it over 2 years ago, Blitz Basic 2D is what got me interested in programming, and now I am a 3d programmer!! |
| ||
How about:Print "Copyright 2006 Sir Gak (Click Mouse to continue)":mousewait() Of course, you must put in Sir Gak for ALL your code, so that I get all your copyrights to all your works bwa ha ha ha!!! (Sorry, got carried away by the sheer genius of it all)((Bwa ha ha)) Sorry again, got carried away, period. "They're coming to take me away, ha ha, they're coming to take me away, hoo-hoo- hee-hee ha-ha, to the funny farm where life is beautiful all the time, and I'll be happy to see those nice young men in their clean white coats, and they're coming to take me away, ha-ha!" (((Oops, that's snippet is surely copyrighted! Yikes!)))) Oh, never mind. I recant. :) |