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 Discussion / DarkNOOBS Project 1

Author
Message
BN2 Productions
22
Years of Service
User Offline
Joined: 22nd Jan 2004
Location:
Posted: 28th Sep 2008 21:34 Edited at: 28th Sep 2008 21:42
Awesome, good job ashingda.

Re: The main loop
It is there, it is just rather long and messy (not to mention hard to find). It needs to be polished a bit, but it is there.

I will integrate your code and post an update.

[Edit]
I get an error "Path cannot be created" when I try to use it.

Ever notice how in Microsoft word, the word "microsoft" is auto corrected to be "Microsoft" but "macintosh" just gets the dumb red underline?
Ashingda 27
18
Years of Service
User Offline
Joined: 15th Feb 2008
Location:
Posted: 28th Sep 2008 22:00 Edited at: 29th Sep 2008 04:14
Quote: "I get an error "Path cannot be created" when I try to use it."

I wonder, does it matter which way the slash is pointing? cause I used "" try switching the "" to "/" near the start of the sub SetupFile:

I got a new Mode 2. It's only for loading while playing the game and only uses arrow keys and return key, no mouse. Use mode2 the same as mode 0.



[edit] For some funny reason the reverse slash cant be displayed on the forum. I swaped it with the regular slash, It should be working now and it's updated. This is why the codes didn't work for you.

Note: Befor calling this function make sure you return to the current directory to where the game is if you changed befor. This function will change directory to /maps but will change back when done.

[edit]

Updates, I added a file arrangement so it will list out the file names in alphabetical order instead of by the date created.

BN2 Productions
22
Years of Service
User Offline
Joined: 22nd Jan 2004
Location:
Posted: 29th Sep 2008 06:07
Great work ashingda! Perfect!

Irojo, any progress?

Ever notice how in Microsoft word, the word "microsoft" is auto corrected to be "Microsoft" but "macintosh" just gets the dumb red underline?
Ashingda 27
18
Years of Service
User Offline
Joined: 15th Feb 2008
Location:
Posted: 29th Sep 2008 06:13 Edited at: 29th Sep 2008 06:22
Thanks, what else can I do? what's still needed?

I think im almost finnished with my version, doing the game part was much easier than when working on the editor.
BN2 Productions
22
Years of Service
User Offline
Joined: 22nd Jan 2004
Location:
Posted: 29th Sep 2008 07:26
wait for a day or so and then you can get started on irojo's part (assigned above)

Ever notice how in Microsoft word, the word "microsoft" is auto corrected to be "Microsoft" but "macintosh" just gets the dumb red underline?
Irojo
18
Years of Service
User Offline
Joined: 21st May 2008
Location: Eating toast.
Posted: 29th Sep 2008 16:24
Okay okay!!! Sorry I haven't been posting, I've been rather busy the past two or three days. I'll get cracking.


I download memory.
Ashingda 27
18
Years of Service
User Offline
Joined: 15th Feb 2008
Location:
Posted: 29th Sep 2008 17:53 Edited at: 29th Sep 2008 18:20
Opps ran accross more reverse slash that need to be turn to "/".
Now it should be fully operational. Dang I keep saying that.



Made a new NextFile() function. To use - NextFile$ = NextFile(OldFile$). This will return the next file in aphabitical order otherwise it will return empty if no more files.
Note: OldFile$ must be in whole path and NextFile$ returns in whole path also.
BN2 Productions
22
Years of Service
User Offline
Joined: 22nd Jan 2004
Location:
Posted: 29th Sep 2008 19:13
Quote: "Okay okay!!! Sorry I haven't been posting, I've been rather busy the past two or three days. I'll get cracking."


No problem, its just that we need to get this done, and I wasn't sure how long you would be away.

If you need help getting the graphics and such done, let me know.

Ashingda, do you want to continue working on your loading screen, or do you want a new assignment?

Ever notice how in Microsoft word, the word "microsoft" is auto corrected to be "Microsoft" but "macintosh" just gets the dumb red underline?
Ashingda 27
18
Years of Service
User Offline
Joined: 15th Feb 2008
Location:
Posted: 29th Sep 2008 19:30
I'll take up new ones, or just about anything to wrap this up.
BN2 Productions
22
Years of Service
User Offline
Joined: 22nd Jan 2004
Location:
Posted: 29th Sep 2008 20:02
Alright, we need in-game menu code. If you want to take care of that here is (roughly) how it will look. Keep it mostly in functions if possible and keep it flexible so that we can tweek it to work with irojo's menu graphics.

Will need these buttons:

-Settings
-Quit
-Resume

Let me know if you think of anything else.

