01-31-2012, 11:17 PM
First off, thank you guys for your input! I think I have a good system here, feel free to ask questions but please PM me if you do have a problem with the system in order to keep the thread clean and on-topic.
We will all be given a feature to implement into whatever game we decide to make, already existing or new for the event. Unlike contests and competitions there aren't really any rules, this is just an experiment of sorts to get the community working and learning together. That means that you guys are allowed to (and encouraged to) help others with their implementation of the monthly feature and likewise they you.
So here it is, this month's "attractive" feature,
Magnets and Switches
Our first event will have us making games that use magnets and the ability to switch the player's polarity. Don't worry, it's not as hard as you'd think! You're free to take this gimmick and apply it to your game however you want.
How to Do It
It's simple really, just create a button that toggles a boolean variable and use that to determine the polarity of the player magnet. Create several non-player magnets and give them a boolean value for polarity. Now loop through a list of the non-player magnets. If the player magnet and a non-player magnet both have the same value for polarity (true and true or false and false) then move the non-player magnet away from the player magnet. Otherwise bring it closer to the player magnet.
You are free to use any language as we'll be focusing more on the logic than the syntax, but if you are having problems with the syntax don't be afraid to post! I'm also available to give personal HTML5 lessons via PM or Skype if anybody so desires.
So let's get the ball rolling and make tSR's GameDev forum a nice, active place to hangout!
The event ends on February 29, but if you enjoy what you're working on don't let that stop you! You can always include next month's gimmick or algorithm in your ever-expanding game or even take this month's game to a whole new level and have an indie hit!
We will all be given a feature to implement into whatever game we decide to make, already existing or new for the event. Unlike contests and competitions there aren't really any rules, this is just an experiment of sorts to get the community working and learning together. That means that you guys are allowed to (and encouraged to) help others with their implementation of the monthly feature and likewise they you.
So here it is, this month's "attractive" feature,
Magnets and Switches
Our first event will have us making games that use magnets and the ability to switch the player's polarity. Don't worry, it's not as hard as you'd think! You're free to take this gimmick and apply it to your game however you want.
How to Do It
It's simple really, just create a button that toggles a boolean variable and use that to determine the polarity of the player magnet. Create several non-player magnets and give them a boolean value for polarity. Now loop through a list of the non-player magnets. If the player magnet and a non-player magnet both have the same value for polarity (true and true or false and false) then move the non-player magnet away from the player magnet. Otherwise bring it closer to the player magnet.
You are free to use any language as we'll be focusing more on the logic than the syntax, but if you are having problems with the syntax don't be afraid to post! I'm also available to give personal HTML5 lessons via PM or Skype if anybody so desires.
So let's get the ball rolling and make tSR's GameDev forum a nice, active place to hangout!
The event ends on February 29, but if you enjoy what you're working on don't let that stop you! You can always include next month's gimmick or algorithm in your ever-expanding game or even take this month's game to a whole new level and have an indie hit!