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 / RPG question

Author
Message
Armeggadon
21
Years of Service
User Offline
Joined: 10th Apr 2003
Location: United States
Posted: 11th Apr 2003 17:49 Edited at: 11th Apr 2003 18:03
i want to make a 2D RPG. how would i create the map and camera to look at it from a top-down perspective(and could you possibly also include a camera placement to be somewhat isometric) thx in advance if you can help. i really need a code snippet for this. thx
i also want the camera to follow the character that will be in the middle of the screen and the character/creature name above the character/creature. how would i print the name to do that. i already have cubes and spheres as monsters i just need to know how to do this before i try out any AI. plz help someone i know its a lot to ask for(well i think its a lot cause im a n00b) thx in advance though

this is my sig. no special FX or anything but oh well. casue im plain and this is my sig. *YAWN*
matt rochon
21
Years of Service
User Offline
Joined: 15th Mar 2003
Location: Canada
Posted: 11th Apr 2003 19:04
if you are making a 2d rpg, then you shouldnt be using cubes and other 3d objects, if you want to make an isometric 3d rpg then check out the demo of my engine at
http://galileo.spaceports.com/~rochon/

if you see anything you like in my engine let me know ill try to give you the source for it
Armeggadon
21
Years of Service
User Offline
Joined: 10th Apr 2003
Location: United States
Posted: 11th Apr 2003 19:28 Edited at: 11th Apr 2003 19:43
thx. ill edit this post once i get something. oh and question since im here. it might just be my computer but in the code

sync on

do

cls
print inkey$()

sync

loop

from the tutorial. it says that i should be able to press a key and then it prints what key im pressing. when i press a key however nothing happens. is it something in the code or am i just ot undestanding at all. thx AGAIN in advance

EDIT: i like your RPG game i want to make something kind of like that but im just a beginner so like they say im going to "start small" the main two things i want to do like in yours are
1) when you walk up to the first guy and he says hi to you, i want to be able to have it so names are created like that except so that they stay above your(and monsters) head(s). fomr a tutorial i have it so you can enter your name but i dont know how to place it above your persons head.
2) i want to know how to have the camera angle and following camera like yours.
i think from there i can *hopefully* figure out the rest throught tutorials. thx

this is my sig. no special FX or anything but oh well. casue im plain and this is my sig. *YAWN*
lcfcfan
21
Years of Service
User Offline
Joined: 19th Feb 2003
Location: North East, UK
Posted: 11th Apr 2003 21:14 Edited at: 11th Apr 2003 21:14
also check out the tutorials on the db classic site
http://www.darkbasic.com/create.php

x-d

2ghz, ati radeon mobility 32mb DDR, 30gb, 256mb DDR ram, Win Xp

http://www.apollo-design.com
John H
Retired Moderator
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 11th Apr 2003 23:29
Try this code instead

DO
CLS
Print Inkey$()
LOOP

Current Project: Eternal Destiny
Tech Demo - Colan Island: Currently 716 Lines
Armeggadon
21
Years of Service
User Offline
Joined: 10th Apr 2003
Location: United States
Posted: 12th Apr 2003 02:40 Edited at: 12th Apr 2003 04:04
hmmmm. stil not working. and now when i load it into Dark edit and compile or execute the code, dark edit gives me an alert saying "error running core". this is the first time this has ever happened and i havn't changed anything. ok darkedit is giving me the same error for everything. i've emailed the designer and i hope he gets in contact but tell me whats up eith the code. im so confused. when i load the code into dark basic itself to run i can run it but still nothing happens. i am so confused(oops said that already)

this is my sig. no special FX or anything but oh well. cause im plain and this is my sig. *YAWN*

Login to post a reply

Server time is: 2024-11-24 09:39:04
Your offset time is: 2024-11-24 09:39:04