Ever notice how in Microsoft word, the word "microsoft" is auto corrected to be "Microsoft" but "macintosh" just gets the dumb red underline?
Ashingda 27
18
Years of Service
User Offline
Joined: 15th Feb 2008
Location:
Posted: 29th Sep 2008 22:01 Edited at: 29th Sep 2008 22:08
Ok I got it. The function draws the menu and also checks if it's being clicked. This is a working example of the function.


[edit]
We should switch the rgb(r,g,b) to an actual number to make it run faster but ohh well.
I've been writing alot of functions lately lol.

Another thing, I read somewhere that wav files load up faster than midi, we might want to check it out.
Irojo
18
Years of Service
User Offline
Joined: 21st May 2008
Location: Eating toast.
Posted: 29th Sep 2008 23:03 Edited at: 30th Sep 2008 01:54
Ashingda on your loader... that... that has it's own input.... that's.. awesome...

I've slightly gotten the impression your not a noob.


And rgb isn't really that slow...


[EDIT]

I've got the ingame GUI made, but loading speed is slow. I know the problem, so I'll just remove that, and loading speed should run 8-16% faster. And I'll put in the Menu Button:




I download memory.
Ashingda 27
18
Years of Service
User Offline
Joined: 15th Feb 2008
Location:
Posted: 29th Sep 2008 23:33 Edited at: 29th Sep 2008 23:38
It looks nice. Great job.

Quote: "I've slightly gotten the impression your not a noob."

I'm familiar with the basic language as I messed with Qbasic a bit in highschool but everything here I'm pretty much doing for the first time. I've recently ran through tons of tutorials as well.
BN2 Productions
22
Years of Service
User Offline
Joined: 22nd Jan 2004
Location:
Posted: 30th Sep 2008 02:28
Quote: "I've got the ingame GUI made, but loading speed is slow. I know the problem, so I'll just remove that, and loading speed should run 8-16% faster. And I'll put in the Menu Button:"


No problem with the speeds, we will not be generating it ingame. Simply save them as images and we will load them.

Ever notice how in Microsoft word, the word "microsoft" is auto corrected to be "Microsoft" but "macintosh" just gets the dumb red underline?
Ashingda 27
18
Years of Service
User Offline
Joined: 15th Feb 2008
Location:
Posted: 30th Sep 2008 03:41 Edited at: 30th Sep 2008 06:31
Hey BN2 can you update on the list of to-do and post updated codes. Im not sure if http://darknoobs.cjb.net/ is updated or not.

I got some sounds for the rocks. rock01.wav if when a rock falls on rock and rock02.wav is when rock falls on ground.

[edit]
I finnished my version. The map editor is in the extra option, escape key is disable, there are 7 playable maps the last one is unbeatable as of yet and im missing extra stuff like score/credit/ect... which I probly never will put in.
BN2 Productions
22
Years of Service
User Offline
Joined: 22nd Jan 2004
Location:
Posted: 30th Sep 2008 06:40
can you load your files onto like fileden or something? I don't have too much room left. THen just give me a link

Ever notice how in Microsoft word, the word "microsoft" is auto corrected to be "Microsoft" but "macintosh" just gets the dumb red underline?
Ashingda 27
18
Years of Service
User Offline
Joined: 15th Feb 2008
Location:
Posted: 30th Sep 2008 06:48 Edited at: 30th Sep 2008 06:49
LOL man fileden have tons of "special offers" I'll give you link when it's uploaded.
Irojo
18
Years of Service
User Offline
Joined: 21st May 2008
Location: Eating toast.
Posted: 30th Sep 2008 06:58 Edited at: 30th Sep 2008 17:48
filefront is easy too. I was busy today, finishing up the GUI...

[EDIT]

Before I put the finished version here, I'll post important info.

The exact Menu Box Dimensions are:

520,430,580,460

The text size that I used for that was size 20. The other one is optional.

I'm going to now get a picture, and post the GUI here.

[EDIT]

GUI POSTED AND COMPLETE


Just stick it in your games file, under no certain section.

And here's the code just incase:



I download memory.
Ashingda 27
18
Years of Service
User Offline
Joined: 15th Feb 2008
Location:
Posted: 30th Sep 2008 17:54 Edited at: 30th Sep 2008 21:28
Irojo
18
Years of Service
User Offline
Joined: 21st May 2008
Location: Eating toast.
Posted: 30th Sep 2008 18:00
Everybody see my edited post two posts up?


I download memory.
Ashingda 27
18
Years of Service
User Offline
Joined: 15th Feb 2008
Location:
Posted: 30th Sep 2008 18:05 Edited at: 30th Sep 2008 18:21
I do now lol, thanks for mentioning

[edit]

I should use that on my version as well, I got nothing but a grey background.

[edit]

