• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 00:36
CET 06:36
KST 14:36
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10
Community News
[BSL21] Ro.16 Group Stage (C->B->A->D)1Weekly Cups (Nov 17-23): Solar, MaxPax, Clem win2RSL Season 3: RO16 results & RO8 bracket13Weekly Cups (Nov 10-16): Reynor, Solar lead Zerg surge2[TLMC] Fall/Winter 2025 Ladder Map Rotation14
StarCraft 2
General
When will we find out if there are more tournament Weekly Cups (Nov 17-23): Solar, MaxPax, Clem win SC: Evo Complete - Ranked Ladder OPEN ALPHA Weekly Cups (Nov 10-16): Reynor, Solar lead Zerg surge RSL Season 3: RO16 results & RO8 bracket
Tourneys
Tenacious Turtle Tussle RSL Revival: Season 3 $5,000+ WardiTV 2025 Championship StarCraft Evolution League (SC Evo Biweekly) Constellation Cup - Main Event - Stellar Fest
Strategy
Ride the Waves in Surf City: Why Surfing Lessons H
Custom Maps
Map Editor closed ?
External Content
Mutation # 501 Price of Progress Mutation # 500 Fright night Mutation # 499 Chilling Adaptation Mutation # 498 Wheel of Misfortune|Cradle of Death
Brood War
General
Which season is the best in ASL? FlaSh on: Biggest Problem With SnOw's Playstyle soO on: FanTaSy's Potential Return to StarCraft Data analysis on 70 million replays 2v2 maps which are SC2 style with teams together?
Tourneys
[BSL21] RO16 Tie Breaker - Group B - Sun 21:00 CET [BSL21] GosuLeague T1 Ro16 - Tue & Thu 22:00 CET [Megathread] Daily Proleagues [BSL21] RO16 Tie Breaker - Group A - Sat 21:00 CET
Strategy
Game Theory for Starcraft How to stay on top of macro? Current Meta PvZ map balance
Other Games
General Games
Stormgate/Frost Giant Megathread Should offensive tower rushing be viable in RTS games? Nintendo Switch Thread Path of Exile Clair Obscur - Expedition 33
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Mafia Game Mode Feedback/Ideas
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine YouTube Thread Artificial Intelligence Thread
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
[Manga] One Piece Movie Discussion! Anime Discussion Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion NBA General Discussion MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
The Health Impact of Joining…
TrAiDoS
Dyadica Evangelium — Chapt…
Hildegard
Saturation point
Uldridge
DnB/metal remix FFO Mick Go…
ImbaTosS
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2756 users

Indie game programmer needed

Blogs > affinity
Post a Reply
affinity
Profile Blog Joined October 2007
United States266 Posts
Last Edited: 2010-02-13 09:40:27
February 13 2010 09:02 GMT
#1
Heya,

I'm currently making an online browser game with my friend. He's pretty good at programming, but there's still a lot of work to be done on the game and he has a lot of stuff on his plate (we're both in college). I was wondering if there's anyone who'd be interested in working with us.

So anyways, about the game:
It’s a browser based automatic turn-based strategy game with some RPG elements. In this game, players play as a "tactician" and manage multiple characters (each levels and changes classes individually), put them into formations, and battle them. It’s coded in PHP/MySQL, but battle will use C++. If you've heard of MyBrute, it's kind of like that but slightly more brain intensive and customizable.

Players play as a tactician that manages characters. These characters can be arranged into a 3x4 formation (with max of 7 characters) and fight other players. Characters level up and change classes independent of each other (there are a total of 123 classes). As characters change classes, they gain abilities that affect their neighbors; some classes may help their allies become stronger; others may be incredibly strong individually but detract from their allies. Characters only have 2 equipment slots, weapon and armor, but it's like this to prevent players from becoming too confused, since they'll be managing lots and lots of characters.

Here is some sample art I have for the basic classes:+ Show Spoiler +

[image loading]



If you're interested in the class trees, here they are. Characters start as Novices and can change into either a Swordsman, Trainee, or Spellcaster. The parenthesized numbers next to the name of the class denote the required level.
+ Show Spoiler +

[image loading]

[image loading]

[image loading]




If you'd like to take a look at what and how each class affects its neighbors, here's a spreadsheet of all the classes and their effects.
+ Show Spoiler +
To show what location the effects are present, I used a number system.
1 2 3
4 5 6
7 8 9
5 is the character, 2 would be directly in front of the character, and 8 would be directly behind the character.
http://dl.dropbox.com/u/2020953/iggly/class stats.xlsx

