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: 10th Feb 2005 04:42
Glad it does I was thinking that it might turn into a bunch of nonsense off topic posts.

P.s Check your Tutopia thread.

Have a heart and join my message board.And now my messageboards work again!Woot!
TEH_CODERER
21
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 11th Feb 2005 00:20
Already have. Thanks again. They weren't really off topic and they bumped the thread nicely!

[url]andrewneale2004@yahoo.com[/url]
http://www.freewebs.com/elbsoftware/index.htm
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 11th Feb 2005 00:28
Haha.

Have a heart and join my message board.And now my messageboards work again!Woot!
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 11th Feb 2005 05:37
How would I position a sprite based off an object's position in 3D Space? Because I want to put a sprite on the screen where an enemy is and have tthe camera turn to the enemy, however just doing:

Doesn't work so I was wondering if there is any formula that could easily be used, I want this so I can havea lock on feature for combat in this little project I'm working on until DBP arrives.

Have a heart and join my message board.And now my messageboards work again!Woot!
TEH_CODERER
21
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 12th Feb 2005 05:10
Is this helpful?


[url]andrewneale2004@yahoo.com[/url]
http://www.freewebs.com/elbsoftware/index.htm
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 12th Feb 2005 07:26 Edited at: 12th Feb 2005 07:41
Will try it out in a few minutes.

It's some nice code and I like the targeter, this is very useful ?I've just got to look up the object screen commands and I can easily implement it.

Have a heart and join my message board.And now my messageboards work again!Woot!
TEH_CODERER
21
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 13th Feb 2005 04:39
So DBP could arrive any day now?

[url]andrewneale2004@yahoo.com[/url]
http://www.freewebs.com/elbsoftware/index.htm
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 13th Feb 2005 05:03
Yes, but it might arrive any week too. I'll just have to wait. And then one day it will arrive.

Have a heart and join my message board.And now my messageboards work again!Woot!
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 16th Feb 2005 09:22
It should be here next week according to Amazon, woot!

Anyways didn't want this to pass to page 2, and can a mod pllleeeaasseee move this to DBP talk? Please?

Have a heart and join my message board.And now my messageboards work again!Woot!
TEH_CODERER
21
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 16th Feb 2005 19:58
Well we could go to every thread on every forum and post a message asking for it to be moved but that would be slightly excessive!

[url]andrewneale2004@yahoo.com[/url]
http://www.freewebs.com/elbsoftware/index.htm
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 17th Feb 2005 07:22
And I would probably be temporarily banned.

Have a heart and join my message board.And now my messageboards work again!Woot!
TEH_CODERER
21
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 18th Feb 2005 04:49
A minor problem!
Once you get Pro I'll send you my updated version of the snippet from this thread.

[url]andrewneale2004@yahoo.com[/url]
http://www.elbsoftware.tk
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 18th Feb 2005 05:16
Cool.

Have a heart and join my message board.And now my messageboards work again!Woot!
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 20th Feb 2005 04:31
It's here! It arrived in the mail today! andrew could you send me that enhanced snippet you mentioned?

Have a heart and join my message board.And now my messageboards work again!Woot!
TEH_CODERER
21
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 21st Feb 2005 04:47
Wahey!
Here you go!

