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.

Author
Message
kaymation
19
Years of Service
User Offline
Joined: 30th Mar 2005
Location: up, down, all around
Posted: 4th Jun 2005 07:44
hello everybody I was just wondering how I went wrong in this code...
it sais error on line 14 file does not existand highlights the part about text what "2" do
-kevin

i owe all my wantingness to TBC at www.homestarrunner.com
Slayer93
20
Years of Service
User Offline
Joined: 5th Aug 2004
Location: I wish I knew
Posted: 4th Jun 2005 10:24
i can't get a source code it says
Quote: "Error obtaining Source Code, invalid ID. Sorry but I've given up.
"

put it in the code thing instead

NARUTO IS THE NINJA.......not really
kaymation
19
Years of Service
User Offline
Joined: 30th Mar 2005
Location: up, down, all around
Posted: 4th Jun 2005 12:14
iwish i knew what that meant

i owe all my wantingness to TBC at www.homestarrunner.com
kaymation
19
Years of Service
User Offline
Joined: 30th Mar 2005
Location: up, down, all around
Posted: 4th Jun 2005 12:17
prtend i never said that! i was trying to put in a code snippet but dont no how

i owe all my wantingness to TBC at www.homestarrunner.com
Robot
20
Years of Service
User Offline
Joined: 27th May 2004
Location:
Posted: 4th Jun 2005 17:28
just put [code*]before your code and [/code*] at the end (without the *'s)

The happenings of tommorow are behind us now
kaymation
19
Years of Service
User Offline
Joined: 30th Mar 2005
Location: up, down, all around
Posted: 4th Jun 2005 23:47 Edited at: 5th Jun 2005 23:49
here


i owe all my wantingness to TBC at [http]www.homestarrunner.com[http/]
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 5th Jun 2005 03:20
Please don't duplicate post.

... and your code only has 10 lines - how can you get an error on line 14?

*** Coming soon - Network Plug-in - Check my site for info ***
For free Plug-ins and source code http://www.matrix1.demon.co.uk
kaymation
19
Years of Service
User Offline
Joined: 30th Mar 2005
Location: up, down, all around
Posted: 5th Jun 2005 03:25
i didnt mean to post that lots of times it is just my computer accident oh oabout that 10 lines thing i probly made a mistake but it highlighted ink rgb(255,0,0),0 : set text font "arial" : set text size 14 : set text to normal : set text transparent if it helps

i owe all my wantingness to TBC at www.homestarrunner.com
zenassem
21
Years of Service
User Offline
Joined: 10th Mar 2003
Location: Long Island, NY
Posted: 5th Jun 2005 03:34
The compiler is giving the error at the wrong line. Get used to it. It does that sometimes.

The actual error is the line before it.
The load bitmap command.
You never gave a bitmap number

load bitmap "maze.bmp",1,1

The first ",1" is the bitmap number.

The second ",1" should be used if the bitmap is not being used as a texture.

~zen

kaymation
19
Years of Service
User Offline
Joined: 30th Mar 2005
Location: up, down, all around
Posted: 5th Jun 2005 03:43
thankyou will that make the intro srceen the maze.bmp

i owe all my wantingness to TBC at www.homestarrunner.com
kaymation
19
Years of Service
User Offline
Joined: 30th Mar 2005
Location: up, down, all around
Posted: 5th Jun 2005 03:58
no it didint work, but i used a program that already existed and mind you it NOT have ones and i switched the bitmaps and it worked how come it wont work for my game this all needs to work soon so i can enter it in the contest

i owe all my wantingness to TBC at www.homestarrunner.com
zenassem
21
Years of Service
User Offline
Joined: 10th Mar 2003
Location: Long Island, NY
Posted: 5th Jun 2005 04:20 Edited at: 5th Jun 2005 04:24
Well the only other error I see is...

randomize timer

it should be

randomize timer()

The code compiled fine here.

lastly.
make sure that maze.bmp is in your projects directory.
check the details to make sure there is no additional extension on it

ie.

maze.jpg.bmp

that's all that I can think of.


~zen

James Morgan
19
Years of Service
User Offline
Joined: 17th Apr 2005
Location: Behind you
Posted: 5th Jun 2005 04:54
If your using DBP - try reloading your .dbpro, this sounds dumb but with at least the IDE supplied with DB, it you don't do this, rather load up the .dba file, it will sometimes not load up from the folder your file is in, hence the file wont be found

Hello!
RUCCUS
19
Years of Service
User Offline
Joined: 11th Dec 2004
Location: Canada
Posted: 6th Jun 2005 06:59
It needs to work soon for the puzzle compo?...Because...if you only have 10 lines of code...I think you might need a little more work, unless you're a pro at putting tonnes of code in 10 lines, if thats the case then congrats...either way the comp ends in july so you still have quite a while.

Also, I dont know if you cut this part out for the pasting or if you forgot this or didnt know but remember to put the DO/SYNC/LOOP in there. Im pretty sure you knew that and took it out but if not, do that.

Pseudo:


Just neatened the code up a bit, also, why do you have cls 0. I've never seen that before...cls works fine on its own.

Well, sorry I couldnt be of more help but there ya go thats the most I can do without DBP on my comp to test it out.

Your signature has been erased by a mod because the filesize was too large.
kaymation
19
Years of Service
User Offline
Joined: 30th Mar 2005
Location: up, down, all around
Posted: 7th Jun 2005 02:43 Edited at: 11th Jun 2005 04:50
oh well I have dark basic v1.12 plus I don't know what that means at all

i owe all my wantingness to TBC at [href]www.homestarrunner.com[/href]
kaymation
19
Years of Service
User Offline
Joined: 30th Mar 2005
Location: up, down, all around
Posted: 7th Jun 2005 02:47
oh no that was all the code i could type before it went wrong

i owe all my wantingness to TBC at [href]www.homestarrunner.com[/href]
kaymation
19
Years of Service
User Offline
Joined: 30th Mar 2005
Location: up, down, all around
Posted: 7th Jun 2005 02:55
explain this
Quote: "Parmameter mismatch load bitmap expects string"


i owe all my wantingness to TBC at [href]www.homestarrunner.com[/href]
ddg
20
Years of Service
User Offline
Joined: 1st Jun 2004
Location:
Posted: 7th Jun 2005 03:02
youve seriously cocked something up there post all your code now then i can help.And by the way do u have anything to do with knoxskorner.

-------DDG-------
kaymation
19
Years of Service
User Offline
Joined: 30th Mar 2005
Location: up, down, all around
Posted: 7th Jun 2005 03:18
what is knoxskorner?

i owe all my wantingness to TBC at [href]www.homestarrunner.com[/href]
ddg
20
Years of Service
User Offline
Joined: 1st Jun 2004
Location:
Posted: 7th Jun 2005 03:22
obviously not just post the code so i can help you

-------DDG-------
zenassem
21
Years of Service
User Offline
Joined: 10th Mar 2003
Location: Long Island, NY
Posted: 7th Jun 2005 22:14 Edited at: 7th Jun 2005 22:21
Quote: "I DONT HAVE DBP I HAVE DARKBASIC ENHANCED!!!!DARKBASIC ENHANCED![/B] but thanx anyway."


Why in the world would anyone continue to help this person? This is not the first thread in which he snaps at people for trying to help him. He posted this in newcomers forum; and doesn't specify DB or DBpro.

People here try helping him, and he replies yelling at them (IN CAPS & BOLD TYPE)

=====
This seems like the best case for a refund that I have ever seen.
You should gather all your posts together and e-mail them to support.
Perhaps they will so overwhelmed with sympathy that they will refund your money.

~zen

kaymation
19
Years of Service
User Offline
Joined: 30th Mar 2005
Location: up, down, all around
Posted: 11th Jun 2005 04:48
yeah your right I'm going to change the post so they are less mean

i owe all my wantingness to TBC at [href]www.homestarrunner.com[/href]
Baggers
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Yonder over dem dere hills
Posted: 11th Jun 2005 07:03
*Reads zenassem's post*

*Reads Kaymations post*

*Breaks down in tears of laughter and then missery at how stupid people are*

kaymation
19
Years of Service
User Offline
Joined: 30th Mar 2005
Location: up, down, all around
Posted: 12th Jun 2005 04:16
that was suposed to make sense??

i owe all my wantingness to TBC at [href]www.homestarrunner.com[/href]
James Morgan
19
Years of Service
User Offline
Joined: 17th Apr 2005
Location: Behind you
Posted: 12th Jun 2005 09:02
Hmmm, try reading zenassem's post again....

Hello!
kaymation
19
Years of Service
User Offline
Joined: 30th Mar 2005
Location: up, down, all around
Posted: 12th Jun 2005 09:59
it worked!!! but if keystate(x)=1 it won't goto mainsection


i owe all my wantingness to TBC at [href]www.homestarrunner.com[/href]
kaymation
19
Years of Service
User Offline
Joined: 30th Mar 2005
Location: up, down, all around
Posted: 12th Jun 2005 10:00
nope don't get it

i owe all my wantingness to TBC at [href]www.homestarrunner.com[/href]
JerBil
20
Years of Service
User Offline
Joined: 8th May 2004
Location: Somewhere along the Z axis...
Posted: 12th Jun 2005 11:09
You still have problems, but at least here's your code
with a few corrections. Maybe you can take it from here.



-JerBil

Ad Astra Per Asper
kaymation
19
Years of Service
User Offline
Joined: 30th Mar 2005
Location: up, down, all around
Posted: 12th Jun 2005 23:02
It totaly worked but then the marble wont turn


i owe all my wantingness to TBC at [href]www.homestarrunner.com[/href]
kaymation
19
Years of Service
User Offline
Joined: 30th Mar 2005
Location: up, down, all around
Posted: 12th Jun 2005 23:35
oh just saying that i think something is wrong with this code here because it sais
Quote: "error on line 26: sound does not exist"
here is the code.(note the sound part)


i owe all my wantingness to TBC at [href]www.homestarrunner.com[/href]
Mulderman
20
Years of Service
User Offline
Joined: 8th Jan 2004
Location: C:\\
Posted: 12th Jun 2005 23:45
Put load sound after line: load "maze.bmp"


http://forum.thegamecreators.com
kaymation
19
Years of Service
User Offline
Joined: 30th Mar 2005
Location: up, down, all around
Posted: 12th Jun 2005 23:59
thanks man! now I can listen to my clairinet solo while playing a game haha!
P.S. why doesnt the marble turn?

i owe all my wantingness to TBC at [href]www.homestarrunner.com[/href]
Mulderman
20
Years of Service
User Offline
Joined: 8th Jan 2004
Location: C:\\
Posted: 13th Jun 2005 00:07
coz program doesn't know what aY is, also i dunno.

http://forum.thegamecreators.com
kaymation
19
Years of Service
User Offline
Joined: 30th Mar 2005
Location: up, down, all around
Posted: 13th Jun 2005 00:26 Edited at: 13th Jun 2005 00:30
i decided to just make it so if the leftkey is pressed it goes left but i cant even do that!!
I dont know what is wrong, it moves along the z axis

i owe all my wantingness to TBC at [href]www.homestarrunner.com[/href]
Baggers
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Yonder over dem dere hills
Posted: 13th Jun 2005 00:31
Well firstly your just telling the object to move backwards 10 units.
You have to rotate the object to point it left, then move it forwards...or you could use the newxvalue and newzvalue commands....but rotating is probably easier...maybe you should work through some tutorials for a while.

kaymation
19
Years of Service
User Offline
Joined: 30th Mar 2005
Location: up, down, all around
Posted: 13th Jun 2005 01:44
here is some code that should but only rotates the object once...and the leftkey doesnt work at all


i owe all my wantingness to TBC at [href]www.homestarrunner.com[/href]
Zone Chicken
20
Years of Service
User Offline
Joined: 25th Jan 2004
Location: `~-..-~`~-..-~`
Posted: 13th Jun 2005 01:52 Edited at: 13th Jun 2005 02:13


Your signature has been erased by a mod -- please resize to under 600x120...
James Morgan
19
Years of Service
User Offline
Joined: 17th Apr 2005
Location: Behind you
Posted: 13th Jun 2005 02:08
With your original code, you should find out why the object didnt rotate if you were to look into some of the basic tutorials and look into the Basic 3D commands in the DB help files...

Hello!
kaymation
19
Years of Service
User Offline
Joined: 30th Mar 2005
Location: up, down, all around
Posted: 15th Jun 2005 11:40
Oh now we i try putting in a follow me camera my object but it wont move!

plus I dont like having all that stuff is there an easier working way?

i owe all my wantingness to TBC at [href]www.homestarrunner.com[/href]
Baggers
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Yonder over dem dere hills
Posted: 16th Jun 2005 04:30
Quote: "I dont like having all that stuff "

To be honest there isnt much there, this is programming man...its what we deal with...lots and lots of stuff.
Sorry I cant currently help with your code as I cant compile it.
Good luck though...and stick with it making games takes alot of code you have to go learn it...yes its hard work but the more work you put in the better result in the end.
If you cant be bothered with that...well i suggest stopping programming and getting FPScreator or something.

Computer Nerd
19
Years of Service
User Offline
Joined: 25th Jan 2005
Location: What do you care?
Posted: 18th Jun 2005 06:01
Programming's all about problem solving and loads of stuff.
You will have lots of headaches sometimes when programming I assure you.

That's about the only bad thing!

DarkBasic Classic Owner
kaymation
19
Years of Service
User Offline
Joined: 30th Mar 2005
Location: up, down, all around
Posted: 18th Jun 2005 11:01
thanx man

i owe all my wantingness to TBC at [href]www.homestarrunner.com[/href]

Login to post a reply

Server time is: 2024-09-23 21:23:38
Your offset time is: 2024-09-23 21:23:38