Samstag, 28. Mai 2016

CamoTactics 7.0 is out! [+Download]

I am very happy to announce the CamoTactics 7.0 Build is FINALLY online. Get it here!

CamoTactics 7.0


I hope you enjoy stealing your enemies' stuff...



... and sneaking up behind them!



After you have finished them off, of course!

animation 1


Got praise? Got suggestions? Got something you don't like? Please share that with me!

Make sure to check out my blog. Follow CamoTactics official twitter for updates or my personal twitter for indiedev ramblings!

Mittwoch, 25. Mai 2016

CamoTactics Devlog #2: Weapon Mods, Camouflage

With the switch to libGDX as framework CamoTactics received a huge setback in development. However, this is compensated by a much more powerful framework that allows me to polish up the game more than before. More precise graphics, lighting systems, improved camouflage mechanics, better physics simulation are only a few examples.


I hope you enjoy this demonstration of the soon to be released demo version 7.0!




Watch how camouflage, stealth and customized weapons work here. Includes insight on versions to come.






7 is my lucky number - I hope it's yours too!

Thanks for reading!

Stay tuned for the demo!


Montag, 16. Mai 2016

6 Things that make Your Box2D world freeze

Ever encountered problems with your Box2D setup freezing or locking up and you don't know why?


Yes?

Then read on!

There are quite a few things you can do wrong with Box2D. I have collected a few common mistakes here. These mistakes include...


1) ... Changing the position of a body manually!
Generally, it's a bad idea to modify any body information directly, e.g. by using Body.setTransform() or changing position with Body.getPosition().set(x,y). This makes all contacts currently processed by the simulation invalid and ocreates unpredictable behavior.

Solution: Applying changes to velocity or position (including setting transformation) should always happen after the world has stepped. To do this, you can create a list of operations that is then processed after the world step. This can look a bit like this:
      
   world.step(...);
   if (!operations.isEmpty() )
   {
     operations.perform();
   }

See stackoverflow for more of this issue. You can also try copying the vector to avoid modifying it when using vector math.


2) ... Destroying physic bodies during a callback!
Raycasts and Queues are solved during a timestep. Modifying bodies during that process will cause Box2D to crash. Do not ever do this!

Solution: The code setup in 1) can help you out here. Send your destroy operations to a list containing bodies to be destroyed, where it is processed after the world has stepped. I do this in my game and it works perfectly fine.


3) ... Vectors getting NaN as values!
This happens if you apply an enormous amount of angular or linear impulses to your physic bodies, to the point they get catapulted to nowhere, because they adopt infinite velocity (and thus position).

Solution: Check your formulas and make sure the values are usable! It's a good idea to include a check on whether your values are valid when doing calculations; and throwing an error in case they don't.


4) ... References to destroyed physic bodies!
Once you have destroyed a body, it should not be referenced anywhere again.

Solution: Once destroyed, a body reference should always be set to null!


5) ... Creating physic bodies when the world is in the middle of a time step!
Because if you do, granted, you will get a freeze! This has caused me a lot of headaches personally.

Solution: You can use a similar solution as in 1): creating your objects after the world has stepped by putting them in your operations queue. 


6) ... Creating physic bodies that are created inside other physic bodies!
This causes your created physic bodies to be slung away like a bowl of peanuts gone crazy - if it doesn't crash first! In my experience, this happens when you have shooting mechanics, but the spawned projectiles touch the entity they were shot from.

Solution: There are numerous ways to solve this. You can either make sure your bodies are small enough and far away enough from a defined projectile spawning point - or if collision behavior doesn't matter too much, you can use collision groups and masking to avoid them touching each other.



I hope this helped you with any issues you had! If you still have problems, let me know - I'll be happy to help you out.

5 Reasons Why Your Game Should have Achievements


A while back I was asking my twitter followers about achievements and their significance in a game.
The general sentiment was that achievements were an important feature that you should consider adding. Let me present you the results and explain why.

Achievements...


1. ...Make Players Stick to your Game
Gamers want challenges. So by providing them achievements they can complete you are also giving them a sense of accomplishment once they finished them. They will want to complete as many achievements as possible and play your game longer, too. Even better if you're also giving them rewards while doing so!


2. ...Make Players explore Your Game
When a player sees a certain achievement, they will spend time trying to do things that may help them get it. This gives them a very good reason to explore your game and scoop out all possibilities.