After you get used to it (shouldn't take long!) try and gain a level and notice that you do more damage.

If you need any help then let me know.

[url]andrewneale2004@yahoo.com[/url]
http://www.elbsoftware.tk
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 21st Feb 2005 06:26
It's nice but the controls are a bit confusing, could you explain them? I think this is much better than the one I had before. Thanks.

Have a heart and join my message board.And now my messageboards work again!Woot!
Gil Galvanti
19
Years of Service
User Offline
Joined: 22nd Dec 2004
Location: Texas, United States
Posted: 21st Feb 2005 06:29
nice code andrew

Video games…they can take you places unreachable, impossible, unfeasible. They put you in the book...they put you in the movie...they put you in a world, a world that before could only be imagined.
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 21st Feb 2005 08:46 Edited at: 21st Feb 2005 08:48
I haven't started to do much with the code yet, only a few visual things, will implement magic soon, an ingame menu for selecing spells, and a small little ai vilage, but here's a screem of what changes have been made:

[edit]Stupid spaces... Here's the link:
http://img.photobucket.com/albums/v318/animeBLOOD/RPG%20snippet/newscreen1.png
[/edit]

[edit*2]That %20 that replaces the space is screwing everything up, sorry.[/edit*2]

Also, mods please move this thread to DBP talk. Thank you.

Have a heart and join my message board.And now my messageboards work again!Woot!
TEH_CODERER
21
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 21st Feb 2005 19:15
It is just arrow keys and space bar.
Screenshot looks good but is the experience bar working or did you take it before attacking anyone?

[url]andrewneale2004@yahoo.com[/url]
http://www.elbsoftware.tk
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 21st Feb 2005 21:32
I took before attacking anyone. The problem with controls orignally was becuase the plane was colored and without looking at the map it looked I was just rotating and not moving forward.

Have a heart and join my message board.And now my messageboards work again!Woot!
TEH_CODERER
21
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 22nd Feb 2005 04:50
Oh!
So is it any good?

[url]andrewneale2004@yahoo.com[/url]
http://www.elbsoftware.tk
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 22nd Feb 2005 04:57
Yes it is, but I have a question relating to a map hud. You know how in GTA the map hud is a circle with map inside it and the map scrolls in teh direction that you move and it only shows what is in the area you are in? How can you make a map that functions like that?

Have a heart and join my message board.And now my messageboards work again!Woot!
TEH_CODERER
21
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 22nd Feb 2005 18:35 Edited at: 22nd Feb 2005 18:38
I wish I new!
I think there may have been an example in Code Snippets.
http://forum.thegamecreators.com/?m=forum_view&t=46166&b=6

[url]andrewneale2004@yahoo.com[/url]
http://www.elbsoftware.tk
Gil Galvanti
19
Years of Service
User Offline
Joined: 22nd Dec 2004
Location: Texas, United States
Posted: 22nd Feb 2005 22:29
i have a question, and noones answering my thread about it, but yall are kinda talking about it so...How do u do ur UI? How do u make the bars and stuff, and how do u make the maps, and the bars go up and down? just with boxes?

Video games…they can take you places unreachable, impossible, unfeasible. They put you in the book...they put you in the movie...they put you in a world, a world that before could only be imagined.
TEH_CODERER
21
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 23rd Feb 2005 20:52
Read the snippet I posted.

[url]andrewneale2004@yahoo.com[/url]
http://www.elbsoftware.tk
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 23rd Feb 2005 21:36
Yeah, and if you don't get Andrew's code go back a few pages and look for some code by Tifu. They are thouroughly explained.

Have a heart and join my message board.And now my messageboards work again!Woot!
Fox Dark Master
20
Years of Service
User Offline
Joined: 20th Jul 2004
Location: Portugal
Posted: 23rd Feb 2005 22:04
Oks, i have a menu sample. It's not complete and it needs the sprites . I just want to know if i really need more
Fox Dark Master
20
Years of Service
User Offline
Joined: 20th Jul 2004
Location: Portugal
Posted: 23rd Feb 2005 22:39
I forgot to ask something...
How can i use a function?
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 23rd Feb 2005 22:40
What do you mean?

Have a heart and join my message board.And now my messageboards work again!Woot!
Fox Dark Master
20
Years of Service
User Offline
Joined: 20th Jul 2004
Location: Portugal
Posted: 23rd Feb 2005 22:51
I van't use my Function, is that clear?
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 23rd Feb 2005 22:53
Well it's an odd funtion you have there, maybe change it to a gosub and then in your main loop do this?


Have a heart and join my message board.And now my messageboards work again!Woot!
Fox Dark Master
20
Years of Service
User Offline
Joined: 20th Jul 2004
Location: Portugal
Posted: 23rd Feb 2005 22:54
I simply don't kwon how to use tmy new function, is that clear?
Fox Dark Master
20
Years of Service
User Offline
Joined: 20th Jul 2004
Location: Portugal
Posted: 23rd Feb 2005 22:57
I prefert a function because i will create a library of other functions on a single file. Then i just meed to use my new comands ,errr, functions...
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 23rd Feb 2005 22:59 Edited at: 23rd Feb 2005 22:59
Well you usuall you don't have aa fucntion for your main menu you would havea go sub or something like a goto, not a function so I don't see why you havea function in the first place. And functions are something that work without being called or anything (not sure about that so don't quote me on it) so I just think you should stop using a function for your menu in the first place. Sorry I'm not of much help.

Didn't see the pot above me because I was typing while he posted it up.

Have a heart and join my message board.And now my messageboards work again!Woot!
Fox Dark Master
20
Years of Service
User Offline
Joined: 20th Jul 2004
Location: Portugal
Posted: 23rd Feb 2005 23:03
With a function, i can understand bether the program
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 24th Feb 2005 00:03
Well try making a different function like one that tells the distance between two things or if an obect is colliding, not one for the menu...

Have a heart and join my message board.And now my messageboards work again!Woot!
Fox Dark Master
20
Years of Service
User Offline
Joined: 20th Jul 2004
Location: Portugal
Posted: 24th Feb 2005 18:38 Edited at: 24th Feb 2005 18:39
Yesterday, i was completing my code when a error messege apears while i was compiling "Failed to 'DoInstruction::FindCorrectInstruction'". The code is:
Fox Dark Master
20
Years of Service
User Offline
Joined: 20th Jul 2004
Location: Portugal
Posted: 25th Feb 2005 22:03 Edited at: 25th Feb 2005 22:04
I've solv my problem and i don't know how i did it...
But... my screen is all blue. Sprite does this?
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 25th Feb 2005 22:17

Never happened to me with sprites.

Have a heart and join my message board.And now my messageboards work again!Woot!
Fox Dark Master
20
Years of Service
User Offline
Joined: 20th Jul 2004
Location: Portugal
Posted: 26th Feb 2005 02:57
Try to run my program...
TEH_CODERER
21
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 26th Feb 2005 04:21
So how goes the RPG?

[url]andrewneale2004@yahoo.com[/url]
http://www.elbsoftware.tk
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 26th Feb 2005 04:21
How can I when I don't have the sprites???

Have a heart and join my message board.And now my messageboards work again!Woot!
TEH_CODERER
21
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 26th Feb 2005 23:25
HUH!
Oh! That was aimed at Fox Dark Master!

[url]andrewneale2004@yahoo.com[/url]
http://www.elbsoftware.tk
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 27th Feb 2005 00:41
I didn't even no you had posted because we posted at the same time!
It goes good, I'm going to change the map now that I have figured out a way thanks to some people (too many names to list )

Have a heart and join my message board.And now my messageboards work again!Woot!
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 27th Feb 2005 11:56


That data is somethign I want to use to build a city for my platformer. I also plan to construct something similar as a labryinth for my RPG. However when I tried to make objects based off of the 1's positions things didn't work out so well.
I then looked at your platformer code and thought maybe I could take that concept and try to build the city from there but it was to no avail, and my Help with Levels thread isn't checked much. So how would I build the buildings at each data with the number 1? The 4 represents the player's starting position, I'll will be adding 2's and 3's later.

Have a heart and join my message board.And now my messageboards work again!Woot!
TEH_CODERER
21
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 28th Feb 2005 19:58

Should work. I didn't have DB whilst coding.

[url]andrewneale2004@yahoo.com[/url]
http://www.elbsoftware.tk
Fox Dark Master
20
Years of Service
User Offline
Joined: 20th Jul 2004
Location: Portugal
Posted: 28th Feb 2005 20:43 Edited at: 28th Feb 2005 20:55
oks, my RPG...
Heres the first picture of my favourite character:


I've some problems with the code now, i think i've mess every character of code...

I'am almost alone in this! I make the characters, the story, the code, the design and the storyboard! and everything else exept 3D Stuff, 'cause a friend of mine will (i think) make it.

Any question?
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 1st Mar 2005 03:48
Nice job on the pic.

Thanks Andrew I'll check it out.

Have a heart and join my message board.And now my messageboards work again!Woot!
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 1st Mar 2005 04:30
Sorry for not editing but I have another question about the Data, if change my data"array" from 17*17 to 70*30, would I have to change the positioning of the X*50 part so it comes out correctly because it's not now that I changed the data "array" it didn't come out correctly.

Here's the new array:


Have a heart and join my message board.And now my messageboards work again!Woot!
TEH_CODERER
21
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 1st Mar 2005 18:41
The X*50 and Z*50 are just the distance between objects.
If the data is 70x30 then you have to use:


[url]andrewneale2004@yahoo.com[/url]
http://www.elbsoftware.tk

Login to post a reply

Server time is: 2024-11-27 22:52:30
Your offset time is: 2024-11-27 22:52:30