DolyGamesCosmos's Forum Posts

  • > Hi, an additional tip, you can/should separate your player from its graphics, so you can have the actual player which is an invisible sprite doing all the things/behaviors you need and pinned on it (+ container) are the graphics sprites (can be multiple) which can do different things than the player invisible object.

    >

    > Best of luck,

    > COSMOS

    Ooh that sounds complicated! Is there any tutorial on it?

    probably somewhere it exists, but it really is not complicated, here a simple example:

    say you have a running character for a platform game, so 1st you create an invisible rectangular sprite which is the PLAYER which will have the running / platform behavior and anything else that you need to happen to it such as LIFE, collisions, etc.

    since is it a simple square/rectangle you will never have collision problems and everything will be clean

    Now to see the player you have the running animation in a separate sprite called say PLAYER_Graphics with only PIN behavior maximum. This only exists to show the player and also allows you to switch him with another player graphic as many times as you want super easily since you are not touching the "real" PLAYER

    To stick the graphics on top of the PLAYER you have 2 easy options:

    1) At start of layout PIN behavior on PLAYER both position and angle

    or 2) Every tick, set position to PLAYER.X PLAYER.Y

    That way your PLAYER is separate from the graphics and allows you to both have cleaner collisions / movement while also allowing you to change graphics any time you wish.

    Hope that helps,

    Cheers,

    COSMOS

  • Hi, an additional tip, you can/should separate your player from its graphics, so you can have the actual player which is an invisible sprite doing all the things/behaviors you need and pinned on it (+ container) are the graphics sprites (can be multiple) which can do different things than the player invisible object.

    Best of luck,

    COSMOS

  • if this is your first game ever that's amazing! :)

    my first game was much simpler :P

    congrats and I am sure you will improve a lot more if this was your first!

    Cheers,

    COSMOS

  • im on my desktop, just rechecked its bigger now

    Hi Xicx,

    Thank you so much for confirming, I was scared that something is wrong. I am self-taught so I know I can make mistakes even though I try my best not to make them :)

    Thanks again,

    COSMOS

  • don't know if you knw this but the game appears very tiny , is there a way to enlargen it or play full screen?

    Hi Xicx,

    I didn't know that! When I open on my computer it is quite large like on this screenshot: prntscr.com/om133v

    (and I also tested on my tablet and mobile)

    Could you please tell me what browser or device or size you used when it opened tiny for you? I definitely want to fix that so that everyone can enjoy - I hope you will reply,

    Thank you in advance!

    COSMOS

  • Hi everyone! I design games which everyone can play for free on my gaming portal (DolyGames). This this is one of my created games.

    Game description:

    COSMOS’s Guide Zen Bubbles is a very pleasant, peaceful, relaxing game, good for stress release or just zenning out.

    Where to play:

    https://dolygames.com/guide-zen-bubbles/

    Some Game pictures:

    (Insert image not working)

    here are 2 screenshots:

    https://dolygames.com/wp-content/uploads/2019/05/COSMOSs-Guide-Zen-Bubbles-v2-2.jpg[/img]

    https://dolygames.com/wp-content/uploads/2019/05/COSMOSs-Guide-Zen-Bubbles-v2-4.jpg[/img]

    I am happy to receive feedback, suggestions, ideas and/or support.

    Thanks in advance,

    COSMOS

    REFERENCE:

    - Other games created by me: Category: GAMES by COSMOS: https://dolygames.com/games-cosmos-play-free/

    - My free-to-play gaming portal: https://dolygames.com/

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi, you can perhaps do it another simple way:

    Add a Global Variable like #ofMoves

    When you roll a dice add the result to #ofMoves

    Now, I assume your board tiles are at exact same distances from one another:

    Then you simply tell your player to move #ofMoves times on the board.

    If you need to change angle you can setup an extra invisible sprite on your tiles whereby when the player comes to the tile it determines which is the angle for the next move.

    Best of luck,

    COSMOS

  • Hi, easy fix :)

    Need 2 things:

    1) Give an instance variable (Health) to your enemies and add an event saying that every time they are hit remove 1 health.

    Then another event saying when their health is equal or less than zero you initiate your death process / destroy.

    2) When you are shooting them add an extra condition to pick the enemy instance on top so if you have multiple enemy instances on top of one another 1 bullet will not do damage to all but instead only to one (the one on top).

    Best of luck,

    COSMOS

  • Hi everyone! I design games which everyone can play for free on my gaming portal (DolyGames). This this is one of my created games.

    Game description:

    COSMOS's Particle War is a free-to-play strategy game. Blue particles battle the red for dominance.

    Where to play:

    https://dolygames.com/particle-war/

    Some Game pictures:

    I am happy to receive feedback, suggestions, ideas and/or support.

    Thanks in advance,

    COSMOS

    REFERENCE:

    - Other games created by me: Category: GAMES by COSMOS: https://dolygames.com/games-cosmos-play-free/

    - My free-to-play gaming portal: https://dolygames.com/

  • Hi, I have an idea to make a simple math game to both have fun and improve math skills.

    The monsters will be attacking the player with, for example, 2+3 above their head instead of a health bar and to kill them you have to give the answer, 5 in this case.

    So you would have multiple monsters with multiple equations coming at the player and the player has to either type or click the answers to fight.

    My question(s): How could I implement that?

    Many thanks

  • Fun game! tried a bunch of different strategies to see if I could survive the boss... can he beaten?

    my best score was 1066.

    you need a restart button!

    Thanks for playing my game :)

    You are 100% right i need that restart - I made a mistake and built it without it and it became so complex that when i tried to add a restart i ended up with a bunch of bugs. I need to figure out how to reset everything correctly, which I will definitely do in a following update.

    The boss does have a certain amount of life but I have not managed to beat him myself either :) I originally made the game very difficult (version 1) but after some players thought it was too hard i made various battles easier in version 2 but I did not change the boss.

    When I make the 3rd version update I will put that challenge in front of me to fix on top of making improvements.

    Thanks again,

    COSMOS

  • Hi everyone! I design games which everyone can play for free on my gaming portal (DolyGames). This this is one of my created games.

    Game description:

    COSMOS's Starship Shooter is a fun free-to-play space shooter where you control a multiple-turret space ship and try to survive the enemy waves and boss.

    (Click/tap to move. Tip: buy shield regeneration soon via the UPGRADE button)

    Where to play:

    https://dolygames.com/starship-shooter/

    Some Game pictures:

    I am happy to receive feedback, suggestions, ideas and/or support.

    Thanks in advance,

    COSMOS

    REFERENCE:

    - Other games created by me: Category: GAMES by COSMOS: https://dolygames.com/games-cosmos-play-free/

    - My free-to-play gaming portal: https://dolygames.com/

  • Hi everyone! I design games which everyone can play for free on my gaming portal (DolyGames). This this is one of my created games.

    Game description:

    COSMOS's Crystal Wars is a strategy game with 2 armies of monsters fighting against one another through 5 paths & unit strengths / weaknesses.

    Where to play:

    https://dolygames.com/crystal-wars/

    Some Game pictures:

    I am happy to receive feedback, suggestions, ideas and/or support.

    Thanks in advance,

    COSMOS

    REFERENCE:

    - Other games created by me: Category: GAMES by COSMOS: https://dolygames.com/games-cosmos-play-free/

    - My free-to-play gaming portal: https://dolygames.com/

  • Hey buddy, as dop2000 mentioned the question is not clear but here are soem pin behavior tips which might help:

    - you could also put the object into a container of the parent so they are connected

    - you could say at the START OF LAYOUT set position of your PIN object at the coordinates of the parent and only AFTER that tell it to PIN to the object. You can do this not as a value but using the name of the object such as PARENT.X and PARENT.Y

    - if you have a layer order problem when you mentioned about visibility you may need to adjust the Z order as well so AFTER pinning you could add another directive to change the Z order such as moving it to the top of the layer

    Hope that helps,

    COSMOS

  • brunopalermo

    OK thx

    dop2000

    the problem with 3rd party things is not if they work or not but if they will work after 1 year, 2 years or even 10 years

    so if you are publishing your games let's say on your website you want to be sure they work always and not that you wake up after X months or X years and get a thousand of error emails and discover that your whole website is useless

    ---

    i'm just disappointed that such a critical game feature has no easy way of implementing without technical knowledge

    i wish there was a module in C2 that you could add to have this which could simple be an additional file/database in your published game folder