r/CoopGameMaking • u/Jace_09 • May 07 '15
r/CoopGameMaking • u/PitiNasri • May 08 '15
I'd love to help a bit, but i can't code, can't draw, and i can't come with good ideas
At least i'm willing to learn a bit of html and java but i doubt it will be sufficient for the ongoing project. Also i can't speak english :/ If there's any way i could help i'd say why not, but if not you have all my support, i'd be glad to play the game one day! Have a good day everyone
r/CoopGameMaking • u/[deleted] • May 20 '15
Submission Added Very Basic Fighting System
I have added a very basic fighting system that has yet to implement random foes, wounds or any other special things.
This is just a framework for people to work off. At the moment, the code is quite messy but it will be tidied as soon as I have more free time.
The only opponent at the moment is simply a "Rat" that does next to nothing but also offers next to no rewards.
Things that should be added:
Random Enemy
Item rewards
Better fighting indicators (thinking along the lines of pop offs similar to stat levelling)
Better fighting mechanics (damage, crits etc should probably be reworked)
This is by no means meant to be the main combat of the game. Think of it as an arena style where you battle foes for smaller rewards compared to the main game foes.
Source:
Screenshot
r/CoopGameMaking • u/Tribuadore • May 08 '15
Working On This Global namespace pollution
I'd like to clean up the global namespace, which the current implementation pollutes with the following names.
js/game.js
health
strength
intellect
dexterity
level
experience
experience_tnl
stat_points
max_stat_points
can_level_stats
game_time
prev_time
passed_time
update_stats
update_game
get_experience_tnl
check_stat_pointsjs/server_handle.js
xmlhttp
id_displayed
userID
getObject
saveGame
loadGame
create_UUIDI'd need to get buy-in from the server side as the current loadgame.php response relies on some of these globals to set game state.
<script>
level = 3;
health = 100;
experience = 20;
experience_tnl = 400;
strength = 1;
dexterity = 1;
intellect = 1;
stat_points = 4;
max_stat_points = 4;
alert('Successfully loaded the game');
$('#load-box').hide(500);
userID = '7cb251dac8d435172097dbf93b752df7';
</script>As a suggestion could we have loadgame.php respond with a JSON response like so.
{ "level": 3,
"health": 100,
"experience": 20,
"experience_tnl": 400,
"strength": 1,
"dexterity": 1,
"intellect": 1,
"stat_points": 4,
"max_stat_points": 4,
"userID": "7cb251dac8d435172097dbf93b752df7"
}The clients loadGame function would then JSON.parse() the response and make the appropriate game state changes.
Let me know what you all think.
r/CoopGameMaking • u/AIDStudio • May 09 '15
Patch 0.03 - Weekly Submission #01
This is the first major patch (mainly graphical) for this project and so far it is looking good.
This Weeks Run Down
This week went better then we had initially expected. We have had a lot of consistent contributors who have made efforts to not only make the game better but the development for the game better. We have released a fair few Q.O.L updates through out this week and have had a total of 39 commits to our GitHub page.
We've had our code revamped (for the better), some minor styling added as well as just getting the basic elements of the game out of the way. We've also added a "Max Health" which should pave the way for some fighting or battle implementations in the future.
On top of this we have had a lot of ideas and a few in particular that stand out such as /u/Biochromatic's idea of Kingdom of Heroes.
We've also added a few other resources such as our chat room and our JSFiddle pages. Don't forget to check out the side bar for more resources.
What's Changed In This Patch
Not much game play wise has changed. We have had a few graphical changes implemented.
First off, we have /u/BeatAlex who styled up our stats a bit and made things a lot more visually appealing.
We then have /u/ReallyDankPie who created a health bar system that is able to update upon taking damage, further paving the way for a battle system. hint hint
We also have user StevenPartridge who released a nice QOL update today which adds a pause function. This has been further improved by /u/ReallyDankPie.
Last but not least we have /u/ArtificialFlavour who added this art piece which will now be our favicon for our page as well as our mascot.
Thanks to all those who contributed and we look forward to seeing your future work.
TLDR
Added health bar
Styled Stats
Added pause functionality
Added splendid art piece
r/CoopGameMaking • u/[deleted] • May 13 '15
Updating Site
Over the next few days, some changes to the main site will be made.
First off, the game will no longer be found at the index of http://coopgamemaking.com but will now be found at http://coopgamemaking.com/game.
The index page is being replaced by documentation and some very simple guides assisting people in getting involved in the project. We understand that looking at others code is daunting and that is why we are making sure that every bit of code is understandable to our fullest extent. We believe that when people understand what is going on with the code, they will be able to easily modify what they feel needs to be changed. It is also a learning mechanism as it builds your development knowledge. On top of these, it will also allow experienced developers to quickly find things they need to modify and make changes as they please without reading all the code.
We plan on releasing documentation on all the functions under the categories of the pages they are found under. Every function that is mentioned on a page should be linked to the function description. All source code will be found on the function pages.
This documentation will take a while to process and fully update however when done, it will look something like this http://i.imgur.com/Bczy5Sc.png
The page will also act as a blog for updates but reddit will still be our priority community site.
We will be using Wordpress for this project and our yet undecided on community permissions.
r/CoopGameMaking • u/[deleted] • May 08 '15
Question Do the changes have to be major?
Hi guys, I really want to contribute to this project but unsure on if the changes need to be majorly 'game changing' or if they can be tiny little additions here and there?
This will be my first project that i'd have contributed to and so i'm not entirely sure how to do a lot of things (I only found out how to make a pull request a few minutes ago) so please forgive me, but I hope I end up helping shape this game up into something really cool with everyone :)
r/CoopGameMaking • u/rubik3x3x3 • May 08 '15
Submission Added Start / Pause / Resume functionality and cleaned up the footer: Pull Request #20
Mainly effected game.js. Please review and let me know if everything looks in order.
https://github.com/AnotherIndieDevStudio/Coopgamemaking-01/pull/20
edit: added another change to allow stat updates while paused. Same pull request. Please review and comment.
r/CoopGameMaking • u/Tribuadore • May 13 '15
Suggestions What are the mechanics of an attack?
Now we have basic Characters, Events and Items, I was thinking of having a go at putting the first attack mechanic into the game.
Looking at the what we currently have for Character stats, I think we are crucially missing attributes specifically to resolve attacks.
The current stats are:
health
max_health
strength
intellect
dexterity
levelBesides health, these seem to all be stats that would restrict Item usage and do not have any direct input to resolving an attack between two Characters.
I think we need to add the following two attributes, which are directly involved in the resolution of an attack.
attack
defenseIf Character A was attacking Character B, the math would be something like the following...
if A.attack > B.defense then
Create a Wound on B equal to A.attack - B.defense
end ifAn attack never directly affects health, instead it creates a new thing called a Wound that is attached to the the Character took a hit. Wounds would then directly affect health per Game.elapsed tick. The larger the Wound, the more health is lost per tick.
No idea what the real numbers would be, but say a Wound could be a maximum value of 10. Then Wounds 0 to 5 heal per tick on top of also applying -health.
i.e. A single Wound update would do the following
character.health -= wound.size
--wound.size
if wound.size === 0 then
remove would from character
end ifattack and defense attributes are not manually adjusted by the user like health, strength, etc... but instead only Items on the Character affect the amount of attack and defense a Character has.
Where strength, intellect, dexterity and level come in to play is that they restrict what Items you can use on your character. So for example you can't pick up the best shield in the Game if your strength is too low.
A Characters of the same type would have a equal amount of base attack and defense.
What does everyone think about this sort of mechanic?
r/CoopGameMaking • u/AIDStudio • May 08 '15
Patch Patch 0.02 - Q.O.L and Node Server
Thank you to all who participated in this patch.
Contributors For This Patch
What Was Changed?
Added a node.js server for local development options. View Readme on GitHub.
Added stat point display.
Added player and game objects to the code.
Added Max Health.
Added "Top Contributor" flair.
Added stat pop off
Removed all records on the database to make way for max health.
Removed global namespace issue with JQuery.
Tidied up CSS.
Made save ID selectable.
Changed server side code to prevent unwanted behaviours.
Changes server response.
Additional Information
Please be sure to update any current code you are working on to be suitable for the new code. This requires minimal effort (a search and replace will do). Sorry for the inconvenience but this will be 1000% better in the long run. Special thanks to /u/Tribuadore for the massive contribution today. He has been awarded a "Top Contributor" flair.
r/CoopGameMaking • u/AIDStudio • May 12 '15
Patch Patch 0.04 - Events and Items
Finally some game play updates! (sort of)
Contributors
What's changed?
We have added a new event system that randomly generates events and displays them on the side of the screen. We have also added items to the game. Each of these updates don't impact gameplay currently but will hopefully give developers something to work on. It also points the game in a general direction although that shouldn't stop people adding what they feel is needed (or what people want) to the game.
r/CoopGameMaking • u/AIDStudio • May 15 '15
Patch Patch 0.06 - Added Inventory and Defence Stat
Contributors:
What has changed?
Added Inventory
Added Wounds
Added Locations
Added Defence Stat
Changed Game Page Title
Reminder
Still working on the documentation. We have plans on having it complete by Sunday. If you are interested in giving a hand, please leave a comment below.
r/CoopGameMaking • u/Tribuadore • May 09 '15
Patch Patch 0.03 - Clean up (pull #22)
Clean-up of Patch 0.03
Folded js/monsters.js properties like id, name, type and concept of Character templates into js/character.js
Removed js/monsters.js
Fixed max_health copy bug in Character(obj)
Added id, name and type to saves and loads. id replaces userID response from loadgame.php (development server updated)
js/developmentServer.js updated to deal with id, name and type
js/developmentServer.js bug fixed where savegame.php &need_id= param was being ignored
Renamed meaningless image name c0ydqZL.png to mascot.png
Moved UUID to js/math.js
See pull request #22
r/CoopGameMaking • u/[deleted] • May 23 '15
Submission Added Very Basic Inventory System
I have added a very basic/primitive inventory system that will add item stats to the players current stats.
Source:
r/CoopGameMaking • u/ArtificialFlavour • May 11 '15
Poll Whose ass do you want to kick?
It seems like there's going to be combat at some point. But who will we be fighting? I'd like to know.
r/CoopGameMaking • u/[deleted] • May 26 '15
Working On This Implementing better battle system
I will be working on adding a better battle system over the next few days. One that adds random enemies and a better stat system for enemies as well.
r/CoopGameMaking • u/AIDStudio • May 13 '15
Patch Patch 0.05 - QOL and New Mascot
Just some small changes, mainly to events
Contributors
What's Changed?
Nothing too special in this patch. We have changed our mascot to something a bit more tidier.
The events now automatically get deleted when they start overflowing the screen, no matter what the screen height is. They now get deleted when you click "Show Events' as well.
The ability to quickly trigger events without needing to be queued has also been added. We have also added a Game.status object that will let us know the current state of the player.
r/CoopGameMaking • u/AIDStudio • May 17 '15
Patch Patch 0.07 - Added regenerating health
Contributors
What's changed?
Added regenerating health
Health regeneration stopped when wounded.
r/CoopGameMaking • u/[deleted] • May 08 '15
Submission Health Bar Addition
Image Links
Source Code / Pull Request
Description
Added a basic health bar with graphical representation of health. Created functions that allow the modification of the health bar allowing for something like a fight to directly impact health.
r/CoopGameMaking • u/AIDStudio • May 26 '15
Patch Patch 0.10 - Added more enemies
Contributes:
What's Changed?
The ability to add whatever enemy you like (within the source code) for random battle has been implemented for developers. For players, this means a wide variety of enemies can now be fought using the battle function.
Added ability to add all stat points to stat (for those long AFK sessions). Also removed alert for "Not enough stat points". Disabled button is enough.
r/CoopGameMaking • u/[deleted] • May 12 '15
[Suggestion] Side view camera.
I think this game would be great with a sideview camera and possibly with a charecter automaticly walking forward and player has to choose how he interacts with other objects once he aproaches them. What do you guys think?
r/CoopGameMaking • u/Tribuadore • May 10 '15
Submission Events as the gateway to confrontations / item exchanges / etc... (pull #23)
Added the concept of an Event occurring at random intervals of time.
At the moment it's just sample messages that bubble down the right-hand side of the page. In the future if people like this idea, Events could be a way of either automatically initiating fights or at least presenting the player with the option of engaging or passing-by a selection of confrontations.
An Event can be anything, as in my examples there could be environmental events like "The streets grow quieter as dusk approaches" that don't initiate any fighting, or allow for exchange of goods and purchasing items as in the example "A peddler of foreign appearances rattles his staff as he hobbles on by"
Confrontational or item exchange events could present links or buttons for the player to decide if they want to interact with the event or not.
See pull request #23
r/CoopGameMaking • u/Tribuadore • May 08 '15
Patch Fixed missing semi-colons and bad equality statement (pull #11)
jshint reports the following code validation warnings.
game.js|37 col 72 warning| Missing semicolon.
game.js|99 col 26 warning| Use '===' to compare with '0'.
game.js|100 col 32 warning| Missing semicolon.
game.js|104 col 2 warning| Missing semicolon.
server_handle.js|35 col 6 warning| Missing semicolon.
server_handle.js|38 col 28 warning| Missing semicolon.
server_handle.js|42 col 26 warning| 'need_save_ID' is already defined.
server_handle.js|67 col 6 warning| Missing semicolon.
server_handle.js|90 col 2 warning| Missing semicolon.I've added the missing semicolons, corrected an equality operator and removed redefinition of a variable.
See pull request #11
r/CoopGameMaking • u/[deleted] • May 19 '15
Working On This Working on inventory
I have been working on an inventory system that is fairly basic. You can open up the inventory interface, select one item from each category of item (sure there is more to be added). The bonus stats of the items will be displayed above the select menus.
Once you have chosen your stats, press "equip", the bonus stats will be added to your current stats.
r/CoopGameMaking • u/ArtificialFlavour • May 08 '15
Submission Add this as a placeholder image for MyCharacter. It'll be funny.
http://i.imgur.com/c0ydqZL.png
I made this image for the game.