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.

Newcomers DBPro Corner / Small RPG snippet?

Author
Message
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 30th Sep 2004 09:39
I know how to use the box command.
It's just when I make the box vertical
ther is the black borcerbox and then there is a big green line that goes through it which is the supposed to be the green box which is the actual meter, it shouldn't even be full!

Got anime?I do.
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 30th Sep 2004 09:54
Arrgh, having a vertical experiance bar should be so simple but, it seems god wants to make it harder than it should be.

Got anime?I do.
gothboy 101
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Watonga, ok, usa
Posted: 30th Sep 2004 10:55
doug's

www.dragonseige.tk
http://dragonseige.tk
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 30th Sep 2004 11:01
Doug's?
Doug didn't have a healthbar code.

Got anime?I do.
Douglass
21
Years of Service
User Offline
Joined: 28th Aug 2003
Location:
Posted: 30th Sep 2004 11:47
hey wat up? ive been busy! seems like the games goin pretty good.

Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 30th Sep 2004 11:49
Tis, I've got a nice hud, just I've got a problem with having a vertical XP bar, can reposition a horizantal one fine but vertical just screws everythin up, and I've got a problem with the hud's background being transparent.

Got anime?I do.
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 1st Oct 2004 04:36
ARRGGGHHH, why isn't this working.
I need to figure out to get the XP bar vertical.

Got anime?I do.
OldTifu
21
Years of Service
User Offline
Joined: 10th Jan 2003
Location: Scotland
Posted: 1st Oct 2004 05:07
Showing some code might help, so we can like see what the heck the prob is
gothboy 101
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Watonga, ok, usa
Posted: 1st Oct 2004 06:36
i know dougs didn't have a health bar i mean i cantinsert the one that tifu made into it and make it work with the health

www.dragonseige.tk
http://dragonseige.tk
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 1st Oct 2004 06:38
@Gothboy:: Oh okay.
@Tifu:: I'll show the code later, as I don't have time to go and copy it out of DB.

Got anime?I do.
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 1st Oct 2004 07:15

There is the code for my XP bar, the problem with it is that it is just a giant black box with a green box thing going through it that is also giant, the /2 and +8/8 were for positioning, but they didn't help, Cuz what I want is a small vertical bar that fits in the area I have circled but that doesn't do what I want. Also the bar should be empty at first and fill up, not be fully green to start. Anyways, Gothboy, I am about to check your code for your RPG that you posted and try implmenting some health for my self and then I'll post the full code.

Got anime?I do.
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 1st Oct 2004 07:28

Okay Gothboy, that is your code, but with a health bar, also here's somesuggestions.
Move the camera so it's furthur away from the dwarf, it being right up to his but was odd . Also have the attack be an animation rather than the box, it would look better, and also load the texture for the dwarf and texture the object, that way the axe will be textured too.

Got anime?I do.
gothboy 101
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Watonga, ok, usa
Posted: 1st Oct 2004 08:16
i am and thanks also thanks for the suggs. i also see where i messed up i didn't put "box 1,441,playerhealth,459"

www.dragonseige.tk
http://dragonseige.tk
gothboy 101
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Watonga, ok, usa
Posted: 1st Oct 2004 08:31
and yeah his but does act a little funny but i got another problem i'm missing an endif but i can't find where it needs to go then i'll be able to change the camera


www.dragonseige.tk
http://dragonseige.tk
gothboy 101
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Watonga, ok, usa
Posted: 1st Oct 2004 08:42
huh its textured on my comp

www.dragonseige.tk
http://dragonseige.tk
OldTifu
21
Years of Service
User Offline
Joined: 10th Jan 2003
Location: Scotland
Posted: 1st Oct 2004 09:06

OK... the problem here I think, is that using divide to position things isn't going to work, not when one is being divided by 8 and the other by 2... the XP green bar will usually be bigger, if it's only being chopped in half, and XPTOGAIN black bar is being cut in 8.
It's also not being told that the bar needs to start near the bottom of the screen (the second value in the box... should be 430 - [xp values] to make the bar go upward)
If that makes sense... if not... this might work:

Though i'm doing this purely inside my brain, no testing. Should work in theory
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 1st Oct 2004 09:41
Thanks Tifu, it works now. Gothboy, you know I meant that everything on the dwarf is textured except the axe, correct? And I'll look for the endif.

