Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Showcase / [WIP] Soccer Cards

Author
Message
Doveyy04
6
Years of Service
User Offline
Joined: 30th Apr 2012
Location:
Posted: 6th Apr 2018 20:19 Edited at: 6th Apr 2018 20:52
Hi guys, would like to show you my current WIP project. My knowledge of coding is erm.... Basic, I’m hopeless at graphics and my program is a mess but here we are.

The idea for this game is from a 1990’s board game called Gazza, in which you had a board (football pitch), a ball and a deck of cards each with a number and direction, you would take turns playing a card to move the ball as the card instructed hoping to get it into the goal area, if you did and your opponent didn’t have a save card then it was a goal. The higher the number on the card the better the move. I have taken this simple game and basically took it to a whole new level.

I’ll try and keep this short for now as there’s so many instructions but basically in my game you have different types of cards like PASS, SAVE, SHOOT, CROSS, SWITCH PLAY, CLEAR BALL etc, some cards can only be played in certain zones like for instance a cross card can only be played in the cross zone, some cards must be the last card in a turn like for instance a shoot card because once a shot is made that’s the end of your turn. You are dealt 10 cards from your pack at the start of each game and you can only use cards in your hand to play, any card you use is replaced at end of each turn. You receive a certain number of moves each turn depending on tactics played by you or opposition, every card you play uses up a move and adds 45 seconds to the clock, you can carry over any moves you don’t use for your next turn.

To acquire cards you buy players, player variables are position, skill, preferred foot, value and cards they carry, each outfield player has 8 cards, they depend on the variables so for instance only Full backs and Wingers have cross cards, only attackers have shoot cards etc, a right footed player will not have cards that go right as this needs a left foot and visa versa but a both footed player can go either way of your choosing, a player with higher number cards will cost more.

Players can also have a skill, this also depends on position so for instance only keepers have penalty saving skill and only central defenders have man marking skills etc, skills effect the game in a different way then just moving ball around, some skills are for set plays, some add cards to your tactical board to be used during a game. I currently have 13 different player skills.

Your tactical board is where you alter tactics in play, you acquire tactical cards either through player skills or on the training ground. Some tactical cards are auto activated so are in effect through your the game or at certain points and some are manual activated so you choose when to play them, for instance Men Behind the Ball tactic limits your moves so you don’t get out of your half much but also limits all your opponents shoot cards to 1 so in effect it’s like playing Men Behind the Ball in football because you will stop most of their attacks but you can’t attack yourself as your too busy defending, good to use if your holding on to a win near the end of the game and have no good moves left to play. I currently have 13 tactical cards but hope for many more.

The game will have progression so you start with little cash, limited skilled players able to sign and few tactical cards on offer but over time you will gain more but meet better opposition, opposition will vary through all skills and tactics so for instance one may like to man mark, break up play, clear ball etc a lot to keep tight, one may like to be good at all set plays or one may like to have all great attack players but bad keeper so a high scoring game is possible.

Generally the idea of the game is of course to score but if you can’t then you need to leave the ball as far upfield as possible, also keeping a good hand is key like for instance don’t leave only left footed cards in your hand because you may find ball on right hand side of the pitch on your turn and you would be stuck, and using tactics at right time is key like for instance if you have no keeper cards in your hand then you may need to use a tactic to tighten up and stop your opposition from getting a shot in till you are dealt one, also finding out your opposition tactics is key like for instance no point having lots of players who are skilled in attacking corners if their keeper mainly has save cards rather then deflect save cards as deflect save cards stop the shot but it goes for a corner kick.

Phew there’s so much more to the game including dice rolling for set plays etc but I’ll leave it for now, apologies if that’s confused you. I’ve still plenty of work to do and more things to add. Hope you like the sound of the game even though the graphics are poor.

Attachments

Login to view attachments
smallg
Valued Member
12
Years of Service
User Offline
Joined: 8th Dec 2005
Location: steam
Posted: 7th Apr 2018 10:11
Sounds awesome, looking forward to trying it out
life's one big game
spec= 4ghz, 16gb ram, AMD R9 2700 gpu
Doveyy04
6
Years of Service
User Offline
Joined: 30th Apr 2012
Location:
Posted: 9th Apr 2018 12:23
Thanks smallg

As you can see it’s very different to your use of the sprites. Still lots to do including an actual progression to the game, thinking it will be divisions with promotion and relegation and of course XP - levels so that you open up new cards and tactics. Hopefully I can have a video soon but currently not sure how to, using the screen recording on iPhone is not good as it seems to miss out certain bits and video would need to see a mouse cursor so you guys would know what I’m clicking on.
smallg
Valued Member
12
Years of Service
User Offline
Joined: 8th Dec 2005
Location: steam
Posted: 10th Apr 2018 18:14
indeed it is, i like dice based games so if you need a beta tester let me know
p.s. i think most screen recorders for phones will record finger touches by default
life's one big game
spec= 4ghz, 16gb ram, AMD R9 2700 gpu
Doveyy04
6
Years of Service
User Offline
Joined: 30th Apr 2012
Location:
Posted: 18th Apr 2018 15:10
This game will certainly need beta testing that’s for sure. Will working hard altering and adding stuff, hopefully I can tidy things up a bit soon to post a video, currently testing out different screen recorders as some seem to be not good frame rate, quite awful actually.
PSY
Valued Member
2
Years of Service
User Offline
Joined: 3rd Jul 2016
Location: Laniakea Supercluster
Posted: 19th Apr 2018 14:34
Very nice idea. Sounds promising


