New to C2, some general questions

Discussion and feedback on Construct 2

Post » Sun Jun 16, 2013 1:01 am

Greetings. My name is Matt. I'm an artist who has recently taken a lot of interest in game development.

I've been using another such program, Stencyl, for the past 8 months, learning it, getting pretty good at it. I'm generally not very good with programming concepts and math and so on, but through persistence I've been able to accomplish a lot.

I have some concerns, though, and I was curious about how C2 compared.

I'd like to show you a demo for a game I've been working on in Stencyl, and then state my concerns and pose some questions about C2. This is a metroid-style game, where you explore a large world.

It's highly unfinished, and note I've added artificial roadblocks to keep you guys from getting too far into the map. It's just not ready to all be seen yet.

You'll have to copy/paste this link, it won't let me set up a hyperlink:

http://www.ghostsonggame.com/playghostsong768hx_alt2.html

Z jumps (hold for higher jump), X shoots cannon (hold for charge up), C executes a dash (hold for longer dash). Note you can dash through bullets/enemies to avoid harm.

In addition, you can hit space to switch to alternate fire mode and try different weapons (cycle them with F).

(To find enemies quickest, go down the shaft and take the first left. The game structure is not really in place yet so you start with some powers and can't die.)

Concerns with my game in Stencyl:

- Performance. I do things to accomplish the look and feel I want that also have the result of making the game run worse on some computers. Namely, the use of many "actors" (what stencyl calls individual objects that can be given behavior) to simulate sparks and motes and debris and various other things, and my use of actors as environment dress up pieces. The most intuitive way I've figured out to design environments is to use Stencyl's tileset functionality (simple grid based tiles) to put the structure in, then place many individual objects (chunks of rocks, plants, whatever) to make it look how I want it to look. I can do this while maintaining good performance on some computers, but have found that the game runs poorly on other computers.

I have a great desire to dress up my environments in an intuitive way without thinking mainly (or at all) in terms of grid based tilesets.

I also have a great desire to make my game flashier by using many effects, which, as I've learned, is difficult in Stencyl and generally limited to finding clever ways to simulate real particle effects systems, which can be limiting and drain performance more than it ought to.

So, if you've read what my goals are and what types of things I want to do, and looked at my demo, do you think C2 may be worth learning? And if anyone here is experienced with both programs, how does C2 compare in terms of ease of use? twotimingpete2013-06-16 01:21:06
B
4
Posts: 13
Reputation: 276

Post » Sun Jun 16, 2013 1:43 am

Hey there Matt, welcome to the forums!

What platform do you wish to have your game on? If you want it for HTML5 on computers (NOT mobile), then I personally find that the performance of Construct 2 is VERY good. I have many effects going on in my game to make it look great and feel atmospheric, and the game runs smooth as butter. Old computers that lack decent graphics cards will usually run poorly, but that's to be expected, since they have bad graphics cards :P.
Check this out, it's a comparison from the original "Construct Classic" and Construct 2 (That used DirectX rather than HTML5, so logically it should have better performance results than Construct 2, but Construct 2 is better in the tests):
https://www.scirra.com/blog/102/html5-games-faster-than-native

IF you want to aim for mobile, you may have a bit more of a hard time keeping the performance to a brilliant level if you want to have a high amount of detail and effects.
There's a blog post from Scirra explaining stuff mobile-related here:
https://www.scirra.com/blog/112/remember-not-to-waste-your-memory

The concept of having tiles, then decorating the tiles with more objects to make everything look unique is common practise, and in the above link to the blog post, it is explained that the game Rayman Origins uses this method, which is interesting to know :P

For sparks and debris and stuff, there's a built-in Particle object that is very simple to use, or you can happily make your own particle system with events :P

Hope I helped in some way!
B
51
S
20
G
10
Posts: 571
Reputation: 9,819

Post » Sun Jun 16, 2013 1:47 am

Thanks for the reply. I find that in my experiments, the .SWF's that stencyl produces (at least in terms of the games I make) perform better or worse almost completely based upon what CPU the user's computer has. Graphics card seems to matter little or not at all.

I take it HTML5 does not work this way?

(Stencyl can export to various platforms, including HTML5 and standalone, but in my tests, my game has issues with exporting to those things as it stands right now.)

And to answer your question, I'm interested in making games for the computer, be it in a browser window or stand alone.twotimingpete2013-06-16 01:48:38
B
4
Posts: 13
Reputation: 276

Post » Sun Jun 16, 2013 2:01 am

Yeah .SWF is terrible these days lol, only good for animation in my opinion :P

HTML5, however, DOES utilise the graphics card :). Construct 2 supports "WebGL", which allows you to use all sorts of shaders to give effects to images in your game, like colouring, blurs, distortion. In my experiences, I've literally only had bad performance when I have done bad programming in the events of my game. I've never had bad performance from too many effects or images as of yet :D

Oh, and, Construct 2 can export to Standalone EXE too, as well as standalone for Linux and MacOS. I find that performance as an EXE is even better than when running in Chrome (Chrome is recommended when it comes to running in browsers btw)
B
51
S
20
G
10
Posts: 571
Reputation: 9,819

Post » Sun Jun 16, 2013 2:44 am

can you use blending modes in C2? like setting an object or layer (not sure how the software works yet, haven't tried it) to, say, "overlay" and then that object or layer will blend with things under it?

I rely on this a lot for how I've set up the visuals of my game.
B
4
Posts: 13
Reputation: 276

Post » Sun Jun 16, 2013 11:16 am

Yes there is a default "Blend mode" property in most of the visual objects (at least the sprite) which allows you to do such blending right out of the bat, it works in canvas2D (the base rendering of HTML5, "lower level" than webGL).

Have a quick read through the several articles linked in the manual article, they should give you a good overview of what HTML5 is and what C2 can do on the visual level and don't hesitate to also have a play through the arcade to see what some other users might have come up with, some of the top ranked games should satisfy you.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
296
S
119
G
96
Posts: 7,332
Reputation: 71,306

Post » Sun Jun 16, 2013 10:17 pm

Construct 2 has over 70 WebGL shader effects. One of them is "overlay", and there's lots more, like "screen", "multiply" etc.
Scirra Founder
B
403
S
238
G
89
Posts: 24,653
Reputation: 196,143

Post » Mon Jun 17, 2013 4:01 am

If your game is ok on most computers, but takes a hit on a few. Then it's likely not the game engine at all, but a hardware bottle neck.

I would suggest creating a graphical verticle slice of just one room, no game play, that only consists of the graphics with all the bells and whistles. Do that for Stencyl and C2, then run it on a variety of computers.

I suspect both will take a a hit, but you never know and you can find out which has better performance.
B
92
S
18
G
9
Posts: 2,455
Reputation: 15,113


Return to Construct 2 General

Who is online

Users browsing this forum: FaberCastell and 7 guests