Today I started coding the basic movement of the player. Actually it was really coding it was more just doing some math. If you click somewhere on the field, it will substract the clicks coordinates and the player coordinates. By dividing the y and x-values from that I get the slope of the movement. Then I calculate the angle with Arctan, and finally I get x-coordinate for a corresponding unit cirle with cos. The reason for doing it in this fashion is that the speed of the player will always be the same. When using the unit circle values, the speed is always exactly 1. Then I can just multiply something to that later on :)
TL;DR you can move around
søndag den 28. august 2011
mandag den 22. august 2011
Phase 1 - the idea
Wizard wars is an upcoming android app, currently under development. The concept is rather simple, yet it leaves me with many impossibles for the final outcome. Basically you have a battlefield split in two, where each player roams on his respective side. The player will be controlling the wizard by tabbing on the screen where the wizard should move. While keeping your own wizard safe you must try to throw spells at the opponent, thus pushing them into the lava pit eventually killing them. Since it is possible to add a lot of different spells each game will be unique in some way.
Concept mashup:
Next step: implement wizards as moving sprites...
Concept mashup:
Next step: implement wizards as moving sprites...
Abonner på:
Opslag (Atom)