PSY LABS Games
Coders don't die, they just gosub without return
Doveyy04
6
Years of Service
User Offline
Joined: 30th Apr 2012
Location:
Posted: 29th May 2018 16:12 Edited at: 29th May 2018 16:20
Will post some more videos soon including a narrative one to explain what I’m doing and what I’m taping on as this screen recorder does not show that.

In this video it’s 3 mins gone and we both have 4 moves each indicated by the balls next to the score, I view my tactical cards, I have ‘extra subs and returns’ card as you only start with 3 each but this card doubles that up, I also have ‘sure start keeper’ card which deals you a normal save card first off, handy as you can go long into the game without being dealt a save card or corner save card so having that peace of mind early on can be good. I also have 1 create play and 1 break up play card thanks to a skilled player in each of that field in my team, break up card reduces your opponents move balls by 1 and create play card adds 1 move ball to your total. I also have 3 quick attack cards, these are handy if your losing late in the game as playing this card will mean your moves use very little time thus giving you more time to get that equaliser or winner if your drawing, specially if you sense your opponent has no keeper cards left.

I also view my player skills, I have my keeper with ball kicking which means he kicks the Ball further, a free kick specialist which means more dice when taking free kicks (I will post a video of these set piece dice processes and how having a certain set piece skill works in your favour), 1 defending corners player, this reduces your opponents dice when he has a corner (you can have more then 1 defending corner skill player to reduce more opponent dice, 1 cross skill player, this means his normal cross cards turn into expert cross cards, normal cross cards randomly try to put the ball in the area but expert cross sticks it in front of goal every time. I also have 1 break up play skill player and 1 create skill player as you saw in the tactical cards screen it gave me 1 of each. As you can see there are more player skills and lots more tactical cards but they are dimmed to show I have none.

I play 4 pass cards as I can’t get a shot on target here with the 10 cards in my hand, if you can’t shoot then get the ball as far away from your goal as possible. My opponent then uses a keeper card to move the ball forward 3 (any keeper card does this provided the Ball is in his area and you don’t lose this card when you play it unlike any other card), he then uses a clear card as the ball is still within the blue zone (I need to show these zones when opponent has his turn as currently I only show my zones), clear cards are good as they are cheap and if your hand is poor then clearing the ball away can save you. I then return a clear card to the pack as I have 2 but get a rubbish 3 forward pass :-( I then clear the Ball back, my opponent then pulls out a great move, 1 good pass 1 awesome pass, a normal cross which can only be played in the cross zone which is the red areas (again I need to show the opponents zones when it’s his turn), then he has the perfect super shot card from where the ball randomly lands and it’s a shot on target, note I do have a save card in my hand but because it’s a super shot card I need a super save card so it’s a goal, the better keepers/attackers you have the more super .. you have, this will change to expert shot/save though like the expert tactical cards.

Lots more to this game and will post more, it’s still WIP and would love to be able to do good graphics for this game as I’m awful at it.
Doveyy04
6
Years of Service
User Offline
Joined: 30th Apr 2012
Location:
Posted: 29th May 2018 16:15 Edited at: 29th May 2018 16:17
Here’s the video.... the compressed file is not great and thanks to my rubbish iPhone screen recorder the frame rate isn’t too good too but hopefully you can see what’s going off. Any help would be appreciated on how I can get a better recording to post on here.

Attachments

Login to view attachments
Doveyy04
6
Years of Service
User Offline
Joined: 30th Apr 2012
Location:
Posted: 29th May 2018 18:07
Here’s a video showing how dice works with set plays, that’s free kicks, corners, penalties and also there’s an appeal process to with fouls that uses the dice system.

Using 3 good pass cards I get the ball into the box and with my last move I use a foul card, use it in the box (yellow area) and it’s a penalty, use it in the orange area and it’s a free kick. So first off there’s the appeal process, it’s 6 dice to start with, you need to roll a 6 for the ref to award the foul, I have the ‘expert play-acting’ card so that gives me 3 extra dice and my opponent does not have the ‘expert tackling’ card or else it would reduce my total dice by 3. The dice are rolled and I get a 6, so it’s a penalty.

Now for the penalty you start with 6 dice again but if you have an ‘expert penalty taking’ card from having a skilled penalty taker in your team then you get 4 extra dice, I don’t so it stays at 6, my opponent does not have an ‘expert penalty saver’ card so his keeper is not skilled at saving penalties and thus he can’t reduce my dice my 4. The dice is rolled and I get a 6 so it’s a goal. So as you see with all dice rolling the more dice you have the more chance you have, skills and tactic cards alter the dice amounts.

Attachments

Login to view attachments
smallg
Valued Member
12
Years of Service
User Offline
Joined: 8th Dec 2005
Location: steam
Posted: 29th May 2018 18:33
are the expert cards you mention like 1 use only or a sort of permanent bonus but you only get to choose from at the start of the game?
i assume the later as that would allow you to customise your team and get unlocks etc but what stops you from using the same sort of approach every (/most) time you have the ball?

also how do you determine if the pass would be in the orange or the yellow zone when passing (for the foul to be considered a penalty or just a free kick)? is that a timing thing? because your second pass appears to stop just before the orange zone while the third pass is already in the penalty box.

is there a beta yet?
life's one big game
spec= 4ghz, 16gb ram, AMD R9 2700 gpu
Doveyy04
6
Years of Service
User Offline
Joined: 30th Apr 2012
Location:
Posted: 29th May 2018 21:44 Edited at: 29th May 2018 21:51
Essentially in the game there are 2 sets of cards, move cards like pass, shoot, save, clear, cross that you build into a pack by buying players and use in game to move the ball or save the ball and there are tactical cards that you inherit from the tactical shop by unlocking, these cards alter the dynamics of the game, you are limited to how many you can have, so for the expert thing, well an expert move card is basically a supped up move card like expert cross rather then cross, expert save rather then save etc, to get these you must have a player skilled in that area so if you have a player who has cross cards (only wing backs and wingers do) and he has crossing as a skill then his cross cards will turn into expert cross cards, the most cross cards a player can have is 2 so you can have a max of 8 expert cross cards in your pack but this may use up your quota of skilled players and you are limited to how many skilled players you can have so ok use them up by having lots of expert cross cards but then you are missing out on other skills too, but if you like crossing then go for it.

For the expert tactical cards which I think you was on about (expert play acting etc) well some are limited to a certain amount of usage per game some are permanent in a game but only become active in certain events, Your limited to how many tactical cards you can have so again like skilled players you decide which tactical cards you like best or are best to play again certain teams, Not sure if I’ve explained your question right but they are a permanent bonus if you buy the players skilled in that area but your limited to skilled players or tactical cards, so do you have expert crossers or man markers or creative players etc... you can’t have them all even at top level, your style of play will be different to others.

To explain the penalty situation, I played 3 pass cards to get the Ball into the penalty area then I played the foul card, where the ball is before you play the foul card determines whether it’s a free kick or penalty. There’s no timing thing in my game (though I will have a time limit to make your move) it’s basically based on a board game so I’m keeping that style, you play your cards and move the ball to suit, the animation is just animating your move you played.

For a beta version well I wouldn’t know where to start with that !! I’ve not looked into how to share the game yet like you did with herolls.
Doveyy04
6
Years of Service
User Offline
Joined: 30th Apr 2012
Location:
Posted: 29th May 2018 22:13 Edited at: 30th May 2018 09:22

smallg
Valued Member
12
Years of Service
User Offline
Joined: 8th Dec 2005
Location: steam
Posted: 30th May 2018 18:27
i see so it is like editing your squad to suit your play style, makes sense, i guess it's just hard to envision the balance of the game without actually playing it
impressive to see you're attempting to code some AI into the game, that alone must be a huge task, getting all the different teams and such and knowing which cards to play when etc... definitely the hardest part about coding games imo.

about the beta, well that depends how official you want the beta to be but if you get to a stage where you think it can be play tested (doesn't matter if it's rough around the edges, we're all used to that i'm sure) i would be happy to play test it via .apk which you can just share with dropbox or something... but of course only when you're ready, looks like the game is progressing quite nicely though
life's one big game
spec= 4ghz, 16gb ram, AMD R9 2700 gpu
Doveyy04
6
Years of Service
User Offline
Joined: 30th Apr 2012
Location:
Posted: 1st Jun 2018 09:41
Yes it’s editing to suit your style but also I’m trying to get it to work so that you choose your style to tackle your opponent too, for instance im trying to get the balance right so that if your playing against a team much higher skill then you then by using certain defensive tactics you have a chance of at least a draw whereas if you play normal your chance is less and if you attack then your probably in for a big defeat. It’s hard to get the balance right and needs lots of testing.

Yeh the AI has been the most problematic by far, it takes up a massive amount of code, I’ve basically got the AI to search for a move in stages by going through each possibility from his 10 cards, 1st stage shot on target, 2nd stage penalty or free kick, 3rd stage closest to goal etc, and I’ve just set scenarios for when AI should use a tactical card if he has one.

I’m unsure whether to have each AI team have same tactics and skillls as then you would learn what they were after 1 game and counter it from then on, maybe switch between a few, I don’t want it totally random as I want each team to have it’s own style so team A would always be defensive style, team b great individual skills, team c great card skills, team d amazing goalkeeper etc..

Login to post a reply

Server time is: 2018-08-18 23:12:10
Your offset time is: 2018-08-18 23:12:10