I converted the picture format to png to save space. I inserted it into mines and it works wonderfully.
NanoGamez guy
19
Years of Service
User Offline
Joined: 13th Jan 2007
Location: Closer than you think...
Posted: 30th Sep 2008 18:36
@Irojo
Did you see my post a while back?


"To succeed is not enough, others must fail" - Gore Vidal
Ashingda 27
18
Years of Service
User Offline
Joined: 15th Feb 2008
Location:
Posted: 30th Sep 2008 19:00 Edited at: 30th Sep 2008 20:27
@Nano
I completely missed that too lol.

I suggest we do a 2d rpg for next project, I have a good undersanding of 3 dimention array now after working on my map editor. I think we can do it.
BN2 Productions
22
Years of Service
User Offline
Joined: 22nd Jan 2004
Location:
Posted: 30th Sep 2008 20:57
Why does everyone always want to make an rpg??? Anyway, its the choice of whoever manages the next project.

Thanks irojo for the image, will get it plugged in.

Ashingda, will post your files up when I update the site with the newest code and media.

Ever notice how in Microsoft word, the word "microsoft" is auto corrected to be "Microsoft" but "macintosh" just gets the dumb red underline?
Ashingda 27
18
Years of Service
User Offline
Joined: 15th Feb 2008
Location:
Posted: 30th Sep 2008 21:01 Edited at: 30th Sep 2008 21:01
Quote: "Why does everyone always want to make an rpg???"

I dont know, but it sure is just tempting!

I could probly manage the rpg one.
Irojo
18
Years of Service
User Offline
Joined: 21st May 2008
Location: Eating toast.
Posted: 30th Sep 2008 21:51
I did not Nano. *hits head*

Your welcome BN2.


MANAGE OUR NEXT PROJECT TOO!!!!




We'll give you 20% of the profits!!!


*muahhahahhahaha*


I download memory.
BN2 Productions
22
Years of Service
User Offline
Joined: 22nd Jan 2004
Location:
Posted: 30th Sep 2008 22:04
What about stock offerings?

Ever notice how in Microsoft word, the word "microsoft" is auto corrected to be "Microsoft" but "macintosh" just gets the dumb red underline?
Irojo
18
Years of Service
User Offline
Joined: 21st May 2008
Location: Eating toast.
Posted: 30th Sep 2008 22:11
hahahaha


You are now our CEO.


I download memory.
BN2 Productions
22
Years of Service
User Offline
Joined: 22nd Jan 2004
Location:
Posted: 30th Sep 2008 22:23
Seriously though, for our next project, we need WAY more people and WAY more structure. No more "Here is what is needed lets get crackin" we need more of like, graphics guys make this, coders do this etc etc

Ever notice how in Microsoft word, the word "microsoft" is auto corrected to be "Microsoft" but "macintosh" just gets the dumb red underline?
Ashingda 27
18
Years of Service
User Offline
Joined: 15th Feb 2008
Location:
Posted: 30th Sep 2008 22:28
So how we going to get more people, make a darknoob help wanted post? I agree on the structure part as well.
Irojo
18
Years of Service
User Offline
Joined: 21st May 2008
Location: Eating toast.
Posted: 30th Sep 2008 23:53 Edited at: 30th Sep 2008 23:54
Nope. Finish this, post it in Program Announcements.

A finished project will look nice, and attract people.


I download memory.
Ashingda 27
18
Years of Service
User Offline
Joined: 15th Feb 2008
Location:
Posted: 30th Sep 2008 23:58
Well lets hurry up and finnish it!

@BN2
When are you going to post the updates on the site?
Irojo
18
Years of Service
User Offline
Joined: 21st May 2008
Location: Eating toast.
Posted: 1st Oct 2008 00:04
Wait. Before I make one, is their a file loader made besides BN2s simple one?

I want something that only sorts .maps.


I download memory.
BN2 Productions
22
Years of Service
User Offline
Joined: 22nd Jan 2004
Location:
Posted: 1st Oct 2008 00:10
You mean the code, or the interface. We are going to use ashingda's file loader.

Ever notice how in Microsoft word, the word "microsoft" is auto corrected to be "Microsoft" but "macintosh" just gets the dumb red underline?
Ashingda 27
18
Years of Service
User Offline
Joined: 15th Feb 2008
Location:
Posted: 1st Oct 2008 00:11 Edited at: 1st Oct 2008 00:13
yeah I made one also it dont sort only .map files but it opens up to the map Folder so nothing else should be in there except map files. This is a working example of it.



Note: This will create a Map folder in the directory you run the program in.
Ashingda 27
18
Years of Service
User Offline
Joined: 15th Feb 2008
Location:
Posted: 1st Oct 2008 00:59 Edited at: 1st Oct 2008 01:00
I'm going to get started on the rpg while I wait for updates.