3. ...Add Replayability & Variety
In case your game has mechanics that allow usage of different strategies or play styles, achievements are the best way to let many gamers experience as many aspects of the game as possible. If you want to promote creativity, reward players for doing things differently. Having your hands on the knob called variety is, in my opinion, a very crucial tool of game design. I think Team Fortress 2 does this very well - even though in practice it doesn't always turn out so well!

http://65.media.tumblr.com/35534564b0c069dc16e53688db64aeb9/tumblr_mhrbwedGhv1qmp4f4o1_500.jpg

4. ...Provide Guidance
Achievements can give important information to the player, such as how the game is being played or what else can be done in your game. Players will know what gameplay, items etc. to look after just by checking the list of achievements - if you are providing them with one.


5. ...Encourage Competition 
Especially in online gaming communities, achievements are often worn as a badge of honor and proudly shown off to others. Paired with a leaderboard, that also increases the chance someone plays your game longer.

http://www.mememaker.net/static/images/memes/4342839.jpg

I remember playing too much agar.io trying to get on the leaderboard in the first place...


Summary
Achievements are a great way to enhance your game, even if it is a small one. They increase variety, add more challenges and makes players explore your game more. All of which that, if done right, eventually results in more fun and time spent playing.

For further reading, you can check this video on which types of achievements are the best ones (Youtube). Thanks for Mr. Aqua for showing me this, you know who you are!

Thanks for reading!

Dienstag, 10. Mai 2016

What really makes a game fun and worth playing?




What makes a game fun?

That seems like a so simple question. The more I contemplate it, the more multilayered it becomes.

What is fun? 
 
What triggers a fun experience?

How to create something that is fun?


Fun is all about:
  • challenge
  • reward
  • taking risks
  • exploration
  • the rush of the unknown
  • taking opportunities
  • collecting things
  • messing around and testing out limits
  • answering the question, "what would happen, if...?"
...all in a playful way. It's how nature makes all life learns its lessons. Fun can also be something that brings back childish wonder and curiosity and allows us to reconnect to this deepest part of ourselves many of us learned to "grow away" from. Maybe that's why games are generally liked by many people - whether it be tabletop games, video games, or also the games you played on the playground, or later the "mind games" adults play (games that sometimes turn into not so funny ones..).


How does fun in games look like? 

I can think of a couple of things. Generally spoken, flashy-ness and the right aesthetic can make a HUGE difference in making a game fun.

If your explosions look amazing, the player will have endless fun making things blow up. For a while, they'll try to cause explosions whenever they can (exploration & testing out your limits).

If your GUI features detailed LED displays that lighten up, players may act similarly. Good sign: when you're coding something like this and notice you end up playing with it instead of just testing it!

If the sound design is exceptional, like in Don't Starve, only the act of opening up the build menu already contributes to the user having fun.


But it's not only aesthetics that make a game fun.

Rewarding the player for interacting with the environment, like loot drops from enemies or treasure chests, is also a good way to make a game more enjoyable.

To a degree, randomized outcomes (loot) gives uncertainty and make the player strive for more (rush of the unknown). Even if procedural generated content potentially becomes repetitive after a while, it can still give variety and spice up a game considerably. This is very well demonstrated in the game DoomRL or Phantasmal: House of the Shunned Ones, where each run will be different due to the fact the maps are generated and you find different equipment and enemies each time. Then, if you're lucky and good enough, you might even get to the end!

Let's take a look at Minecraft. The sheer amount of possibilities to play the game and build whatever is on your mind is probably the most important reason why it has gotten so popular. Players would create new challenges for themselves and take on them as they build whatever is on their minds.

In Fallout 4, I had a lot of fun just by collecting all weapon mods and using the best mods for my guns, because I am little perfectionist gun nut! Collecting things generally is a good idea, no matter what you collect: achievements, items, coins, badges, titles, obligatory notes that - as a whole - tell a story... or just screenshots of Fallout teddy bears!
 https://pbs.twimg.com/media/CWIptp3XIAADnF8.jpg
In games like the Fallout series, it was also fun to test out your limits in dialogue with the characters and see how they react - without suffering from potential backlash, as would happen real life. This can be a valuable social learning tool.

Things that can spoil fun a game:

A reliance on too much luck can potentially spoil a game if the outcome becomes too unpredictable. It's important to mix in an adequate amount of player skill required if the player wants to advance in a level.

Game mechanics that don't go too well and are in conflict with each other are another aspect that can spoil much of the fun.

