RayKst's Forum Posts

  • Yeah , that would be well received, though i'm much more excited with Html5/WebGL these days. I'm struggling to even draw a image on screen using raw WebGL but it's lots of fun

    For a exporting to flash there's two good options : Use high level engines like Flixel or Flashpunk. Both have API's fairly compative with Construct one. Mainly Flashpunk.

  • Of course not

    It'll look awesome with Construct logo below

  • Made a more good-looking html for the game canvas. It features auto-positioning of the canvas in center of screen with some jQuery. Could be useful

    <!DOCTYPE html>
    <html>
    <head>
    	<title>New project</title>
        <meta charset="UTF-8" />
    
    	<style type="text/css">
    		canvas { border: 1px solid black; }
    		
    		body
    		{
    			background: #000;
    		}
    
    		#canvasBox
    		{
    			background: #616161;
    			border: 1px solid #8F8F8F;
    			padding: 15px;
    			-moz-border-radius: 10px;
    			-webkit-border-radius: 10px;
    			border-radius: 10px;
    	
    		}
    		
    		#canvasNotSupportedBox
    		{
    			font-family: "arial";
    			font-size: 12px;
    			text-align: center;
    			background: #818181;
    			
    			color: #fff;
    			padding: 1em;
    			
    			
    		}
    		
    	</style>
    
    	<script type="text/javascript" src="jquery-1.4.4.min.js"></script>
    
    	<script type="text/javascript" src="c2runtime.js"></script>
    	
    
        <script type="text/javascript">
    
    		$(document).ready(function ()
            {
    			pinCanvasOnCenter();
    			
                var project = new cr.runtime(document.getElementById("c2canvas"));
    
                project.load();
                project.go();
            });
        </script>
    	
    	<script id="pinCanvasOnCenterScreenScript" type="text/javascript">
    		
    		$(window).load(function(){
    
    			pinCanvasOnCenter();
    
    		});
    
    		$(window).resize(function(){
    			
    			
    			pinCanvasOnCenter();
    
    		});
    
    		$(window).resize();
    
    		function pinCanvasOnCenter()
    		{
    			$('#canvasBox').css({
    				
    				position: 'absolute',
    				left: ($(window).width() - $('#canvasBox').outerWidth()) / 2,
    				top:  ($(window).height() - $('#canvasBox').outerHeight()) / 2
    			
    			});
    		}
    	
    	</script>
    </head> 
     
    <body> 
    	<div id="canvasBox">
    
    		<canvas id="c2canvas" width="640" height="480">
    		
    			<div id="canvasNotSupportedBox">
    				
    				Sorry, your browser doesn't support Canvas!<br/>
    				<br/>
    				Please try with:
    				<a href="http://www.google.com/chrome">Chrome 9+</a> 
    				<a href="http://www.mozilla.com/en-US/firefox/fx/">Firefox 4+</a> 
    				<a href="http://nightly.webkit.org/">Safari 10.6+</a>
    			
    			</div>
    		</div>
    
    	</div>
    </body> 
    </html> 
    
    [/code:y0i4pa0j]
  • A good level editor imo opinion would be : You have at least three tools : Hand, Pencil and Eraser. To handle the tile part a new plugin would be created example : Tilemap, or Spritemap that is derived from sprite, but with the ability to draw only a part of it. You then could select the part from the tilemap and draw with Pencil, erase with Eraser and move with Hand. (erase with right mouse would be good too). This drawing would be snapped to a grid or free. This could be even better if the Pencil and Eraser would serve for drawing Sprites too. So it's a hybrid system , tile based and free positioning based like it is now. It's only a rough idea but could work. And it would not require a complete rewrite of the current system but would be an extension of it

  • Impressive. I already knew of this project, it's from the same creators of Blitzmax and Blitz3D. The IDE is very similar to the Blitzmax IDE. The docs for a first release are already quite good with some interesting examples. Interesting and bold project indeed

  • Man, does HTML5 really need this level of hardware to run at constant 60FPS with lots of sprites and effects ?

  • Benchmark Score: 2269

    Average FPS: 48

    Tests that did not run at 60 : 3 and 5

    Chrome 10.0.648.127

    Damn

  • > SLOW DOWN PLEASE

    >

    Don't listen to him! KEEP GOING I LOVE IT!

    [2]

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Javascript is actually probably the fastest scripting language out there, because it's had the might of Google working to optimise it with the V8 engine and Crankshaft. It literally compiles it to machine code. I've read Google engineers quoting it as comparable to unoptimised C code (as in, maybe two or three times slower than optimised C, rather than ten times slower or worse).

    Python is only interpreted as far as I'm aware, and Lua appears to have a JIT, but I can't see it being so much faster than Google's V8 to be worth switching to. Besides, the plan is for the EXE runtime to all be written in optimised C++ - to make Javascript plugins work in an EXE runtime one of the things we'd have to do is write a full virtual browser emulating the presence of the DOM, window, cookies, URLs, canvas, contexts, Javascript library functions, and so on. That's kind of a ridiculous thing to do for a C++ runtime, especially when C++ extensions would be faster and more compatible anyway.

    So yes, it's a shame that extension developers will probably have to rewrite extensions for other exporters, but that's the way it has to be done.

    So Ash, is there the possibility to write the entire game in Javascript ? Or only parts of it ? One example is Stencyl where you write the game with the event blocks and/or Actionscript code.

  • Voted animations too. The essentials must be handled first.

  • Well better than code , you can always take ideas and inspiration

  • http://code.google.com/p/cakejs/ has nice effects too

  • Impressive engine. I know a lot of other JS engines , but this seems to be one of the most advanced. And is open source. C2 could use some code from it

  • This really isn't going anywhere is it?

    So far just about everything has been about how to take things away rather than how to keep things working, and make a profit.

    What if you could keep everything necessary, open sourced, and free for use, while still supporting indie game devs, something that has become synonymous with the names Scirra, and Construct?

    All while making a profit?

    The answer is literally staring you in the face right now.

    Rather than selling a program outright, which is bound to go into saturation at some point.

    Why not offer a service to the developers?

    As it stands its relatively easy for someone to upload their game and disseminate it for free.

    But when it comes to actually selling that game the options dwindle.

    My thought is, why don't you just make a site that will handle the selling of those games for a profit?

    Sure there are sites that do that now, but most of them are terrible to the dev.

    They will take a huge percent of what is sold, and some even force you to hand over your rights.

    Sure you wouldn't make as much as those sites do, but as people find out about the no bs policy they will come here.

    You could even offer other services, such as selling plugs, resources, etc.

    Think it over, its already happening with other venues, and there's no limit to its potential.

    Couldn't agree more with this.

    Though harder to realize for the devs i think it's best for most of people. Not selling Construct as a product directly but selling services. I don't know if it could work well it Construct , but something like what the Stencyl guys are doing would be great. Well the domain is similar Stencyl is Flash and iOS games , Construct is Html5 for now... And having used both Construct and Stencyl i still prefer Construct , even if Stencyl has some great features. Anyway i hope we'll find the best strategy in the end.

  • Animated sprites would be great too ... But i have the feeling it will take some time