Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Birds Eye View RPG HELP!!!
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
kythoon




PostPosted: Fri May 02, 2003 4:12 pm   Post subject: Birds Eye View RPG HELP!!!

Hi Everyone,

I'm new here and was wondering if ne1 could help me. I have just recently started a RPG, but not just ne kind. This RPG I hope to will be from a bird's eye view. I have about 3 weeks to finish this for school. I'm in grade 9 so I don't know a whole lot about programming and Turing. This is what I have so far.

var finalClassPicX : int := 100
var finalClassPicY : int := 120
var chars : array char of boolean
var characterClass, finalClass : string
var finalClassPic, finalClassPicWidth, finalClassPicHeight : int

setscreen ("graphics:500;500,position:middle;centre,nobuttonbar,title:RPG")
put "What character? (warrior, archer or wizard) " ..
get characterClass

if characterClass = "archer" then
finalClass := "archer.bmp"
elsif characterClass = "wizard" then
finalClass := "wizard.bmp"
else
finalClass := "warrior.bmp"
end if

finalClassPic := Pic.FileNew (finalClass)

finalClassPicWidth := Pic.Width (finalClassPic)
finalClassPicHeight := Pic.Height (finalClassPic)

View.Set ("offscreenonly")
loop
cls
Input.KeyDown (chars)
locate (1, 1)
if chars (KEY_UP_ARROW) then
finalClassPicY := finalClassPicY + 2
if finalClassPicY >= (maxx - finalClassPicHeight) then
finalClassPicY := finalClassPicY - 2
end if
end if
if chars (KEY_RIGHT_ARROW) then
finalClassPicX := finalClassPicX + 2
if finalClassPicX >= (maxy - finalClassPicWidth) then
finalClassPicX := finalClassPicX - 2
end if
end if
if chars (KEY_LEFT_ARROW) then
finalClassPicX := finalClassPicX - 2
if finalClassPicX <= 0 then
finalClassPicX := finalClassPicX + 2
end if
end if
if chars (KEY_DOWN_ARROW) then
finalClassPicY := finalClassPicY - 2
if finalClassPicY <= 0 then
finalClassPicY := finalClassPicY + 2
end if
end if
Pic.Draw (finalClassPic, finalClassPicX, finalClassPicY, picCopy)
delay (20)
View.Update
end loop

As you can see, I have only done the basic movement. I plan to have a background with houses drawn on it, and when the character moves on it, a new screen appears. I also plan this game to be short, because I have limited time.
The user can leave the town and will be attacked by random enemies while completing a quest.

A few questions:
How long do you think this will take with my basic knowledge and time?
What are keywords that I would use?
Suggestions?
Ideas?
Hints?

Thanks

PS: If ne1 has done this before, can they post there game? Either with or without the code, because I need ideas.
Sponsor
Sponsor
Sponsor
sponsor
Asok




PostPosted: Fri May 02, 2003 4:59 pm   Post subject: (No subject)

please attach your images so we can actually RUN your code Razz
kythoon




PostPosted: Fri May 02, 2003 8:55 pm   Post subject: (No subject)

Sorry, they are bmp, says i can't post them.

Can ne1 give me some help with making buttons on it, so that you can move a picture and have a button or 2 on the screen at the same time

thanks
Asok




PostPosted: Fri May 02, 2003 9:17 pm   Post subject: (No subject)

put it into a .zip file
kythoon




PostPosted: Fri May 02, 2003 10:33 pm   Post subject: (No subject)

Ok, here it is


Has ne1 done this before, if so can u plaz post it, with or without the code


thanks
Tony




PostPosted: Fri May 02, 2003 11:06 pm   Post subject: (No subject)

well we have an exelent tutorial on how to write an RPG game in our tutorial section. You should defenatly read it. Then consider if you want to continue with the project from there. Its really not that hard to program an RPG if you know what you're doing. Its just that they tend to be lengthy.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
kythoon




PostPosted: Sat May 03, 2003 8:39 am   Post subject: (No subject)

i have read it, but i need to know if this will take longer than 3 weeks
Asok




PostPosted: Sat May 03, 2003 8:47 am   Post subject: (No subject)

anything can take longer than 3 weeks, it depends on how knowledgeable and how fast you are.
Sponsor
Sponsor
Sponsor
sponsor
Catalyst




PostPosted: Sat May 03, 2003 12:16 pm   Post subject: (No subject)

and how much effort is put into it
Tony




PostPosted: Sat May 03, 2003 12:44 pm   Post subject: (No subject)

well if you keep it simple and actually work on it daily, then you can have a preaty nice game in 3 weeks.

You can keep it simple for the development process and once you have a working game, start adding features.

Such as at first you can have a simple hack/slash (i think thats how its called) battle system where you basically just keep on attacking the guy untill he's dead. Later you can add the use of potions and you've got Diablo II Very Happy

Point is, if you feel strongly about the game, make a simple base for it and add more elements as you go along.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
kythoon




PostPosted: Sat May 03, 2003 4:16 pm   Post subject: (No subject)

ic what u mean tony thanks


if ne1 wants to do this for fun or a challenge, go ahead, it will be
Asok




PostPosted: Sat May 03, 2003 5:58 pm   Post subject: (No subject)

Locked. Asking people to actually DO your assignment/project is very frowned upon here.

Unlcoked... I think he sujested to make similar game for the fun of it... It better be that tough - Tony
kythoon




PostPosted: Sat May 03, 2003 7:10 pm   Post subject: (No subject)

sorry, i didn't mean it like that. i had read somewhere that someone was needing a turing challenge, so i offered this
void




PostPosted: Sun May 04, 2003 8:50 am   Post subject: (No subject)

dont you feel stupid asok...heheheheheh Twisted Evil Twisted Evil Twisted Evil Twisted Evil Twisted Evil Twisted Evil Twisted Evil not so high and mighty now are you?!?!?!?!??!?! Wink jokes jokes Wink Very Happy

MOD EDIT: Don't mess with the powers that be. Razz -Asok
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 14 Posts ]
Jump to:   


Style:  
Search: