ShabbyCat's Recent Forum Activity

  • Don't get wrong I'm not promoting DRM, but commercially it might be an expectation that you can so I just wanted to make sure it's something we could do with Construct 2, that's all.

  • Nah, I've never made a game worth of release so I've never been involved in that side of the house.

  • Ah I love it, good work very nice

  • Hi peeps,

    I was wondering how dose the order of the event blocks in the eventsheet affect Construct2. I noticed that if I put a "Start of layout" at the bottom of the event sheet it still works as expected, my assumption is that the event sheet is evaluated every tick? If I have multiple event sheets how do I tell in what order they will be processed, dose it matter?

    Thanks

  • Hi guys and gals,

    So I've programs previously so I'm familiar with functions, I like the way I can group up code and call it when I need to so I'm not cluttering up my screen. When I code in construct 2 I'm not sure how divide up my code.

    So I started putting all my "A start of layout" at the top, but then I found I had a lot of them so I started dividing the code into entities like sprite1, sprite2, etc.

    So how should I do it? I was thinking of using separate even sheets for each entity and another for the layout. So I;d have all the code effecting each entity under there own event sheet and the all my "start of layout" and generic stuff in my layout event sheet.

    Dose it make sense, is there a better way to organize your code?

    Thanks!

  • I must be going blind in my old age, is there a link to the game?

  • The option to create an EXE in r116 is awesome. I've been playing around with it and as you may know it exports you game into an exe and a few DLL's. So I'm thinking this may give us the opportunity to use some of the exe encryptors and exe packers out there to help protect out assets. I know most of us are creating games for free but I'd at least like to explore this option for those that are interested.

    So if your look at the files created when your export your game, you'll notice the creation date on them are all older then when you exported except for the exe. I checked for evidence of my game code being present and only found it in the exe.

    Assumption: Our game code/assets are located in the exe.

    I tested a few exe protectors, some work some don't an example of one that worked was Themida (the WIN32 version) located at: oreans.com/themida.php

    After encryption I couldn't find any plain text in the exe showing my original code.

    No protection scheme is 100% secure (and probably not free) but they may help to dissuade people from trying to crack your games, also some exe protectors come with the ability to evoke trials or process licence keys for your product. Note I don;t know what kind of performance hit this may have on your game, so the protection options may need to be tweaked, I just used the defaults.

    FYI:

    For those that are interested I've created a crypted version of a game I'm working on as a proof of concept, it located here:

    dl.dropbox.com/u/11384284/starcastle.zip

  • Ah nice thx

  • Oh right, OK thanks I didn't realize that it would run every tick unless I told it to run every tick, but it makes sense otherwise you'd only be able to push left once to go left and never go left again.

    So anything told to run at the start of the layout will just run once?

    And what happens if you need a for loop that terminates when a condition is met mid game?

  • Hi guys and gals,

    I'm having trouble with using a For loop, my for loop never seems to terminate and was hoping someone could show me what I've done wrong.

    I've attached an example. I got it working but it's messy and uses variables to count the index (without loopindex).

    If you disable the first loop and enable the second then you will see what I mean.

    Thanks,

    ShabbyCat

    dl.dropbox.com/u/11384284/ForLoop.capx

  • That worked perfectly thanks!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi guys,

    I was working on a remake of an old classic game called Star Castle. Someone on the forums gave me some great advice on how to make the spinning shields using sprites, filters and rotation behavior. But I can't seem to find where in Construct 2 to mimic the same bahaviour. Here's the Construct game file: dl.dropbox.com/u/11384284/StarCastle.cap

    Any tips or hints would be great,

    Thanks.

    Frank

ShabbyCat's avatar

ShabbyCat

Member since 7 Aug, 2011

None one is following ShabbyCat yet!

Trophy Case

  • 13-Year Club

Progress

13/44
How to earn trophies