So to offset to a positive, you need only add 20000, pushing the top to 40000. So use 100000 as the multiplier: 2,000,000,000 + 40000 = 2,000,040,000 max.
The numbers Magistross and I picked were arbitrary. What are the maximum values you are expecting to get? Scale the constants based on those.
You can offset that too. Add 100000 to the number before storing, and subtract that on restore. As long as no number can be beyond +/- 100000, then it all works out.
Oops.
Develop games in your browser. Powerful, performant & highly capable.
The link to both release and betas is at the bottom of every page. Just scroll down.
I'd say you haven't given your letters enough space on the left, so scaling is picking up bleed from the next letter. Ex: A is picking up the left most pixels of B. o is picking up p. Also some of your other fonts have artifacts right in the source: SpriteFont -> g, p, q.
Have a look at:
No magic - screenshot is the solution.
You should be using Else. Look at event 33 - it sets the frame to 3. But the events keep going, so event 34 runs, and 35 runs - oops - the frame is 3 now, because you just set it to 3, so it runs and now the frame is 4. You need to use Else for this kind of checking to stop any of the other sub events from running and using the new value.
Add a Container to the Missile, and add Exhaust to it. Get rid of the Spawn action (and Exhaust destroy).
Here's a dump of the data.
I don't know what you mean by "3QA".
You'll have to show more. The data is fine. As long as you are indexing from 0 to 3, it works.
round( value * 100 / max)
max is the highest the value can reach. value is the number to test.
Member since 28 May, 2012