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 / DarkPRINCIPLES problem, tutorial 6

Author
Message
tvzen
16
Years of Service
User Offline
Joined: 3rd Dec 2009
Location:
Posted: 10th Jun 2010 02:04
im making frogger,and on number 2 it says

which is odd because there are only 24 lines
here is the code
Van B
Moderator
23
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 10th Jun 2010 09:59
There's nothing in the code that would cause that, and as you say - there aren't even 40 lines of code there. I suggest trying another example, see if that works or if it has this same problem.

What I am thinking, is that maybe the full source dump file, or the executable are locked up, this can happen more often in Vista or Windows 7 - but you need to find and delete these files. I think a place to look would be in the DBPro folder, compiler, then Temp I'm sure has fullsourcedump.dba, delete the .exe from the frogger project folder, and try again. It's like it's compiling an old file, like it isn't taking your frogger project because the source dump file is locked up, can't be deleted and re-created, and the compiler itself wouldn't know any better.


Health, Ammo, and bacon and eggs!
tvzen
16
Years of Service
User Offline
Joined: 3rd Dec 2009
Location:
Posted: 10th Jun 2010 16:44
wait,i cannot find a fullsourcedump.dba anywhere on my computer,i have tried all of my games,none work.im at the DBPro folder,and im at compiler,there is no fullsouredump,do i delete DBPCompiler?
tvzen
16
Years of Service
User Offline
Joined: 3rd Dec 2009
Location:
Posted: 11th Jun 2010 02:29
ok,i tried a few things and know it just opens and closes,no error messages,but i just closes now....same code.help please
Flatlander
FPSC Tool Maker
19
Years of Service
User Offline
Joined: 22nd Jan 2007
Location: The Flatlands
Posted: 11th Jun 2010 02:46
It closes because there is nothing that keeps it running like a loop or something to prevent it from closing such as "wait key"

tvzen
16
Years of Service
User Offline
Joined: 3rd Dec 2009
Location:
Posted: 11th Jun 2010 05:02
huh,now the green cube wont show
tvzen
16
Years of Service
User Offline
Joined: 3rd Dec 2009
Location:
Posted: 11th Jun 2010 05:05
NM, i fixed it
tvzen
16
Years of Service
User Offline
Joined: 3rd Dec 2009
Location:
Posted: 11th Jun 2010 05:16 Edited at: 11th Jun 2010 05:17
ok,it wont show,here is the code,why wont the cube show?
Flatlander
FPSC Tool Maker
19
Years of Service
User Offline
Joined: 22nd Jan 2007
Location: The Flatlands
Posted: 11th Jun 2010 05:50 Edited at: 11th Jun 2010 07:28
OK, I think it has to do with your camera. Position and pointing. You might want to play around with that. However, here is a favorite example that I already have dealing with objects. I combined it with your code.



Addendum:

I have to say that I'm not familiar with the Dark Principles tutorial. Although most tutorial will take you a step at a time, or a few lines of code at a time and it keeps building. That may be the case here. Where the few lines of code that you are working with at the beginning of the tutorial is not complete and it would make sense that it may not be working the way you are expecting it to work.

I just added code so that you would be able to see the box. I changed the background colour only because that is what my saved code was. You will notice that your box construct is the same and therefore your box will show up. You have to understand the concept of the camera a little better perhaps.

tvzen
16
Years of Service
User Offline
Joined: 3rd Dec 2009
Location:
Posted: 11th Jun 2010 16:30
thanks

Login to post a reply

Server time is: 2026-07-25 16:21:23
Your offset time is: 2026-07-25 16:21:23