For example, take a look at Don't Starve: it's a survival game taking place in a procedural generated world, but exploration is actually discouraged by the fact time is very limited and you die in the dark. Damn Charlie stealing your soul at night! This also puts the player under a lot of pressure. Of course, this can be fun for certain players, but after a while patience runs low and most just prefer to quit the game instead. Something you, as someone who makes games, should avoid!


I hope my insights gave you an interesting perspective on the topic "fun". Thanks to @TheSnee for giving me some ideas for this article!

If you want to check some more game development related articles, you may be interested in how to store your data in a Java game or check these 5 useful tools to start out gamedev.

Montag, 9. Mai 2016

CamoTactics Report #8: Gifs Galore & Version 7 imminent!

Hello my friends, b5cully reporting in with some new stuff to show to you!
I'm proud and happy to announce that a new build is in the works and that it will be ready in 30th this May. Finally!


With the port to libgdx framework, 70% of the game had to be completely redone from scratch. That practically means I created a new game using ideas and a bit of code from the old prototypes I had. The result of that you can see here: Blood, sweat and tears, but oh boy, it is worth it! Let me show off some awesome features of the new build while it's still hot!


Camouflage is now more interesting than before: Tanks got a camo pattern now and become more transparent the more the camouflage color matches the ground color. This not only affects your own vision - this stuff also affects the vision of all bots you will play against!


camo2camo1


The interface got a complete makeover, for example with a better attachment editor for your customized weapons:


CamoTactics Attachments 2


Weapons also change size once you attach a scope or magazine to it (something that didn't work before Version 7). Attachments do not have a function yet (except the magazine). Oh and you can change equipment in a very similar fashion!


Check this fancy main menu that slides out when you hover over it:


CamoTactics Slide Menu


Items that lay on the ground use their original icon and change their scale to highlight they can be picked up. The HUD below the soldier is also noteworthy, as it displays health, ammunition and reload status. It will be later replaced by a better, more stylish HUD and the possibility to set your current target by pressing a button.


CamoTactics Wobble


Inspired by an older dev build I had, I also made this nifty parallax main menu.


CamoTactics MainMenu 2


There are still a lot of features unnamed, and few more left to port from older versions!


I hope you're as hyped as I am for this demo version 7!
Stay tuned and thank you for reading!

Samstag, 7. Mai 2016

7 Tips for Your Indie Game Marketing

I've been observing Twitter for a long time now, trying to figure out marketing tricks and also acquiring the mindset that successful marketing requires. It's a hard thing to do when you're naturally shy and rather introverted like me. However, there are a couple of things that I figured out and that you might find very useful, too.

So here's the list of 7 tips for your indie game marketing:

  • 1 - Find out how your audience ticks. There's certain wordings that are more catchy than others - and therefore may grant you more interest and retweets. You have to choose your words in a way your target audience can relate to.

  • 2 - Always include images, or even better, videos to your posts and tweets. This will grant you a larger chance of engagement.

  • 3 - In general it's recommended helping and serving your target audience with your products or services. Expressing that helps too.

  • 4 - Keep your wording and posts personal, enthusiastic and honest. It will show your audience that you, after all, are human too, and not a untouchable corporate entity. Share your story and add your own flavor. Your passion needs to be contagious!

  • 5 - Always keep a link to your platform (blog, website) on your profiles. This allows you to let interested people find more of what you do. Also do this when creating content (graphs, pictures, screenshots, memes...). Keep a link to your site as watermark on those. In case your content spreads on the internet, the source (your blog, facebook site, twitter handle...) will also spread. It's not going to give you extra exposure directly, but may create more awareness: "Oh look, I've seen this somewhere before, I want to know what it is!". I admit, I am slacking on this one at times!

  • 6 - Use humor to make your content more interesting (and memorable). Humorously showing a newly discovered bug feature in your game is worth a couple of additional clicks.

  • 7 - Ask your audience what it wants (e.g. with polls). There are studies out there that indicate certain trends. While without doubt helpful to figure out a direction, these trends may not apply fully to your own audience. This is why it's important to figure out what YOUR audience wants - not the one who participated in those studies. After all, your audience could be a very special subset that behaves very differently. This can help your ability to detect trends. And only a flexible and adaptable salesman or saleswoman is a good one!


Summary



I want to encourage you to experiment by yourself. Trial and error are one of the best teachers. Then write down your results and share them with the world. Be like a scientist! That alone can drive your engagement into new highs. It does for me ever since I started doing it, and it's been only a couple of days! Imagine what would be in a span of a few months. Exciting!