PixelRebirth's Forum Posts

  • Having about the same issues with the positioning here. What I currently do as kind of a workaround is displaying the game in a properly sized iframe (set fullscreen to scale). Then the ad is being displayed at the correct position again.

  • Don't use this plugin guys, it may cause problems. C2 supports query strings by default for a while now, so this is obsolete in any case.

  • I think I found this in my archive:

    Comic Book effect

    <img src="smileys/smiley1.gif" border="0" align="middle">

  • You dug up a thread that's almost three years old by now <img src="smileys/smiley9.gif" border="0" align="middle">

    The original example this referred to is still online here:

    old simple catapult example

    Note that this is a CAP file, since you are on the Construct Classic board here. So no Construct 2 capx I'm afraid. Might have been a typo though.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Interesting discussion. Much has been said that was on my mind as well. While I love and prefer the usablity of the event editor in Construct 2, and in fact I'm also using C2 almost exclusively these days, I still do think with a heavy heart of good old CC.

    Its DirectX engine just packed a different punch. Just think of effects and sprite distortion. And in regard of what has been said earlier, about C2 rendering faster than CC - I don't think that's a realistic scenario. Like Ashley said in the previously linked blog article:

    avascript is not faster than C++ - this is not what we have proved. Our Javascript engine does less, which helps explain how with just the right circumstances it can edge ahead of a less efficiently written C++ engine.

    The right circumstances... which in reality comes down to using Chrome on a recent Windows distribution (or export as EXE which is based on Chromium). So all the other exporting options fall short due to mostly severe performance problems, unless you create a really simple game.

    So many exporters are awesome in theory, but in reality many platforms aren't very feasible right now. I don't know if something like haxeNME would be able to improve the situation. Sure sounds intriguing though.

    At the end of the day I do think HTML5 has come far regarding game development, but as a true all platform covering solution it still falls flat on its ass. Nevertheless I hardly use Classic anymore, mainly because I'm not willing to put up with the always pending instability of it all anymore. In that regard working with C2 is a much better experience.

  • Your event setup seems partially redundant, have no time right now to get into it.

    But what I will say is that if you have an action for a sprite after its creation action (within the same event), it will only affect that newly created instance. So if you moved the animation action down to the last event it shows there, you aren't picking all instances anymore, but only the one being created.

    Might check back when I'm at home again to give a better answer, cheers.

  • Hey RenatoB,

    thanks for the compliment. I'm afraid though I pretty much abandoned that blog, although there are frequent requests to continue the tutorial. It's a very big maybe.

    You could try to apply the events of this Construct Classic example to C2, it's what I did at first as well. But to be honest this version feels convoluted to me in many ways. The C2 version just is a lot slicker.

    In any case you might also want to take a look at what rexrainbow did with his own plugins in C2:

    http://www.scirra.com/forum/match-3-in-hex-board_topic57030.html

    Oh and btw, my name isn't Igor :D

    That's just from a game I worked on.

  • There is a match 3 example by rexrainbow, using some of his own great plugins:

    http://www.scirra.com/forum/match-3-in-hex-board_topic57030.html

    I've also done match 3 engines in CC and C2, I didn't release the C2 source though (CC version). However I did start a tutorial, which can be found by clicking here.

    That one is far from complete though, so you might want to go with rexrainbow's example.

  • I'm a little late to this thread, but I thought I'd still point you to my Match 3 tutorial which deals with the creation of the grid:

    Match-3 in Construct 2: part one

    Also yes, the loop of the array goes through all Y coordinates before moving on to the next X, from top to bottom so to speak. Your observation is correct.

  • Looks like you centered the origin point of the health bar sprite. Place the origin to the left edge for this to work correctly.

  • I wouldn't use replace()! replace("100310031003", "1003", "") will result in an empty string, when you just want to remove the first four characters. I'd use right(str, len(str) - 4).

    Indeed, very good point Ashley!

    And how would I do the opposite? Take a string and make it into an integer to replace the value in a variable? With int(x)?

    Yes, the int expression converts to an integer value.

  • You need to learn about system expressions.

    The expression left(text,count) will return the first characters of a string (as specified in "count").

    To remove characters you can use the replace(text,find,rep) expression. With the example you provided it would look like:

    replace("100332444577",left("100332444577",4),"")

    Remember that these expressions need a string to work with. So in case you want to manipulate an integer variable, you'll need to add the str expression to convert it to a string.

    If you had a string with the length of 4, you could pick any part of it with yet another expression: mid(text, index, count)

    As you can see expressions are pretty vital, so do read up on it. :)

  • I second this. For now I will keep using rexrainbow's object for the convenience of being able to name parameters. In my opinion it was a big improvement over Classic's function object mainly for that reason.

  • I appreciate your suggestions, although you might have noticed that this thread is more than one year old and the game already dead in the water for quite some time.

    Regarding 2): If you want more levels, just create them. The level editor is part of the game and can be selected in the main menu.

    Thanks for trying the game still! Eventually it'll make a comeback in a different form some way down the road. In case that happens I'll be sure to remember your constructive remarks.

  • It is really done? Awesome work on this Arsonide! One hell of an incredibly useful plugin that is totally worth the money. Planning on using GWEN to make my level editor so much more comfortable to use.

    I'll be getting the full version as soon as it's in the budget, thank you for this!