Got anime?I do.
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 1st Oct 2004 10:00
Are you sure it's an endif your missing? Because it says that the function patrol must be outside any program nests at line 152. And everything that needs an endif seems to have it.

Got anime?I do.
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 1st Oct 2004 11:15
Okay I have made the experiance bar so it's much bigger but works correctly, now I just have to deal with that god damn transparency.
Also I will be posting some new screenies soon. And some game art in my album so be prepared to look.

Got anime?I do.
gothboy 101
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Watonga, ok, usa
Posted: 1st Oct 2004 11:23
oh so the axe isn't textured? ok i'll fix it. and i guess its not an endif what is it i cant find anything wrong

www.dragonseige.tk
http://dragonseige.tk
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 1st Oct 2004 21:03
What I'll do is take the code with the health bar and try and add a camera that's furthur away then post it.

Got anime?I do.
WarGoat
20
Years of Service
User Offline
Joined: 19th Sep 2004
Location: Montreal
Posted: 2nd Oct 2004 01:41
hum... just a question: do you guy's use GameSpace?!

seto, now in vhs and dvd
OldTifu
21
Years of Service
User Offline
Joined: 10th Jan 2003
Location: Scotland
Posted: 2nd Oct 2004 01:57
I do
WarGoat
20
Years of Service
User Offline
Joined: 19th Sep 2004
Location: Montreal
Posted: 2nd Oct 2004 02:01
oh ok. because I want to buy it but i need to get money so I just wnat it is very powerfull

seto, now in vhs and dvd
WarGoat
20
Years of Service
User Offline
Joined: 19th Sep 2004
Location: Montreal
Posted: 2nd Oct 2004 02:02
oh ok. because I want to buy it but i need to get money so I just wnat to knoz if it is very powerfull
(sorry for my mistake in my last post)

seto, now in vhs and dvd
OldTifu
21
Years of Service
User Offline
Joined: 10th Jan 2003
Location: Scotland
Posted: 2nd Oct 2004 02:34 Edited at: 2nd Oct 2004 02:45
Use the edit post function, it's under your user name on every post you make... much more uh... polite or something...

Gamespace is very powerful, yes. I am using it for my RPG to create the characters, character animations, objects, levels and every other 3D object I might require. (second draft of city I made. Third and final draft to come later... wheee)

Most 3D softwares have a trial version. Gamespace Light can be freely downloaded to test it out... best solution if you're not sure what you want/need. Especially when you're talking about $300 or whatever it costs... (was worth it for me though :3)
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 2nd Oct 2004 05:51
I have to say I'm more of a Milkshape and Wings 3D guy, there both very easy to use and they cna make some awesome looking models. Can't say I like GameSpace, as I tried out lite, but that's just my opinion. Anyways, I got the problem with transparency sorted, and I'm going to try and fix the camera code in your snippet now, Gothboy.

Got anime?I do.
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 2nd Oct 2004 06:03

That was the code I gave you with the health bar, except the camera is much furthur away so you can see the dwarf but not right up to his ass, all I did was double everything in the position camera sectino where you were using the distance formula, at least I think that's what it was, I can't remember of the top of my head.

Got anime?I do.
gothboy 101
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Watonga, ok, usa
Posted: 2nd Oct 2004 06:32
thanks man and ya i'm more of a milkshape guy i bought gamespace not to impressed but i got milkshape free when i bought it so yeah!!!

www.dragonseige.tk
http://dragonseige.tk
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 2nd Oct 2004 06:35
De nada, soon I'll post a screen with the nice transparent hud.

Got anime?I do.
gothboy 101
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Watonga, ok, usa
Posted: 2nd Oct 2004 06:40
cool i'll love to see another screen your game looks sweet!! also how would i go upon making the white of this object be invisible?

www.dragonseige.tk
http://dragonseige.tk
OldTifu
21
Years of Service
User Offline
Joined: 10th Jan 2003
Location: Scotland
Posted: 2nd Oct 2004 07:16 Edited at: 2nd Oct 2004 07:17
mmhm 3D programs are very... what's the word...
Different people like/hate different stuff. As they are all very varied... which is probably why 90% of 3D programs come with demo versions. It very much relies on the individuals preference...

There is a sticky thread in the 3D discussion forum that lists all the 3D programs in existence (well, most...) along with their costs/pros/cons etc...
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 2nd Oct 2004 07:18
That's one "pimped" hud Gothboy, okay, first I'll save the picture and make into a transparent .png and email it to you. Then when you use the paste image command you set the transparecny flag to 1, that's what go it working for me.

