megatronx's Forum Posts

  • If I understand your problem correctly, what you need to do is to put them all in to one or couple of families ( depending on what types of objects are they ) and just select those families.

  • It is possible but you got to know quite a bit about construct event system. As it stands there is no behavior that would take care of it. Someone could make a plugin for that if we would ask nicely ^^''

    rexrainbow

    R0J0hound

  • I did rpg system in the past. Once day will do a new one. Atm working on action game with rpg elements.

  • Thanks!

  • Cool

  • Use external files to hold data and load it using ajax. Also could make a level editor and level exporter/importer.

  • megatronx Thanks

    My original story (Intro text scrolling in-game):

    ----------------------

    A distant sector recently colonized is left stranded when the Jump Point to Sol Sector collapsed.

    Stranded, people held on to hope, but as time went on, hope faded. Necessity forced human ingenuity and endeavor to rise up.

    A hundred years have passed, the "Wildlands" sector is flourishing with wealth.

    However, wealth breeds corruption and resentment.

    Two major factions, the Yamada Defense Conglomerate and the United Security Corporation, have laid claims to the sector.

    Amidst the chaos, you are a thriving merchant, trading in all manner of goods.

    Your last haul was a contract for Zenith, the largest corporate entity in the sector. It was meant to be a simple delivery of precious R&D cargo to the New Kyoto system.

    But a massive fleet battle between the Yamada and the USC had the Junction system locked down. You risked a detour through pirate-infested Epsilon. It was a bad choice.

    Your ship was captured, the cargo looted, but (some) luck was smiling and you drifted back to civilized space in a life-capsule. You owe Zenith vast sums as compensation, your life's savings, gone.

    You struck a deal with Zenith, they give you an obsolete trade ship, the Nomad, and you work your way up again to repay the debt.

    ----------------------------------

    Storyline is complex and the player will find out more as the do missions. Eventually they can pick a side to finish the game with two different endings.

    hehe, cool

  • > OK, here's mine.

    >

    >

    Bullet is on screen
    > For each bullet
    > distance(bullet.X,bullet.Y,tile.X,tIle.Y) < 10 - destroy bullet.[/code:nxgp0o3b]
    > 
    > Of course you can replace 10 with any other number that works best for your set up. 
    > 
    > Now I'm not sure if Bullet is on screen & For each bullet are necessary. You will have to test how it works without one or both of them. I'm using For Each often, because otherwise event applies to all instances of same type ( I'm bit confused about this since @Ashley wrote somewhere that it is working like a loop even without a loop, but from my tests it doesn't work that way, and I tend to use for each )
    > 
    > Another option to do is to make condition "Bullet overlapping at offset". if you set X to "-10 & 10" , and Y to "-10 & 10" too, should work ( if not try "-10  | 10"). Let me look at one of my prototypes to remind myself.
    > 
    > EDIT@ Right, forgot that that project files got corrupted due to crash. Oh well.
    > 
    
    Look like a nice improved addition to the problem. I will try to implement this in my example. Thanks!
    
    Edit: Can't use your algorithm. The reason is we do not have access to the tile data. I am using a tilemap.. there no way to know which tile we going to collide.
    

    I see. Didn't know that. But can you check if tile is solid or not?

    EDIT@ You could try using "Compare Tile At" after "Bullet on scree" to check for the tiles you want it to collide with. It might work!

    EDIT2@ Also, maybe you could use 2 tilemaps, where one would be for terrain with collisions, other one for the rest!

  • Yup, Cosmochoria's success is really inspirational! But also at the same time, very humbling.

    I need some honest opinions from other devs and gamers.

    This is my current probject, summed up in one blog post: http://halfgeekstudios.wordpress.com/20 ... ck-glance/

    Have a look and see if you think its worthy of an attempt at Kickstarter, I'd like to spend some extra time and add lots more missions, systems and put in nice "talking heads" for story mission dialog as well as random encounters.

    Also I'd like to remake it with better graphics and higher resolution BGs along with using WebGL special effects for a PC release. So, good potential or its rubbish not worthy of bothering people about?

    I love all of it, but the story needs more mystery.

    [quote:20mun00s]You are a once-wealthy trader, out of luck and in debt due to a calculated risk (and nasty pirates!) that went wrong… Your debtors offered a great deal to wipe clean your debts, but they require you to fly a capable ship before proceeding with the mission. You start out in an obsolete tin-can trade ship, the Nomad.

    How about ( after fixing some grammar errors <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy"> ):

    [quote:20mun00s]You - once-wealthy trader, self confident and with attitude, under unlucky and mysterious set of events, have lost everything you've worked for. Ending up in massive debt, you take any job just to pay it back to rebuild your confidence and your company. And it seams that fortunes are turning for you - your own debtors are willing to give you a new ship and send you out for missions, in exchange for your repaying your debt.

    [quote:20mun00s]Player meets other are other pilots, who used to be traders that went bankrupt, and now are working for the company. But they disappear one by one, and player is being told that they just failed while doing their mission. Then you find out that there are aliens leaving the debt company headquarters. Then the story could make a turn and the player finds out that those debtors are manipulating traders in order to make them their own slaves. And at the end player would find out that the whole debt company is set up by alien traders, that want to monopolize the universe by getting rid of their competitors.

    If you like it, feel free to do whatever you want with it <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy"> I just came up with it on the go.

  • OK, here's mine.

    Bullet is on screen
    For each bullet
    distance(bullet.X,bullet.Y,tile.X,tIle.Y) < 10 - destroy bullet.[/code:2jcwo9il]
    
    Of course you can replace 10 with any other number that works best for your set up. 
    
    Now I'm not sure if Bullet is on screen & For each bullet are necessary. You will have to test how it works without one or both of them. I'm using For Each often, because otherwise event applies to all instances of same type ( I'm bit confused about this since @Ashley wrote somewhere that it is working like a loop even without a loop, but from my tests it doesn't work that way, and I tend to use for each )
    
    Another option to do is to make condition "Bullet overlapping at offset". if you set X to "-10 & 10" , and Y to "-10 & 10" too, should work ( if not try "-10  | 10"). Let me look at one of my prototypes to remind myself.
    
    EDIT@ Right, forgot that that project files got corrupted due to crash. Oh well.
  • Congrats! And thank you - it's inspiring!

  • Yeah, but to make it easier for yourself, try organizing it like this ( this is from my sheet ).

    {
    "c2array":true,
    "size":[11,5,1],
    "data":
    [
    	[	["1 Up"],		[38],[2],[3],[4]				],
    
    	[	["2 Down"],		[40],[2],[3],[4]				],
    
    	[ 	["3 Left"],		[37],[2],[3],[4]				],
    
    	[	["4 Right"],		[39],[2],[3],[4]				],
    
    	[	["5 Jump"],		[70],[2],[3],[4]   				],
    
    	[	["6 Attack1"],		[83],[2],[3],[4]				],
    
    	[	["7 Attack2"],		[65],[100],[3],[4]				],
    
    	[	["8 Block"],		[68],[2],[3],[4]				],
    
    	[	["9 Dodge"],		[68+arrow],[100],[100],[100]	],
    
    	[	["10 Item"],		[87],[2],[3],[4] 				],
    
    	[	["11 Spell"],		[32],[2],[3],[4]				]
    
    ]
    }
    [/code:1oifu70w]
  • And a few months later I'm back after having been completely immersed in Firefox OS and writing umpteen blog posts and a book on it at http://www.amazon.com/dp/B00IZUYIGO. My blog is at http://firefoxosgaming.blogspot.com/. I've come back to Construct 2 to write a series of blog posts about using Construct 2 to make games for the Firefox OS Marketplace!

    Cool

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • "Counter object" - no need for that. To make your example I would just used tiled background with one hart and write an even to set the width of it depending on how many hearts you have. That would take me literally a couple of minutes to do.

    "Path movement" - There is a plugin you can find in the plugin section that does that. U'll need to use search cause i cant remember what was it called.

    I've always choosen "makers" because I never was passionate about learning how to code. If I would decide to learn now, it would take another 3+ years of my life, just like other things I learned.

  • I'm Polish, but I'm living in uk for 8 years already, so I don't have much of a problem anymore. Although I sometimes get stuck with more complex sentences or i get blank for a moment. The biggest issue for me is grasping the English terminology used to explain how things work ( like plugins, math etc ) and i wish it would be explained in simpler fashion. Simultaneously, after all those years abroad I'm having slight problem communicating in Polish and sometimes I use English syntax or I'd be looking for a word that I know in English, but which doesn't have any equivalent in Polish! >.> Also, when I'm visiting my friends in PL, they all will have a laugh when I say a Polish word and accidentally I put on my pseudo-English accent while saying it, which sounds absolutely riddiculous coming from my mouth