P.S. If you're interested in numbers, the second sheet of the spreadsheet shows some simple statistics on how each class fares stats-wise


Also, some interesting example classes:

* Tyrant class:

Effect: -10% STR/INT/VIT to characters around it.

Character concept: The Tyant falls under the "selfish" archtype. It decreases the stats of those around it, but has above average attack while having no apparent weakness.

* Marauder class:

Effect: +2 strikes and +4 speed to the Marauder and those to either side of him for 1st 2 rounds of battle.

Character concept: The buffs the Marauder provides allows his neighbors to strike first and more often, but only at the beginning of each battle. The Marauder also has relatively high attack but low defense, essentially making him a glass cannon.

* Sorcerer class:

Effect: +60% Physical Defense to the character in front of the sorcerer and -50% Physical Defense behind the sorcerer.
Character concept: The Sorcerer gives defense to the characters in front of it while taking away defense to those behind it, which shows its mixing tendency. Players can take advantage of these effects by putting classes with very high physical defense in front of the sorcerer while putting classes that wouldn't really need physical defense anyways behind him.


The game currently is structured around simply fighting other players; in the future, I hope to implement several things: A "Player Versus Monster/Computer" function, Guilds for players to group up in, and territories for guilds to fight over. I've thought up of a good way for the latter two, but they're currently not being pursued since the basics of the game need to be programmed. Battle is fully automated for simplicity, so the structure of formations is extremely important.


Some other random things in the game:

* Characters have a specific affinity for an element. We are using the Chinese 5-element system (Water, Fire, Wood, Steel, Earth). Characters can deal extra or less damage based on its and its target's element; the affinity also gives small bonuses to make the character more "aligned" to that element, i.e. Fire affinity characters get +5% Attack and +1 speed.
* There are two ways to upgrade weapons: Refining and Imbuing. Refining adds simple stats (such as more attack for weapons and more defense for armor) while Imbues add special effects that have a range to keep players trying to get the "best" stats. This kinda unintentionally became similar to Diablo 2's crafting system, but since we don't have drop rates due to lack of PvM, it just costs money. Example: Acedia (Weapon Imbue): -80-40% Damage, +1-3 Strikes, +25-65 Critical, -10-20% Vit
This imbue seems to be pretty bad at first, but when applied to weapons with few strikes, the damage of the weapon could potentially double.

So yea, I'm looking for anyone who's interested enough in the game and wants to work on it with us.

