jomo's Forum Posts

  • Hi kmsravindra ,

    Thank you for interesting in my product! Please find my answers below:

    1. Wanted to know if this will work on iOS platforms as well and there will not be any issues while exporting and packaging with Cordova iOS platform?

    [Ans]: Not sure. I haven't tried this product on iOS before because I'll need to buy an iPhone first (maybe I'll do it in 2015/May).

    2. Can I have buttons, multiple texts / text fonts , multiple images etc., inside this dialogue box? Do I need to create such sprites and buttons, text etc., on top of the dialogue layer?

    [Ans]: Yes, you'll need to create extra components by yourself. By default, this dialog module contains 1 icon, 2 text( title & content), 3 buttons( OK & Cancel & Close). If you want to put some extra components, you can create them by <create object> action on "dialog" layer. Every tween effects will apply to this layer. You can find some technical info in below links:

    https://dl.dropboxusercontent.com/u/209 ... nstall.pdf

    https://dl.dropboxusercontent.com/u/209 ... ledges.pdf

    3. Can I replace the text on ok and cancel buttons to something that I want? And place them wherever I want?

    [Ans]: Yes. You can replace "txt_ok" and "txt_cancel" parameter when calling "create_dialog" function. You can try the following demo and replace the <text for ok> and <text for cancel > fields.

    http://www.memoryabc.com/c2_example/dialogTemplate/

    4. Can I add more buttons?

    [Ans] Yes, you can put your custom buttons on "dialog" layer. And you can call "btn_close" function to close your dialog with tween effect.

  • You need two <For each> loop to accurately express your logic.

  • Hi guys, this is really a good plugin~ Thanks for 's great idea.

    Besides do it in plugin way, I've made a Dialog Module which utilizes some of rexrainbow 's plugin. And that is my 1st product in Scirra store. I'm using this module to make my AVG template. Please give me your brilliant advices if you have time.

    AVG template demo:

    http://www.memoryabc.com/c2_example/AVGTemplate/

    Dialog module demo:

    http://www.memoryabc.com/c2_example/dialogTemplate/

    Scirra store product page:

    https://www.scirra.com/store/royalty-fr ... module-776

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • jomo the opposite actually:

    Set angle to No: the angle of motion will be independent to the display angle (self.angle) of the object (think of a ghost in a pacman, it does not rotate visually when the angle of motion changes, always the top of the head at the top, and the bottom at the bottom)

    set angle to yes: the angle of motion will set the actual display angle (self.angle) to the angle of motion of the object (think of a pacman, it rotates with the direction it goes to to have his mouth going forward), the angle of motion is the one to overwrite the display angle.

    Aphrodite Thanks for your comments. And what you've described is the same with my original understanding - before I made the capx which attached with this post. I have no idea how to explain what I see.

    And if you rotate the [Sprite2]'s angle to 0 in <Layout 1>, you'll see some more interesting things.

    After that, set [Sprite2]' angle to 0.5, you might start to feel what i'm feeling now.

  • Thanks for the reply. And pardon me for one more question about the corresponding part in C2 manual, I copy the followings form <Bullet> chapter:

    Set angle

    If set to No, the behavior will never change the object's angle. If set to Yes, the behavior always sets the object angle to the angle of motion.

    So the above means it will using the value of the 'object's angle' to overwrite 'angle of motion'. Is my understanding correct?

  • Supplement: Bullet generated by <Create object> responds quickly to both <Set angle of motion> and <Set angle> actions.

  • Problem Description

    For a spawned bullet, it doesn't response to <Set angle of motion> action quickly. It will need a <Wait 0.02 second> to work properly. As a C2 tutor, we are asked to reply this kind of question about every 3 months.

    Attach a Capx

    https://dl.dropboxusercontent.com/u/209 ... ailed.capx

    Description of Capx

    Click mouse left button to <Spawn> + <Set angle of motion>. Click mouse right button to <Spawn> + <Set angle>. The <Bullet> behavior's <Set angle> is set to YES. You can observe the differences by clicking corresponding mouse button.

    Steps to Reproduce Bug

    • Preview the project and push mouse left/right button
    • Enable the <Wait 0> action in event#1. Check the response.
    • Disable <Wait 0>, enable <Wait 0.02> in event#1. Check the response.

    Observed Result

    When mouse left button is pressed, the bullet doesn't responds to <Set angle of motion> action. Unless you enable the <Wait 0.02> action.

    Expected Result

    <Set angle of motion> should take effect quickly after bullet is spawned.

    Affected Browsers

    • Chrome: (YES)
    • FireFox: (YES)
    • Internet Explorer: (YES)

    Operating System and Service Pack

    Win7 Sp1

    Construct 2 Version ID

    r201 64bit

  • My suggestions are:

    1. For the little bushes, use a separated layer which is below the characters.

    2. For forest and character sorting, group them as a family and use <For each (ordered)> and set expression to Family.Y + ascending, in the event set family object to top of layer.

  • Problem Description

    In Crosswalk(XDK 1826), r200 <Touch> object generate trigger twice when <Use mouse input> is ON

    Attach a Capx

    capx attached.

    Description of Capx

    For each touch starts, generate a letter "T" on screen.

    Steps to Reproduce Bug

    • export using Cordova.
    • import in XDK.
    • test in emulate tab.

    Observed Result

    In emulate tab, each touch produces two "T"s.

    Expected Result

    In emulate tab, each touch should produces just one "T".

    Affected Browsers

    Crosswalk

    Operating System and Service Pack

    Not OS dependent.

    Construct 2 Version ID

    r200

  • Easy Module #1 - Dialog module — Now for sale in the Scirra Store!

    https://www.scirra.com/store/royalty-free-game-templates/easy-module-1-dialog-module-776

    <h3>Tired of plain, flat, instylish browser alert box?</h3><div class="deshr"></div> <p><p>If you are tired of using browser dialog box, this module is what you looking for! Use our eModule dialog box to create complex dialog box with just one simple function call. And all the fancy built-in effects can be turned on through parameter settings. You can also customize your own dialog theme. Come to try the demo now.</p><h3>Can this make RPG conversation dialog?</h3><div class="deshr"></div><p><p>YES. And there are RPG dialog example codes in our example file.</p><h3>Feature list</h3><div class="deshr"></div>

    • One function call to start dialog
    • Zoom effect
    • Opacity tween effect
    • Color background with Opacity tween effect
    • 2 Default buttons (can change to 1 or none)
    • 4 ready to use themes
    • Easy installation guide

    Use this topic to leave comments, ask questions and talk about Easy Module #1 - Dialog module

  • jomo

    Nice work!

    ...any chance you would share simple capx?

    i would love to see your MP implementation!

    tnx!

    Irina

    irina , this one may not be a simple project because it contains 278 events. <img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked"> Actually I'm invited to teach this project in an university starting from the end of this month. It will be a 12hr lesson. The class will start from single player tank game to multiplayer tank game.

    The 1st version is like this: http://www.memoryabc.com/joomla/index.p ... game5-tank

    After remake this multiplayer game 4 times (yeah, i remake this same game 4 times with different procedures and structures), I developed and systematic methodology to go from single player to multiplayer. And my conclusion is:

    "Make the single player version before you jump to multiplayer."

  • I guess... Are you connecting with someone but you just don't noticed that?

  • > Asus MeMO Pad HD 7 (ME173X) The game is barely running, many lags <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad"> but my device is far away from from a top.

    >

    would you mind installing this small game in an 50MB demanding version if it would run smooth?

    > Xperia XL Android 4.4.2

    >

    oh thats pretty upsetting, i had not expected that

    Thank you all for testing! would like to hear more performance reports, but first i will try to optimize the game some more and provide an Crosswalk build app for testing here.

    Would you all mind reinstalling that crosswalk app and giving some response?

    here you can download the crosswalk build apks: http://fldr.de/blockbreaker-Crosswalk.201502284835.zip

    Tested on HTC Desire 816, it's smooth except the swirl effect. Swirl effect degrades the performance.

  • Thanks for your feedback!

    i dont like that crosswalk makes an >50MB app out of an 500kb game, in my tests it didnt perform better on weak mobiles

    Yes, crosswalk export apk is really big. May I ask which phone you've used to test your game?

  • You can try to export with Cordova, then use Crosswalk to pack your apk and this will run much more faster.