# Recent posts by JohnnyBohnny on Kongregate

 It also seems that Adobe is slowly leaving Flash behind, because of HTML5. What worries me though, is that one day, youtube and other video websites will be using html5 for their videos, and not Flash Player. The only reason for someone to install Flash Player then, would be to play games. Is it time for me to leave Flash Player behind as well? That’s pretty cool, do the textures connect automatically? So as long as you find your own hosting, you can put everything on Kongregate? Thanks for bringing it up. I’ll test my games on a black-white monitor from now on. The data will be between 32-64 cubed in size. @Drakim, is this what you mean? It looks promising, thanks for the suggestion. a formula that drops to 0: `f(x) = 1/x` Plot This health bar works fine for someone who is colorblind, right? What is the best way to store the level data of a 3D tile game? Should you make a 3D Array or an array of bitmapDatas, where each color represents a different block? (AS3) Haxe is quite hard to get into, especially if it’s your first language. I suggest AS3 or Stencyl (check the Stencyl forums on Kongregate) I know, but I am looking for a mathematical solution, not an AS-related one. I am creating a 3D engine (without Stage3D, OpenGL, DirectX), to get a better understanding of the way 3D projections work, and 3D calculations. Since AS2 has no 3D support, I’m making it in AS2. My question is, how are 3d vertices transformed into a 2d projection? What I am currently using: then the angle ‘alpha’ is turned into a y coordinate for the projected point V. `yv = a/(fov/2)` The problem with this is that it requires several sin() calculations for every vertice, which is really bad for performance. In modern day games, if the fov is set to 180 for example, the side of the screen will look stretched. Is this a solution to that problem? I don’t know how points are projected in those engines, and I can’t find anything on it. It is impossible to lock your game completely, but you can make it difficult/annoying for hackers. For that reason, I like to put this in my code: ```while(not launched on kong){ trace("my game is sitelocked, play it on kong") //this will be shown on the screen as well trace(sin(cos(sin(cos(sin(cos(random(9999999)))))))) }``` This will crash the user’s browser, or the hackers flash player for 15 seconds. Hackers will get annoyed because everytime they check if they removed the sitelock, they have to restart flash. Users from a site that uses bots to steal games will be less likely to go to this site again, because it crashes their lower-end PC’s. Checking if your game is launched outside kong can be done on several ways, best would be to use all those techniques at the same time, and invest some money in a code obfuscator and a swf encryptor. What I do, is put that code in it, secure the swf with a password (inside Flash CS*), secure the swf with a swf encryption program (which also adds another level of site lock), and then secure it with mochi. You might say it’s overkill, but it really just takes a minute or two to do so. I think that calling the delay(x) function in the Arduino code puts the processor into sleep mode. This is, however, only if you aren’t using any freaky libraries that use timer2 and timer3. As for the pushing/slicing of arrays, you can pretty much forget it. I’m having some trouble with it as well, where I want to add a letter to a string (char array). Having arrays that are too large, i.e., their size increases dynamically, causes libraries to glitch out, or even cause the ATmega to shut down until it is resetted. Copyright is one of the things I dispite the most in this job. I don’t see how rotating something will move it.. It is not `rotation*(180/3.14159)` But `rotation/(180/3.14159)` You are converting degrees (full circle=360) to radians(full circle=2*pi) Multiplayer requires servers, which you have host and code yourself. There are some alternatives, like player.io, but there isn’t an as3 api that simply makes your game multiplayer. Hm, scout didn’t work for me when I just double-clicked the swf, but that might just be my system. You could put it inside a text field Inside an onMouseMove function, place this: `myTextField.text = mouse.x + ", " + mouse.y` Are you using Stencyl or Flash? `trace(thing.x+", "+thing.y)` ? Scout will profile all flash players inside a browser, so just open your swf with chrome. Why is it restricted to 64-bit? Could you just paste the step function code and the steppper layer code here? Someone who is so desperate for an answer that he recorded a video of it and created a kong account is probably not looking for that solution.