At the moment, the following things need work. (Parentheses denote estimated hours needed by my friend)
* finish formations (10)
* rankings (10)
* battle system (20)
* finish battle code (40-60) [We mainly need help on this; it's just calculating damage]
* forums (5)
* users (registration, support, email) (20)
* fix placeholder layout (5)


If you feel anything is confusing about the game feel free to ask me questions, I'll do my best to clear up confusion. I left out some things (namely damage types, stats, substats, effects, and how battle progresses) which I feel aren't as relevant at the moment, but I'll be happy to talk about these if you're interested.

Thanks for reading!

sluggaslamoo
Profile Blog Joined November 2009
Australia4494 Posts
Last Edited: 2010-02-13 09:41:37
February 13 2010 09:30 GMT
#2
Are you using a TCP socket connection using PHP to your C++ server and then connecting to MySQL from your C++ Server?

Or are you using a PHP server and C++ server in combination?

How are you rendering the game? Is it HTML like Utopia, or more like Runescape with active rendering.

A better way would probably be to use all Java. Java Applet + Server would be much cleaner, and allow you to re-use code. No PHP, and for starters you should use SQLite because its much easier to work with. In my experience PHP sockets are terrible in comparison to standard socket connections, and only good for short transactions.

C++ is overkill, you don't need memory management for a game with such low performance requirements. Debugging in C++ and the amount of extra coding required to do anything will slow you down a lot. Not to mention the fact that you are going to need a PHP server to work alongside a C++ server, working on 1 database. If it ever got popular, MySQL would crack it from all the locking from either server.

If you are using C++ I sure hope you guys know the structured paradigm inside out.
Come play Android Netrunner - http://www.teamliquid.net/forum/viewmessage.php?topic_id=409008
Alphonsse
Profile Blog Joined March 2009
United States518 Posts
February 13 2010 09:32 GMT
#3
Sounds interesting. My background is in C++, which it looks like you need for the battle code. What are you planning on doing with the game once it's completed?
JohnColtrane
Profile Blog Joined July 2008
Australia4813 Posts
February 13 2010 10:09 GMT
#4
lol the characters look so cute xD
HEY MEYT
Aerox
Profile Blog Joined September 2004
Malaysia1213 Posts
February 13 2010 10:31 GMT
#5
Looks nice. Good luck tho. A lot of work.
"Eyes in the sky."
d3_crescentia
Profile Blog Joined May 2009
United States4054 Posts
February 13 2010 11:49 GMT
#6
Just a curious bystander question: how much were you influenced by Fire Emblem?
once, not long ago, there was a moon here
affinity
Profile Blog Joined October 2007
United States266 Posts
Last Edited: 2010-02-13 12:23:08
February 13 2010 12:20 GMT
#7
@sluggaslamoo:
Hey, thanks for all the suggestions but I'm pretty confident that my friend knows what's in store for him.

Currently, the game is pretty much text based with several graphical interactions (such as organizing formations), but I hope to get to the point where I can hire someone to do mybrute-like graphics for the game.

@Alphonsse:
The stuff listed is enough to get the game to functional state; when the game has more features, we hope to port it to facebook and maybe even internationally. We still haven't decided when would be a good time to charge for premium features, but that's definitely something we want to do. Of course, people that end up working with us probably will be compensated via upfront money and.or sweat equity.


@d3_crescentia:
Fire Emblem? I wouldn't say too much, but both my friend and I played FE7(or was it 6?) pretty religiously in middle school. I'd say the "individual characters leveling" resembles Navyfield's system more than Fire Emblem, but when deciding what class promotes to what class, I can't deny that Fire Emblem's class progression influenced me.
LastWish
Profile Blog Joined September 2004
2015 Posts
February 14 2010 16:27 GMT
#8
What are the tasks for the code in C++ exactly?
If it's only the damage calculation it shouldn't be too much of a work imo, because you can take a lot of stuff from your PHP and convert it to some classes and create a factory for them. Then make a severel functions that would take these info and actually count the damage and use some library for example Boost::asio to make network connections and do some thread pooling or something.
I'm not too much of a C++ coder at the time, all into C#, because I got lazy with having to manage memory on my own.

Sound like a interesting game though,
GL
- It's all just treason - They bring me down with their lies - Don't know the reason - My life is fire and ice -
Please log in or register to reply.
Live Events Refresh
PiGosaur Cup
01:00
#59
SteadfastSC176
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
SteadfastSC 176
SortOf 30
StarCraft: Brood War
Larva 952
Snow 143
Sharp 78
Noble 42
Icarus 6
Soulkey 2
BeSt 0
Dota 2
monkeys_forever575
League of Legends
JimRising 639
Counter-Strike
C9.Mang0340
Other Games
summit1g7813
WinterStarcraft344
ViBE161
Trikslyr28
trigger1
Organizations
Other Games
gamesdonequick1038
Dota 2
PGL Dota 2 - Main Stream289
StarCraft: Brood War
UltimateBattle 100
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 17 non-featured ]
StarCraft 2
• intothetv
• AfreecaTV YouTube
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• Azhi_Dahaki22
• RayReign 15
• Diggity3
• ZZZeroYoutube
• STPLYoutube
• BSLYoutube
League of Legends
• Rush1178
• Lourlo1106
• HappyZerGling95
Other Games
• Scarra1768
Upcoming Events
Replay Cast
3h 24m
Wardi Open
6h 24m
OSC
7h 24m
Tenacious Turtle Tussle
18h 24m
The PondCast
1d 4h
Replay Cast
1d 17h
OSC
2 days
LAN Event
2 days
Replay Cast
2 days
Replay Cast
3 days
[ Show More ]
WardiTV Korean Royale
3 days
Sparkling Tuna Cup
4 days
WardiTV Korean Royale
4 days
Replay Cast
4 days
Wardi Open
5 days
Monday Night Weeklies
5 days
Replay Cast
5 days
Wardi Open
6 days
Liquipedia Results

Completed

SOOP Univ League 2025
RSL Revival: Season 3
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
YSL S2
BSL Season 21
CSCL: Masked Kings S3
Slon Tour Season 2
META Madness #9
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2

Upcoming

BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.