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: 27th Sep 2004 08:53 Edited at: 27th Sep 2004 09:47
I have made a photoalbum of some screens to show what the RPG snippet looks like, I will update this some more, I hope this link works.
Double Double edit:
Decidded to post the pics as the slideshow don't work well.




Still don't work, arrggghhh.

Got anime?I do.
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 27th Sep 2004 09:41
Why aren't the tags working?

Got anime?I do.
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 27th Sep 2004 09:57
They seem to work now. Any comments?

Got anime?I do.
Fox Dark Master
20
Years of Service
User Offline
Joined: 20th Jul 2004
Location: Portugal
Posted: 27th Sep 2004 20:41
Anime blood , exist a comando to make particles. is usefull for fire and... blood . is something like make particles
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 28th Sep 2004 04:10
Sorry, I didn't quite get what you said.

Got anime?I do.
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 28th Sep 2004 05:36
I have been working on a menu system that comes up if you press a button on the keyboard, and it is a gosub called menu.
Now in the main loop I say:

then I get a syntax error while compiling saying:
Quote: "Error - Label"?" does not exist at line 71"

Is this a bug, because the label does exist.


Got anime?I do.
gothboy 101
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Watonga, ok, usa
Posted: 28th Sep 2004 07:09
yes i believe it is it happens on my computer also

www.dragonseige.tk
http://dragonseige.tk
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 28th Sep 2004 07:26
Now the question is, how do I fix it without having to upgrade, because I'm using the 100 day trial of pro right now.

Got anime?I do.
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 28th Sep 2004 07:27 Edited at: 28th Sep 2004 07:28
Since the pictures aren't showing up here's the link to the gallery that has them.:
http://photobucket.com/albums/v318/animeBLOOD/RPG%20snippet/
The link doesn't work so, copy the URL into a new window.

Got anime?I do.
gothboy 101
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Watonga, ok, usa
Posted: 28th Sep 2004 07:32
dude those look cool, is it action rpg or rpg?

www.dragonseige.tk
http://dragonseige.tk
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 28th Sep 2004 07:33
An action RPG and the character is an elven martial artist who will be one of the four playable characters in the final product, which of course is a loooooonng time from now, but he's not the main charcter, he's just the only character I've gotten to modelling as he only has a pauldron and a vest along with simple pants for clothing.

Got anime?I do.
gothboy 101
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Watonga, ok, usa
Posted: 28th Sep 2004 07:45
cool, ah anime i got a problem since i have to do the battle engine over, i got a question. Why is my animation jerky?


www.dragonseige.tk
http://dragonseige.tk
OldTifu
21
Years of Service
User Offline
Joined: 10th Jan 2003
Location: Scotland
Posted: 28th Sep 2004 09:03 Edited at: 28th Sep 2004 09:05
Line 71 is "menu:" rather than just "menu" yes?
If that's not the problem, show us the code around line 71, sometimes debug things often point to the line above or below where the actual error is...
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 28th Sep 2004 09:18
Line 71 calls the gosub, and the gosub is called menu.
Don't have time to test your code Gothboy, sorry bout that.
Tifu, whaddya think about the screens?

Got anime?I do.
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 28th Sep 2004 11:18
Arrgh, actually the error is now at line 231 or somethin' because I moved the gosub into another go sub, meaning I have

And that's in a gosub called controls, this is odd.
What's even odder though is how unspecific the error is
Label "?" does not exist at line 231
I'm getting really pissed.

Got anime?I do.
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 28th Sep 2004 11:42
By the way gothboy, I don't see the play object command in your code, so I don't see how the object is even being animated.

Got anime?I do.
OldTifu
21
Years of Service
User Offline
Joined: 10th Jan 2003
Location: Scotland
Posted: 28th Sep 2004 20:03
Screenies: I like the lil textbox you've added, nice shading on it, can't really say too much at this point in development ^^

Don't think you answered... there is a ":" after the "statmenu" line that "gosub statmenu" is meant to zoom to, yes?

as opposed to

which won't work.
Fox Dark Master
20
Years of Service
User Offline
Joined: 20th Jul 2004
Location: Portugal
Posted: 28th Sep 2004 20:03
One simple and stupid question...
Where can i get the 100 trial version of DB? (i supose is the PRO)
OldTifu
21
Years of Service
User Offline
Joined: 10th Jan 2003
Location: Scotland
Posted: 28th Sep 2004 20:05
http://developer.thegamecreators.com/?f=2004compo

