Fantasy Game Example ClickTeam Fusion source code project
A downloadable game example
Buy Now$4.99 USD or more
Do you make games in ClickTeam Fusion?
I offer you a complete example of fantasy RPG game!
About the game:
- Complex attack system, you walk with WASD buttons and when you pull out sword by F you face one direction. You can change direction by clicking CTRL button. You can make 4 different cuts during fight, every attack you can prepare by holding LMB button and release in moment you want to attack:
LMB - regular attack, no advantages or disadvantages
LMB + D - long range attack, easy to par and does not breaks guards but gives you just that small distance more to reach an enemy
LMB + A - short range fast attack, great for making counter when you step back
LMB + W - long range heavy attack, uses more stamina but it breaks guards
A and D buttons change what they are doing depending on direction you are facing - left or right
You can sprint by holding L SHIFT and jump by pressing SPACEBAR.
Sprint changes to "fast stepping" if you have sword pulled out. Jumping is also less efective.
You can block some attacks by holding RMB
There are also two skills implemented. You need to change a variable for "set of skills" to use the other one. You use it by clicking "1" button. One is flying water slash and the other one is fire combo that destroys enemies around us.
- 3 Types of enemies, they are fully functional and ready to fight. They have simple AI implemented, so every enemy has a pattern of attacks:
Goblin Swordman - they should be stacked in groups. They come closer and attack one at a time when they are overlaping each other. You need to break their guard or attack in back to give them damage
Goblin Spearman - he's like a defender of goblin ranger, you should not come close to him because he's attacks in short range are fast and unblockable. If you are standing in a little distance from him, he will jump with a hit, you need to block him then and counter while gaining distance from him again
Goblin Ranger - if you are within his range he shots you with his crossbow. You can destroy projectile if you hit it just in time. He is really vunerable and you can kill him with one hit so be quick before he starts shooting.
Goblin camp - there is a location that makes look like different camp everytime you start the game. Goblins do not go outside the camp - only exception is during the fight with you.
Goblin shades - goblins are shaded differently to make them not look like clones
- Leveling and stats system, you can level up by killing enemies. Its setuped so each next level will take more time to level up. You gain 2 atribute points each level.
Strenght - it will make your attacks faster, so you can make more attacks in a short period of time. It also adds you HP
Enduarence - it gives you more max stamina so you can make more attacks without taking a break
Agility - it gives you more speed in every state of walking and running. It also makes you jump higher. It all comes in handy if you want to attack enemies from behind
Rethorics - sadly unused one because there is no npc's in demo
Health - is regenerated by using health potions
Stamina - when you use it, max stamina you can regenerate that day gets smaller. You can eat bread item to regenerate it quickly during fight. Point of where you can regenerate your stamina gets smaller after every stamina use. It should return to maximum after you sleep but thats not implemented. - Inventory and Items - you can store up to 3 items in your backpack. There are two items implemented, health potion and bread
- Day&Night cycle and weather - there is dynamic movement of the sun, everything is getting colored according to it. During day you can see sun wandering. During night stars appear. These are really simple effects but they look nice. Addtionaly there is a cloud system that randomizes their movement. There is "weather" variable that changes weather there are four: sunny, minor clouds, cloudy, rainy.
- There are sounds connected to most of the things. But music system is totaly not done, i just connected simple short song to the demo so its not so silent
I hope that i didin't miss anything because there is so much complex things in this game.
About the code:
- Its 622 lines long and ordered in groups
- It can be messy and chaotic, mostly the AI part
- It has some simple bugs like not dissapearing counters after you open stats menu.
About the assets:
- You are free to use any of my graphical assets that are inside of this project
- Songs and sound are CC0 or CCBY so i would suggest adding names of the used files in credits (you will find them in DataElements view)
Why this project was abandoned by me?
- There are few reasons, but mainly because i switched from CTF2.5 to Godot. Thats why i am selling this game example so my work would not go to waste. Other reason is that me and the graphics guy that was doing this game splited ways. He is not doing game assets anymore. I would like to make this project one day but i will start over in godot and i would need a graphic team member for these cool animations and pixelart. Meanwhile you can use some of my mechanics or even copy paste whole game to make it your own. Have fun!
FAQ:
There is an error about extension missing! My projects may sometimes use some of free extensions. You should find them all here: https://clickwiki.github.io/extensions/packs/
Status | Released |
Category | Assets |
Author | PanMafin |
Genre | Action, Fighting, Role Playing |
Made with | Clickteam Fusion |
Tags | 2D, Action-Adventure, Action RPG, Creative, Fantasy, Pixel Art, Swords |
Average session | A few seconds |
Languages | English |
Inputs | Keyboard |
Purchase
Buy Now$4.99 USD or more
In order to download this game example you must purchase it at or above the minimum price of $4.99 USD. You will get access to the following files:
FantasyExample.mfa 29 MB
Download demo
Download
FantasyExample.exe 26 MB
Leave a comment
Log in with itch.io to leave a comment.