Got anime?I do.
gothboy 101
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Watonga, ok, usa
Posted: 2nd Oct 2004 07:26
thanks

www.dragonseige.tk
http://dragonseige.tk
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 2nd Oct 2004 07:29
The reason I emailed you the pic was cuz I wanted to make sure it was formatted and stuff and that's what I did. And your welcome, because of it I've decided to:
Pimp My Hud
The new show from G4TechTV!
[don't mind me]

Got anime?I do.
OldTifu
21
Years of Service
User Offline
Joined: 10th Jan 2003
Location: Scotland
Posted: 2nd Oct 2004 07:33
You should not have to save an image as transparent to get it transparent within DarkBasic :/

Most of the images I put transparency on are bitmpas :/
gothboy 101
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Watonga, ok, usa
Posted: 2nd Oct 2004 07:35
whats the command for that?

www.dragonseige.tk
http://dragonseige.tk
OldTifu
21
Years of Service
User Offline
Joined: 10th Jan 2003
Location: Scotland
Posted: 2nd Oct 2004 07:37
Exactly the same.

By default black is the transparency command... I don't know what the command is to change what the transparent colour is, but i'm sure it was mentioned in this thread at some point...
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 2nd Oct 2004 07:38
you just would do:

Oh, thanks for the info Tifu, it's just I was told I had to format it to be transparent, as that's the only way it works for me cuz I use .pngs as they take up less space.

Got anime?I do.
OldTifu
21
Years of Service
User Offline
Joined: 10th Jan 2003
Location: Scotland
Posted: 2nd Oct 2004 08:14
hm... good point... are .pngs perfect quality? cos when I try to use transparency with .jpgs the compression of quality causes some stuff that should be black to not be quite black, and thus not transparent... specially at corners etc. Making .jpgs useless for transparency and such... er, pngs ok for all that malarky?
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 2nd Oct 2004 08:32
Don't ask me, I wouldn't know, but the quality is definatly good. Very Good.

Got anime?I do.
OldTifu
21
Years of Service
User Offline
Joined: 10th Jan 2003
Location: Scotland
Posted: 2nd Oct 2004 08:35
Well, i'm sure you'd have noticed if it was a problem... with the .jpgs it was immediately noticable... I shall have to fix all me images to .pngs :9
gothboy 101
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Watonga, ok, usa
Posted: 2nd Oct 2004 08:48
png's do have the best quality besides tif's i think

www.dragonseige.tk
http://dragonseige.tk
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 2nd Oct 2004 08:51
Hey, Gothboy, you should post some in game pics or just some new overall pics for Midtime at your site. I'm currentyl putting the finishing touches on the hud , so I'll post the screenies in an hour or so in my album.

Got anime?I do.
gothboy 101
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Watonga, ok, usa
Posted: 2nd Oct 2004 08:54
okie dokie right now though i'm working on some models then i'll import them into dbp to show what the battle engine will be like and also tifu i didn't understand the command you said?

www.dragonseige.tk
http://dragonseige.tk
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 2nd Oct 2004 08:55
What command did Tifu say? Maybe I can help.
(Hud is almost finished)

Got anime?I do.
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 2nd Oct 2004 09:03
Update
I have a screen in my photobucket album called "screentwo", it shows the new player model and the new hud. To find the link go a page or 2 back.

Got anime?I do.
gothboy 101
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Watonga, ok, usa
Posted: 2nd Oct 2004 09:21
cool, why does this say command out of place at line 102


www.dragonseige.tk
http://dragonseige.tk
OldTifu
21
Years of Service
User Offline
Joined: 10th Jan 2003
Location: Scotland
Posted: 2nd Oct 2004 09:24 Edited at: 2nd Oct 2004 09:25
What command did I say? The last one I was talking about was the paste image thing... AnimeBlood posted the code for that command.

I tried saving one of my big images as a .png, but the black thing doesn't go transparent :p ah well, I can live with .bmps for now

Edit: Could you point us to which line 102 is?
gothboy 101
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Watonga, ok, usa
Posted: 2nd Oct 2004 09:32
the line that says
sync
loop

www.dragonseige.tk
http://dragonseige.tk

Login to post a reply

Server time is: 2024-09-24 03:15:01
Your offset time is: 2024-09-24 03:15:01