[edit]
Opps double posted, my bad.
Irojo
18
Years of Service
User Offline
Joined: 21st May 2008
Location: Eating toast.
Posted: 1st Oct 2008 01:36 Edited at: 1st Oct 2008 01:37
I recommend you work on the item management first.


I download memory.
Ashingda 27
18
Years of Service
User Offline
Joined: 15th Feb 2008
Location:
Posted: 1st Oct 2008 01:40
Well I'm working on the Menu functions making it user friendly and flexible as much as possible.
Irojo
18
Years of Service
User Offline
Joined: 21st May 2008
Location: Eating toast.
Posted: 1st Oct 2008 01:42
Good idea. That'd be ideal.


I download memory.
Ashingda 27
18
Years of Service
User Offline
Joined: 15th Feb 2008
Location:
Posted: 1st Oct 2008 02:35 Edited at: 1st Oct 2008 03:21
This is the new menu I've been working on. It gets me thinking maybe we can still us this on project 1 as well.

This is a working example of new Menu Function. Move with the arrow keys and pres enter.

[updated]
The mouse click also works now.

Sinani201
19
Years of Service
User Offline
Joined: 16th Apr 2007
Location: Aperture Science Enrichment Center
Posted: 1st Oct 2008 20:37
Wow! So much stuff going on! I'm sorry I wasn't here for a while; I got Spore and I'm strangely addicted to it.

Anyways, I might still be able to help.

@Ashingda 27
The menu function is pretty good, although pressing Enter or clicking doesn't work.


"I reveal my trap card, GEORGE DUBYA BUSH!
America loses 2000 Life Points! America loses." -Deucalion2
Ashingda 27
18
Years of Service
User Offline
Joined: 15th Feb 2008
Location:
Posted: 1st Oct 2008 20:46 Edited at: 1st Oct 2008 21:05
Quote: "The menu function is pretty good, although pressing Enter or clicking doesn't work."

You have to hold on to the key or click cause it's looping.

Quote: " I got Spore and I'm strangely addicted to it."

Same here it's alot of fun.
BN2 Productions
22
Years of Service
User Offline
Joined: 22nd Jan 2004
Location:
Posted: 1st Oct 2008 21:29
Quote: "I got Spore and I'm strangely addicted to it."

That happened to me the other week, horribly hard to break away from isn't it.

Quote: "You have to hold on to the key or click cause it's looping."


Interesting, I will double check the code, see if it can be optimized to run more smoothly.

Ever notice how in Microsoft word, the word "microsoft" is auto corrected to be "Microsoft" but "macintosh" just gets the dumb red underline?
Irojo
18
Years of Service
User Offline
Joined: 21st May 2008
Location: Eating toast.
Posted: 2nd Oct 2008 01:15
I thought we needed a new logo. Put the download into a file that's not being used. Then run it with this code:

Tell me if you don't think the style fits the name.




I download memory.
Ashingda 27
18
Years of Service
User Offline
Joined: 15th Feb 2008
Location:
Posted: 2nd Oct 2008 02:30
Looks interesting but wouldn't it be better if it spelled out the whole darknoob games instead of using acronyms?
BN2 Productions
22
Years of Service
User Offline
Joined: 22nd Jan 2004
Location:
Posted: 2nd Oct 2008 02:30
can you post it compiled?

Ever notice how in Microsoft word, the word "microsoft" is auto corrected to be "Microsoft" but "macintosh" just gets the dumb red underline?
Irojo
18
Years of Service
User Offline
Joined: 21st May 2008
Location: Eating toast.
Posted: 2nd Oct 2008 02:36 Edited at: 2nd Oct 2008 02:38
Like this?

And it does have the full name.


I download memory.
BN2 Productions
22
Years of Service
User Offline
Joined: 22nd Jan 2004
Location:
Posted: 2nd Oct 2008 02:39
Not bad, but I would suggest making it a little larger onscreen.

Ever notice how in Microsoft word, the word "microsoft" is auto corrected to be "Microsoft" but "macintosh" just gets the dumb red underline?
Irojo
18
Years of Service
User Offline
Joined: 21st May 2008
Location: Eating toast.
Posted: 2nd Oct 2008 02:40
Okay.


I download memory.
Ashingda 27
18
Years of Service
User Offline
Joined: 15th Feb 2008
Location:
Posted: 2nd Oct 2008 03:26 Edited at: 2nd Oct 2008 06:06
BN2 can you post updated team code?

I updated my avatar btw hehe.

[edit]

OMG while im working on the new map editor, what used to be so hard and complicated is so simple now. What used to be 4-5 subs are all in one sub and the best part it's short! Wow once you learn Functions it helps like crazy!!!!

Try out the current code if you like. The pictures are attached.

Login to post a reply

Server time is: 2026-06-11 10:17:43
Your offset time is: 2026-06-11 10:17:43