This website is a reproduction of www.hfest.net. It IS NOT affiliated with Motion Twin (the creators of Hammerfest).
You will not be able to play Hammerfest here. More information.
Click on a flag to switch website: 🇫🇷  🇪🇸  🇺🇸
Play
Fridge
Quests
Score
My account
More games
Parrainage
Disconnect
Forum

Forum > Tuber's secrets > thread

Small Discoveries

Pyramid level: 2 476
Saturday 21 Nov 2009 04:24
Take a picture of every item known, put them in the middle of a long invisable line, make the line and item a movieclip, then make the item a MC and give it a random _x. Then set a veriable that is set to the hue, and then set the line and items's _rotation pre-veriable to that.

Then take a screenshot :D



Well... That's how i'd do it in flash. Not sure how he did it.
Pyramid level: 2 476
Saturday 21 Nov 2009 08:41
Arranged the items by color (by hue and, hmm, I think it is called chroma). I didn't use Flash. The item pictures are from the first post of this thread.
Le Panthéon ! 1
Saturday 21 Nov 2009 09:19
How did you find the hue and chroma of each image, and what did you use to arrange them ? I find this intriguing. :)
Pyramid level: 2 476
Saturday 21 Nov 2009 09:45
Wait... There is no such thing as chroma... If anything it's how white the image is...


In flash there's a getHue() function, but gimp can do it if you set the sample size to larger than the image.

(I'm surprised the 2p heart isn't somewhere in the green...)
Pyramid level: 2 476
Saturday 21 Nov 2009 11:18
I used Python, which is a lot of fun to write programs in. :lol:

It has functions for calculating hue and the like. Multiplying saturation and value gives (it is very possible I use the term incorrectly) chroma, which aligns colors from pure ones, through toned down, to the grays.

The item position is averaged by its colors, so the heart is placed where it is because mixing red and blue gives violet.

I got the idea to try it from playing with this nice tool.
Le Panthéon ! 1
Saturday 21 Nov 2009 12:58
WP describes chroma as "the difference from gray at a given hue and lightness," confirming that your usage of the term is correct.

Very interesting. I wasn't aware we had so many coders here ... what great company ! :D On a related note, I recently downloaded Python but haven't used it much, setting it aside in favour of Flash/AS. What advantages does it have ? :wink:
Pyramid level: 2 476
Saturday 21 Nov 2009 18:50
I have never used AS, so I can't really make a comparison, but I do most of my programming in Python and I enjoy it quite a lot. :D

Things I like:

* The syntax is very clean, elegant, expressive, and readable. The language is small, yet powerful. It is not a huge, boring, smelly beast like C++/Java.

* It is a general purpose language - you can use it to write mostly anything. It is high level - you don't have to do micromanagement. It is not jealous - you can easily use it with other languages. It doesn't require fancy tools - you can just use the editor you like and run the program as you write it.

* It has a very nice documentation.

* It has a rich standard library and many useful third-party libraries for various purposes.

* It is very easy to learn.

Things I do not like:

* It has no static type checking, which means that trivial and relatively frequent errors like misspelled variables, which could easily be caught immediately by the interpreter, lurk in the dark to bite my posterior when I least expect it.

* It has some silly inconsistencies, like the standard library seems unable to decide when to use f(x) and when x.f(), or whether various operations should return a value. Not quite as many as some other languages have, but still.


@th155: Ah, I think I understand your question about the heart: You can't meaningfully average hue by treating it as an ordinary number - it is actually an angle.
Le Panthéon ! 1
Sunday 22 Nov 2009 09:06
This is probably widely known, but I've never seen it posted here so I will: 28 does not stop saws.

1117 1124 100
Le Panthéon ! 1
Monday 23 Nov 2009 08:11
After close observation, it is official. About half the time, I don't get any items on 62.0. The qualification for their absence seems to be an fps under 35, although I can't be certain.

When you get 86 , all the enemies, spikes, and razors glow red to show you can eat them. If there are spikes that appear after the onset of the level, which you haven't yet triggered, they will spawn without the red glow ... but you can still eat them. :D

My range of Baddybombs for PD25 (in normal mode) is 11-21. My range for NM was 12-19 until yesterday, when I got 22. I have come to realize that a simple upper and lower boundary will not be ample means of evidence, but I am too lazy to record them scientifically. I can affirm, at least, that the numbers are close enough to be considered identical. The only major difference is that in NM, the Bombs are closer together and therefore the level ends more quickly. (Also that the fireball's entrance is inevitable.)
Pyramid level: 2 476
Tuesday 24 Nov 2009 21:20
I accidentally took the last 0 on 47 a split second before spawning the lemons and I didn't get a point item. Unless I was very unlucky with the timing, this would mean that the item timer doesn't merely check if there are enemies on screen at the moment it fires, but is stopped by killing all enemies, instead.

I also got a second 94 while the first one was already in effect. No special functionality, of course. :lol:
page 46/84
< firstprécédent | 41·42·43·44·45·46·47·48·49·50·51· | nextlast >