retro-bruno's Forum Posts

  • Thanks a lot A0Nasser

  • Hi,

    I'm searching for the ripped characters sprites of "Barbarian I" and/or "Barbarian II" from Palace software.

    It's not important if they are from an old computer or another, because i will take them as a base to draw my own Sprites parts and animate them with "Spriter".

    If someone have a good link...

    I've found nothing for now.

  • Hi all,

    I'm developping a game called MecaBoB.

    It's inspired from an old Amiga unknown game.

    You mission : destroy all the alien's machines in each level.

    You can play with arrow/control or supported joypad.

    Here is a screenshot of the first level. (The only done for now)

    And this is a link you can play this level.

    http://www.retro-bruno.com/html5/MecaBoB/MecaBoB.html

    Can you tell me when "BoB" ; the heroe ; bounce on the walls, if it's not strange ?

    Also, there is an enemy that uses pathfinding.

    When he hit something, he stop, rotate of 180°, and sfx/fx.

    Do you think it's movement is good ?

    EDIT:

    You'll need a computer with a webgl browser.

    With Safari + OS X Lion, the musics make crash the game.

    In Chrome, the musics don't start at the beginning of the game.

  • I answer to myself :

    For Internet Explorer and Safari mobile sound to work, you need a special .htaccess file.

    I've found this in this forum.

    Also, you'll need to clear the safari cache.

    Now, my sound works.

  • kelney, i'm sorry, i think i don't help you by this way.

    This is some rules you need to know :

    1) To progress, you must practice. The more you practice, the more you progress.

    2) To progress quickly, you must be methodic, with your logic.

    3) To progress well, you must know your subject.

    Example:

    1) You want to program an existing type of game ? Learn perfectly the rules. As this, you know your subject.

    2) Use your logic to plan how to program the game.

    • At first, create prototypes with only the medias you need to see if your ideas are functional.
    • When you see it works, you can create your game.
    • Don't forget to make clean programs, ordered, and with a lot of useful comments.

    3) If you miss, never forget you can retry, and by retrying you give yourself more chances to win.

    I hope i'm useful.

    If you have any questions about the game, you can post it here, i'm here.

    But i prefer you to try first to do your best, and then i can help you.

    Ah, i forget something important, we will have to be patients.

    This is the quality all people must have to succeed in life.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It's Done. I hope there is no bugs...

    http://www.retro-bruno.com/downloads/Poker2.capx

    Ok, i understand what kind of poker you talk about.

    I will see tomorrow what i can do.

  • When i've time, i will create an example with two players.

    For now, i explain to you.

    You just have to add 5 cards for each player first.

    In each card, there is an instance variable called "CardNumber" (1,2,3,4 & 5 for the first player).

    Create for example 5 more cards, and change the "CardNumber" vars for these to 6,7,8,9,10.

    Duplicate some parts of the block of events and paste it after.

    (You'll have to create an A.I for the other players)

    Change the reference to the 1,2,3,4,5 cards to access the 6,7,8,9,10 cards.

    Duplicate vars and arrays you need for each player and edit the events.

    Once you've done that, you have to replace the events that show what you have in your hand by a comparison, as explained before.

    There is a variable, at the end, which contain the value of what you have. (TWO PAIRS, THREE OF A KIND, etc...)

    Juste compare this var to the same var duplicated for each player, and you'll know who win.

    In case of equality, you'll have to compare the sorted hands arrays.

    I don't understand why you talk about 2 additional cards for each players.

    Do you mean that only two cards can be replaced ?

    Because i don't know a poker game with 7 cards in a hand.

    Can you explain further.

  • kelney

    Right, this is done.

    http://www.retro-bruno.com/downloads/Poker.capx

    I've changed a lot of things...

    I'm programming like a cro magnon... lol

    EDIT:

    New version optimized, same link.

    EDIT2:

    Added some functions, you can really play now. <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":-)" title="Smile">

  • I'm not shure i understand but if the firing team is ennemies guided by A.I, you can set them in a family, an perform a collision event.

    The conditions in the Event Sheet must be something like :

    If Player Overlaping EnemyFamily
    OnTapObject EnemyFamily
        Start EnemyFamilyAnimation[/code:uz5pqsq5]
  • Today and tomorrow, i have not the time, but if you can wait theese two days, i'll take a look at the capx file.

  • I answer to myself :

    Some GPU are not compatible with webgl for now.

    Chrome blacklist theese tablets, and switch to canvas2d.

    We can disable the blacklist in chrome ( chrome://flags ), but it don't works on my Acer Iconia B1-710.

  • Thanks a lot...

  • Hi,

    It could be useful to make appear an instance of object behind all the instances of an other object type.

  • Hi,

    Can you tell more about your problem ?

    What kind of TestHit is it ? CollisionHit or HitScreen ?

  • Hi,

    I think you should change the layer/z-order of the sprite in the events.

    EDIT:

    I'm not shure you can do what i said... sorry.

    May be you can create a hidden instance of your object in your layout, or place it out of the layout, and then choose it's z-order.

    And on click, you've just to show and place your object.