Computer Science Canada Birds Eye View RPG HELP!!! |
Author: | kythoon [ 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. |
Author: | Asok [ Fri May 02, 2003 4:59 pm ] |
Post subject: | |
please attach your images so we can actually RUN your code |
Author: | kythoon [ Fri May 02, 2003 8:55 pm ] |
Post 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 |
Author: | Asok [ Fri May 02, 2003 9:17 pm ] |
Post subject: | |
put it into a .zip file |
Author: | kythoon [ Fri May 02, 2003 10:33 pm ] |
Post subject: | |
Ok, here it is Has ne1 done this before, if so can u plaz post it, with or without the code thanks |
Author: | Tony [ Fri May 02, 2003 11:06 pm ] |
Post 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. |
Author: | kythoon [ Sat May 03, 2003 8:39 am ] |
Post subject: | |
i have read it, but i need to know if this will take longer than 3 weeks |
Author: | Asok [ Sat May 03, 2003 8:47 am ] |
Post subject: | |
anything can take longer than 3 weeks, it depends on how knowledgeable and how fast you are. |
Author: | Catalyst [ Sat May 03, 2003 12:16 pm ] |
Post subject: | |
and how much effort is put into it |
Author: | Tony [ Sat May 03, 2003 12:44 pm ] |
Post 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 Point is, if you feel strongly about the game, make a simple base for it and add more elements as you go along. |
Author: | kythoon [ Sat May 03, 2003 4:16 pm ] |
Post subject: | |
ic what u mean tony thanks if ne1 wants to do this for fun or a challenge, go ahead, it will be |
Author: | Asok [ Sat May 03, 2003 5:58 pm ] |
Post 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 |
Author: | kythoon [ Sat May 03, 2003 7:10 pm ] |
Post subject: | |
sorry, i didn't mean it like that. i had read somewhere that someone was needing a turing challenge, so i offered this |
Author: | void [ Sun May 04, 2003 8:50 am ] |
Post subject: | |
dont you feel stupid asok...heheheheheh not so high and mighty now are you?!?!?!?!??!?! jokes jokes MOD EDIT: Don't mess with the powers that be. -Asok |