Competition page would be where you'd get it...
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 28th Sep 2004 21:03
Yeah at the actual gosub it's statmenu:

Got anime?I do.
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 29th Sep 2004 04:47
What will I do?
I'm still trying to get it work though, anyways some questions.
How can I make it so while the menu is up the game pauses?
How can I make it so the menu doesn't exit until the key that acesses the menu is pressed again?
These are really the only things I need help with in implementing this menu as it's more of a quick menu (see Sudeki or PSO) rather than the full in game menu.

Got anime?I do.
OldTifu
21
Years of Service
User Offline
Joined: 10th Jan 2003
Location: Scotland
Posted: 29th Sep 2004 06:03
That depends on how you're doing it... if the menu screen is seperate from the game display (as like mine: for my game not sure if link will work...) then it's very simple...
When you call the statmenu screen, you just enter a loop that will not exit until you press the appropriate button
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 29th Sep 2004 06:21
Well it's a quick menu meaning it's just a small box that you can use items from check character stats and spells along with equipped items and while it's there you can still see the game just it's paused, but in the future I might make it so it somehow goes slow mo.

Got anime?I do.
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 29th Sep 2004 07:39
I've remed anything that calls the gosub and it works so it's just that gosub. Right now I'm adding a day/night system.

Got anime?I do.
OldTifu
21
Years of Service
User Offline
Joined: 10th Jan 2003
Location: Scotland
Posted: 29th Sep 2004 08:03
Actually, even if you can still see the action... a loop like the one I posted above would still work, as the 3D stuff would still be displayed, you just wouldn't be calling any of the subs that make the NPCs/monsters/hero do anything...
gothboy 101
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Watonga, ok, usa
Posted: 29th Sep 2004 08:24
its an .x and also i have it looped at the animation scale thing amabob and thank ya'll

www.dragonseige.tk
http://dragonseige.tk
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 29th Sep 2004 08:44
@Gothboy:Sorry, I have no clue what you just said.
@Tifu, okay, I just go to figure out why the gosub doesn't work, maybe I'll just delete that part of the code rewrite it and see what happens, anyways, I'm working on getting aworking d/n system.

Got anime?I do.
gothboy 101
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Watonga, ok, usa
Posted: 29th Sep 2004 10:27
cause how i looped it it's able to animate

www.dragonseige.tk
http://dragonseige.tk
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 29th Sep 2004 10:32
Oh, okay. Don't know what's wrong then, hey Tifu, if your reading can you help Gothboy out? Also, expect an email from me tomorrow, I've found a ton of freebie models and an upcoming pack for $10 that you may like to use.
I now have a day/night system in my RPG.

Got anime?I do.
OldTifu
21
Years of Service
User Offline
Joined: 10th Jan 2003
Location: Scotland
Posted: 30th Sep 2004 05:00
Gothboy: Why is "set object speed 1, 30" used? That's the only thing that comes to mind at the moment, how does it work without that line/what's it there for?
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 30th Sep 2004 05:02
Right now I'm trying to figure out how to work LithUnWrap so I cant exture my models, and I hope to get the menu working.

Got anime?I do.
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 30th Sep 2004 06:23
God damn pngs.
I export an image in PSP 8, and set the transperancy of the image to an alpha layer and the color to be transparent was white. In DarkBASIC there is still the white background even when I set image colorkey and try to set the image transpareny, anyone know what's wrong?

Got anime?I do.
gothboy 101
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Watonga, ok, usa
Posted: 30th Sep 2004 07:16
thanks tifu and if i used lith i'd try to help but i use gamespace sorry anime

www.dragonseige.tk
http://dragonseige.tk
gothboy 101
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Watonga, ok, usa
Posted: 30th Sep 2004 07:19
uh he goes a little to fast now (sorry)

www.dragonseige.tk
http://dragonseige.tk
gothboy 101
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Watonga, ok, usa
Posted: 30th Sep 2004 07:37
i cant seem to insert the health bar in there i feall stupid could you please help me

www.dragonseige.tk
http://dragonseige.tk
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 30th Sep 2004 07:49
Sure, just not not for an hour, which is when I'll also have a question as it realts to repositing the XP meter, and I have a pic of where I want it.

Got anime?I do.
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 30th Sep 2004 08:46
Okay, Gothboy what problems are you having with the health bar, so I know what exactly I can do for you.
Also if you go to my image gallery at photobucket called RPG Snippet,(the link is on the previous page) could you take a look at the picture called "screen" that has a circle and says 'right here'? That's where I want to position my health bar, I havebeen having a very hard time positing it there and have come close but the actual green bar hasn't been in place at all so I need to reposition it. Also you'll notice a white background in my new hud, I CAN"T GET IT TRANSPARENT, I exported it to .PNG with white set as a transparent color and I set the transparency to that color with the paste image command but it won't go clear.
Any help is gladly appreciated.

Got anime?I do.
OldTifu
21
Years of Service
User Offline
Joined: 10th Jan 2003
Location: Scotland
Posted: 30th Sep 2004 08:46 Edited at: 30th Sep 2004 08:49
Too fast... well, you had him at 30 and removing that line puts it at 100%... so just try changing the number till you find the proper setting maybe? Otherwise... maybe you should have made him slower when creating the model?

Or... keep it at 30 and try this command

Seems to be a command to smooth the animation, kind of... so do the set object speed objectno,30 followed by set object interpolation objectno,50
Or maybe not 50... I don't know exactly how much smoother you'd have to make it... trial and error is a good deal of what makes a game...

*edit* actually re-reading that help snippet, this code probably doesn't work with the LOOP OBJECT command... well, you can try... i've not used it before so it might work for all I know.
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 30th Sep 2004 08:47
Tifu, can you help me?

Got anime?I do.
OldTifu
21
Years of Service
User Offline
Joined: 10th Jan 2003
Location: Scotland
Posted: 30th Sep 2004 08:58
That would be the same X co-ord as the red and blue bars, but higher up (a lower Y value)... what's the problem in positioning it? paste image and sprite commands position the top left of the image at the co-ordinates you give, if it's a paste/sprite thing you're using...

I can't help with transparencies, I have my own share of problems with those evil things... does it work if you use a black background instead? (probably a reason you're not doing that, but it'd be good to know if the problem is to do with the colour of the image or what... er...)
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 30th Sep 2004 09:02
Well the bar has to be vertical now. Sorry I didn't specify that, that's what's causing the problem, also cuz it has to be a bit smaller but I hopefully can fix it if I need to.

Got anime?I do.
gothboy 101
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Watonga, ok, usa
Posted: 30th Sep 2004 09:15
woo hoo thats a cool command. anime the problem im having is inserting the health bar into the code to get it to show and do the stuff a health bar does

www.dragonseige.tk
http://dragonseige.tk
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 30th Sep 2004 09:16
So your having a problem having it on the screen and having it decrease when you take damage, correct?

Got anime?I do.
gothboy 101
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Watonga, ok, usa
Posted: 30th Sep 2004 09:17
yes, and you still need help making that transparent, am i correct?

www.dragonseige.tk
http://dragonseige.tk
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 30th Sep 2004 09:18
Correctido, okay, so are you using the code that Tifu gave me a few pages back or have you been making your own, if you've been making your own can you post the code?

Got anime?I do.
gothboy 101
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Watonga, ok, usa
Posted: 30th Sep 2004 09:19
hey animetry this command
SET IMAGE COLORKEY
This command will set the general colorkey for all images. A colorkey allows you
to specify a particular RGB colour that will be treated as transparent by the image
when used. Transparent pixels of an image are not drawn. You must use this
command before loading or grabbing an image in order that a suitable alpha map
be generated from the transparent pixels of the desired image to be calculated.
The alpha map is then used to decide which pixels are drawn and which pixels are
never rendered.

SYNTAX
SET IMAGE COLORKEY Red Value, Green Value, Blue Value

www.dragonseige.tk
http://dragonseige.tk
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 30th Sep 2004 09:20
I already have tried that, but it don't work.

Got anime?I do.
gothboy 101
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Watonga, ok, usa
Posted: 30th Sep 2004 09:28
oh i'll keep tryin'

www.dragonseige.tk
http://dragonseige.tk
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 30th Sep 2004 09:29
Thanks, and about the health bar, what code have you been using?

Got anime?I do.
OldTifu
21
Years of Service
User Offline
Joined: 10th Jan 2003
Location: Scotland
Posted: 30th Sep 2004 09:38
Quote: "Well the bar has to be vertical now. Sorry I didn't specify that, that's what's causing the problem, also cuz it has to be a bit smaller but I hopefully can fix it if I need to"

How does that make a difference? it's all just boxes

Aside from that, in your previous boxes the X value is the one being altered, you'd need to change it so that it's the Y value

Obviously that's not what you want... but it's along those lines. Myehr... still confused i'll try to do more for it.

Login to post a reply

Server time is: 2024-11-27 22:31:35
Your offset time is: 2024-11-27 22:31:35