Mancini's Forum Posts

  • I'm pretty new at this but since I hate coding and despite of that I picked up something useful from object oriented programming class we had years back...

    And that is... to group functions as entities. I accomplish this by using comments on my C2 events.

    I also use global variable rather excessively since I use them very often to trigger events. I rarely have used local variables, however using local variables for hitpoints on an object was a great idea - since there could be more than one of the same object spawned and they would then have their own hit points.

    So try to organize the events you have into groups that handle a specific function, for example spawning enemies, collision with objects, user input, game victory/lose conditions and so forth.

    Also... if you ever duplicate your layout and want those objects to act differently than on the previous or other layouts... rename those objects so that if you modify their behaviour they won't get broken in the layout that it was copied from.

  • vagaev .. thanks for this tutorial, I have bookmarked it now - this is way clearer than the official tutorial regarding the layout and window sizes.

  • What do you mean by that?

    If you mean this:

    Create a global variable named 'score'

    Create a spawn box (sprite) named 'spawnbox'

    System event - action: add to variable 'score' 1.

    System event - compare variable - equals or more => 500 - action: spawnbox - spawn another object at Layer (game layer) at imagepoint 0/1/2(?)

    Hope that helps...

  • YEs, let us know if that was it. Atleast that's how I figured out my similar issue a while back.

  • Joannak -- That is true... GIMP works almost as well as Photoshop once you get into it, minor inconsistencies and stuff that Adobe has ironed out are present in GIMP. Also Inkscape should be a viable option for Illustrator... And there's tons of tuts for both of those.

  • This right here is what I have been wondering for awhile now... I'm on the verge of having to come back in a few months to see if the ads thing is already implemented... so far I feel cheated of my license money because I was in the impression that the monetization was there - since the free version didn't include it, at least per the sales page in store.

    I guess I have to tinker with Unity for the time being and see if I can make some of my ideas true there (including monetization)...

    And by the way... the canvas scaling thing should also be a priority, I can't tell enough how retarded it is that you develop and test on your pc with the reso settings set for the phone screen width... and then when you test it on the phone (with cocoonjslauncher) the window size doesn't stick but shows too much...

    Also the performance is very poor, literally is more than 7 sprites on screen... laaaaag! WTF? And the sounds were just screwed up... enough for now...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • PS: I have to wonder though how are you able to purchase those programs? Not wanting to sound mean, but I remember your earlier texts concerning Construct price and the 100usd Dev-lisense fee from Apple etc.

    That was uncalled for... tsk tsk...

    To the OP - I tried to get into Illustrator for the sake of the obvious scalability of the graphics... however I haven't had enough time to get into it enough. So I've used Photoshop mostly since I know how it works.

    Just as the others said, whatever comes most natural to you is the tool that you use.

    If you end up using Photoshop, keep it super simple (at least at first) and try to use Layers as much as possible. Separate elements so you can tinker on them individually. Makes it all a lot easier.

    And also... Construct doesn't really display the PNGs as they show on Photoshop.. I'm not sure if the problem is on which end but some edges get drawn super weird so I've resulted to use the blending effect 'Stroke' a bit on the heavy side to counter the edge issue.

  • This one is easy (maybe)... Instead of activating on touch, set the action to activate after the touch is over -> touch end.

    On any touch end -> player - spawn 'bullet' ...

  • I agree totally with Slicksz.... this should be obviously one of the biggest things to be implemented into Construct 2 - I've been slaving away making a game and even bought the license... only to discover that 'monetization' is somehow forgotten...

    Please fix this or create a comprehensive (for idiots) guide to Construct 2 monetization (most namely the banner ads etc. via Admob or other).

  • Thanks guys for your support - in the end I just had to get my elbows greased and do it all manually - it was bothersome and required bunch of tweaking but I got it done.

    I would suggest for the devs to include some functionality into this as I'm sure there are others who might misinterpret this whole thing with the multiple event sheets and duplicated layouts...

    And ALSO - check this out! -> I totally forgot this in my description - duplicating a sprite (or any other object) is done via Clone Object type -command. So here I think I got the idea that duplicating a layout was actually cloning it. Maybe it would worthwhile to implement a Clone Template -function to avoid confusion.

    For example if there are multiple types of enemies it would be really cumbersome/laborous to clone them all by hand to insert some other functionality to them in another event sheet for a different purpose. Make sense?

    Anyways, I did the labor and got it to work.

  • Hi guys,

    I'm hitting my head to the wall here. I finally managed to get passed all the annoying dumb sh!t that C2 does without telling why it does it and have finished a game (of sorts). So I was creating my Start Screen for the game... it's a funny thing how this software works.

    I checked from the project settings and layout settings and C2 clearly indicates that I can choose to run separate event sheets for separate layouts. It indicates directly that I can choose which event sheet to use with a layout. It nowhere states that this is not so.

    Here's what REALLY happened:

    1. I created my little game on Layout 1 and Event Sheet 1

    2. I created a start screen via duplicating the Layout 1 ( is now Layout 2)

    3. I created a new Event Sheet (2)

    4. I started changing how my little game objects function in Layout 2 (I wanted to use my existing thingys to create the Start Screen) by changing behaviours

    5. I copied some events from Event Sheet 1 (game) to Event Sheet 2 (start screen)

    6. I get my Start Screen to work as I wish with all the bells and whistles, so my game seems to be ready (somewhat ready)

    (I checked that my layouts have their respective event sheets chosen in the Layout Settings - I have no event sheet includes between them)

    7. I launch the game and on the Start Screen I click the appropriate button (which works) and my game layout (Layout 1) is launched.

    8. The game is ruined - everything is shot to sh!t !!! The behaviours I made to Layout 2 (Start Screen layout) and the Event Sheet 2 events are manifest in the GAME PORTION OF THE DILLY DANG!!!!! WHAT THE H*LL!?!?!

    So I'm kinda pissed about this - please tell me there is a way to actually use separate event sheets... or pull out the function from the UI.

    And also... if you tell me that when duplicating a layout, this is what happens, then I'll just have to say that this C2 software is done half-a$$ed - there should at least be a warning or a function that created DUPLICATES as the function name alludes to.

    ps. I'm super pissed.... in case you didn't notice....