shaumik-ashraf / jasc Goto Github PK
View Code? Open in Web Editor NEWMMORPG!
MMORPG!
Here's an idea i'm just throwing out there. How about we re-write the character skill use code as follows, instead of using what we currently have in Legendairy.java:
-There is a class called Skills.java that contains all skills and static methods for their effects. Effects are then multiplied based on character stats/level
-When a character is constructed, he has his own arraylist of owned skills, and learnable skills.
-When a characters levels to the correct level, the next learnable skill is transported to his useable skill list.
-When a character uses a skill it just checks if he owns it, and then executes the hardcoded effect in Skills.java on a designated target, with modifiers
-Stats.java will have a static hashmap of skills and their MP costs.
-MP is used when using a skill, value gotten from hashmap.
Seems better than checking for every skill manually in the main function. I can help you write it if you want.
class World has areas put together;
if you run World.main() you can play 10 turns on a 3x3 world
World also has the ability to be generated by seeds, identical seeds will yield identical worlds
World seems to have tooo many towns, even though the chance of ech type of area should be equal, what should the ratios of each type be?
No Shop yet - will probably make it its own event, to be called by Town Event
No Saving yet
Hey. I was thinking that based on the area (dungeon, town, field) we have subareas that contain lists of monster names that can be spawned. For example:
Dungeon --------- Graveyard --> spawns skeleton/zombie enemies
|---------------- Cave --> spawns bats, cave trolls, etc.
|---------------- Castle --> spawns more human-like enemies such as goblins, elves, etc.
All you would have to do is have a string for area subtype, and a list of strings of names of enemies. Then i can just use event to construct random monsters from that list.
And with that, we need to add a lot more monsters to the bestiary ASAP, because no matter how area is implemented in the end we will need a variety. I think everyone should help with this.
Guys, we have a couple of things due tomorrow. We need to get a revised flow chart and UML diagram as well as a reflections that needs to be submitted electronically.
Do you peeps have any particular element or class that you want in the game?
Let's work on the Google Docs?
Enter long number.
So I typed 1.1 and it broke the code?
I managed to make Logan jump over the gap twice.
http://imgur.com/jwQLm6H
Let's go to the dojo tomorrow (1/12)! Yes yes?
Hey, i have begun implementing events in event.java. We should tie this in with area.java soon, and have the area spawn events based on location. Events encompass all occurrances in game, so if theres a fight it will spawn a CombatEvent. I wrote the code of CombatEvent and you can test it in GChar.
Also, we need to touch up monster.java. I was thinking we do what i did with item.java and create a hashmap of monsters with thier stats and abilities, and when they're are constructed a copy of these stats are taken based on name.
jcao14 is bendypeanut1
I was up all night doing homework. What should I do?
???????????????????
I'm doing something like:
public class World {
public Area[][]; ....
}
What should the size of the Area matrix be? (i'm thinking 4x4, 8x8)
We can also let the user choose...
Where'd the devlog go?
We need a battle method for gChar/Character, so we can just go:
public foo(gChar player) {
...
player.battle( monster );
...
}
We are very close to being done, but I have other work to do. Might be able to work later tonight, but for now the following is up to you guys:
-Remove/comment out debug SOP's in area/world
-Fix other small bugs you find
-Repack game into packages, create its final organizational structure for publishing
And if you have time:
-Finish town shop event. I would recommend writing a Boolean removeGoldB in GChar that removes money and checks if the char has enough. From there, just make the prices of items equal to the sum of all of their stats.
Good luck.
Switch the stat and statInitial in everything.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.