Uniqui22's Forum Posts

  • 6 posts
  • Hello & thank you for finding some time for reading my question. It has probably been done & there is something written about it somewhere, or perhaps there might be a tutorial, but frankly I did not find any.

    • I would like to generate a map with 32x32 ( 1024 ) rooms in it
    • Each room would be blacked out until I the player would enter inside, then it would be visible
    • Each room would would be different, the game would pick up something from a random set of pregenerated rooms.
    • The rooms would shuffle every 1 minute for an example, whilst keeping the room with a player present in it in the same position.
    • There would be one room that will be marked as exit, when player manages to reach that room, player wins.
    • Each room would have 4 exits, if the player would try to exit to a room that is on the edge of the map, there would be a chance to bring the player to another random room, room exactly the opposite of the current room or let player die.

    I cannot offer you money, I am stuck ill in a bed for last 5 months, but if you know how to do those things & got some time to spare, it would be brilliant if you could help me out a little more & perhaps jump on Skype with me ( unique-22, Cologne) & if that is too much to ask, then at least leave a reply here.

  • Hello & thanx a lot for checking my "How do I... ? "

    I got bunch of videos & I would like to convert them to sprites or sprite sheets. It is basically some planets / meteors / comets & so on. I have done this few years back in After Effects, however all I got left are the videos themselves, no more project files.

    Now, most of the videos got pure black background, frankly not transparent.

    A) I assume that I must convert the black to transparent

    B) How can I convert the vids sprite sheets or eventually use those vids as animations in my game ?

    Thanx.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi. I want to do following:

    If player collides with an object, than the game should compare their size ( not just by height / width, but by the pixel count of anything that is not transparent )

    Example:

    Player is a square 10x10 pixels

    Player collides with an object that is 9x9 pixels > player grows up by 10% of the size of the object.

    Player collides with an object that is 10x11 pixels, player shrinks by 10% of the size of that object.

    Player collides with an object that is 10x11 pixels, but 70% of the object is transparent, so player grows up by 10% of the size of that object.

    So is there a way to get the actual size of the object and compare the values ?

    I m sorry for reposting the same, but I have been trying to figure it out for last 3 days & I still dont know how to do it. It is really getting frustrating

    Someone has suggested me the Canvas plugin, but I have no idea how to do what I am trying to do there.

  • Hi, someone has suggested me this plugin for doing what I am trying to do:

    I want to create a pixel count in an sprite ( or eventually canvas )

    IE:

    Player collides with Object > Is player bigger than the object ( has it more mass ) > Player gets bigger by amoount equal to 10% mass of the object that it has collided with.

    And other way around, player shrinks if he hits something bigger than him.

  • Thanx for a hint.

    Could you please be little more descriptive about "a way of calculating the actual number of pixels", I am poking around,but I cant find the way :/

  • Hello guys, I am totally new to programming its self, however I understand it fairly well, however I got some issues with finding certain ways / expressions to what I want to achieve. Hopefully I will get some help here.

    So, what I want to do:

    A) If player collides with another object, it should check wether the player is bigger or smaller than that object ( in actual pixel count )

    B) If the player is bigger than the object, than the player should change size by 10% of the object size that it has collided with.

    C) If the player is smaller that the object, than the player should decrease in size by 10% of the object size that it has collided with.

    * The thing is, that my player will collide with lots of different shapes, and I really do not want to take just width / height in the account, I would like to take in the account the actual size of the object, I think that something like pixel counting ( after eliminating transparency ) would be best solution, if at all possible.

    Thank you very much & please accept my apologies for my rather bad English.

  • 6 posts