Dado's Forum Posts

  • > I think we can make it jump in a curve by set the player position while jump and fall like this example

    >

    > dl.dropbox.com/u/52040403/bullet%20with%20platform2.capx

    If you still need some help, could you please explain in a bit more detail how you'd like him to jump?

    Also, if you're using platform behaviour, you can use "Simulate platform pressing right" instead of bullet as well. If you want to. <img src="smileys/smiley1.gif" border="0" align="middle" />

    I was just going to write that we could use "System -> Every pick -> Simulate platform pressing right" and delete bullet behavior.

    However it seems to give the sensation of acceleration even with this, depending on scroll-to behaviour i think.

  • Your sample it's cool but it seems to accelerate during jumping...

    That's due to the bullet behavior plus scroll-to behavior. Infact if you jump when the layout is not scrolling it does not accelerate.

    I set also position of background during jumping and falling( TiledBackground set position (TiledBackground.X+4, TiledBackground.Y) and it solves the acceleration sensation.

    The problem is that when your reach the end point of layout (and your player is facing to the wall), during jumping tbe layout can still traslate outside window xD.

    I'll try to find a solution! <img src="smileys/smiley36.gif" border="0" align="middle" />

  • I think you can modify my last sample (which doesn't use the bullet behavior for moving forward but scroll-left the background to give the movement sensation), substitute 8direction(up-down) with a total 8direction and add platform behavior for jump and sit.

    I'll try this evening on this solution.

    If u can try before and have the solution uploading it here will be very appreciate. ^^

  • As a stop-gap thing, would it be possible to simply have an entry somewhere in the project properties to set a custom logo.png?

    Just saving the process of overwriting the logo.png file every time when exporting would be very much appreciated. :)

    <img src="smileys/smiley32.gif" border="0" align="middle" /> Overwrite every time logo.png and index.html is really time-wasting <img src="smileys/smiley36.gif" border="0" align="middle" />

  • You can use Joomla!.

    It has wrapper module for html pages (i.e. create a page in which you can past html). It's free. It has free templates. It has a lot of free plug-ins.

    I think you should read something about CMSs (as Joomla or WordPress) before using one of them.

  • Nimtrix solution seems to work.

    I tried a solution with car behavior that works but you could not associate it with a bullet movement to "move" the background as Nimtrix do. And the movement seems to be "not real".

    Here the sample

    I work to another solution based on samples i found on forum.

    That's the result.

    I think is the best solution: infinite background scrolling with two images (with Nimtrix solution you have to put a very long background) - no bullet behavior - 8direction(up-down) on object to move - the movement seems to be more "real". Hope you enjoy it.

    (Use up - down arrows to move)

    Here the second sample

  • Let me know if it fits that i would like to use the same behaviour. Thanks!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Maybe you can use a Custom Movement

    I'll try to do it for my game too. If i succeed i'll post you an example.

  • This seems interesting.

    Cassiano: could you provide us a working .capx? Thank you!

  • Yep. Select object. Right Click. Edit Animations. Select the desired animation in the view. Right Click. Delete.

  • Yep.

    Just use two layout and two related sheet.

    The first is the game, which sheet istances the object or not, checking a global var value

    (system -> global var = 0 : object -> set visible or set position)

    (system -> global var = 1: object -> set invisible or destroy or set postion(xOutsideLayout,yOutsideLayout).

    The second is the inventory, which set the global var to 1 if you want to set the object visible or to 0 if you want to set the object invisible.

    It works as the capx i post to you. Download it and modify it as you prefer (touch inputs for example).

  • I don't understand what do you need... try to explain it better.

    So anyone can help you ^^

    However the capx i posted is quite simple.

    Look at the InventorySheet.

    It just set a global var on mouse events:

    • to 1 if the object it's selected (with left click) in inventory layout. (It also change the animation to "Selected" to show the sprite orange)
    • to 0 if the object it's not selected (with right click) in invetory layout. (It also change the object animation to "Default" to show the sprite green)

    On start of game layout, gameSheet checks the global var: if it's 0 it destroy the sprite, else it just modify it's position to what you want.

    Going back to invetory layout, InventorySheet checks the global var: if it's 0 it set the animation "Default" (i.e. not selected - green), else it set the animation "Selected" (i.e. selected - orange).

  • See this. It's a inventory-kind-of i made.

    I think is a lot similar on what you need.

  • <img src="http://www.worldaffairsboard.com/attachments/international-politics/18309d1264018105-racism-ignorance-laziness-just-plain-stupidity-necromancy.jpg" border="0" />

    Still waiting for some solution <img src="smileys/smiley19.gif" border="0" align="middle" />

  • It seems to work now. Maybe there was a problem with db servers!