helpdastudent's Forum Posts

  • 6 posts
  • ):::

  • Resolution: 1280, 800.

    Works perfectly fine on tablet, and when converting to apk file (using Intel XDK), the emulator in Intel XDK shows the same as the web.

    However, on the physical (same tablet as the emulator) does not look the same, words are slightly off the position, certain items are moving faster/slower etc.

    Does anyone have this problem before? I have searched the web for days and could not find a solution.

    Before it was 854, 480. I changed it to 1280, 800 as my other game that is 1280, 800 works well in both web and tablet.

    But it is still having that problem.

    The game works fine, just the text and some items are moving at a different pace.

    For movement, it's a really simple move forward X pixel, all items have the same event, however some move faster/or slower.

    For text, certain text shift its position.

    I am sorry that I can't provide any file for it as it is a school work and was told not to let anyone have the file due to copyright issues as the game will be published by a certain company.

    I apologize in advance if I did not mention any critical point.

  • So I have this project I'm working on,

    tl-dr; a mini project that consist of drag and drop into invisible regions and places the object there. Example: Apple into Shelve1, Shelve2, Orange into Shelve1, Shelve2

    (IM SORRY, im quite desperate and have done researches, couldn't find anyone that helps)

    a brief description of my work, i have Instances: Apple, ApplePlaced, Shelve1, Orange, OrangePlaced, Shelve2. (There are many Apple and Oranges)

    Dragging in the Orange to OrangeShelve will Destroy the Orange, and Create the OrangePlaced at the position of OrangeShelve, and then Score+5

    Dragging in the Apple to OrangeShelve will Destroy the Apple, and Score-5

    Dragging in the Apple to OrangeShelve with OrangePlaced will Destroy the Apple and Score-5

    (This is my problem) However, whenever it's a right decision, it plays a 'Ding!', and if it's wrong, it plays a wrong sound. And the "Dragging Apple into OrangePlaced" gives both sound because the way I'm doing is Apple Overlap OrangePlaced, Destroy Apple, Destroy ApplePlaced, Subtract Score by 10

    P.S. I CANT USE CONDITIONS LIKE THESE

    'Apple Overlap Shelve1'

    'Is Not Overlap OrangePlaced'

    for the 'Right Placement' as I have many other fruits and shelves which will multiply the score.

    I'm a student who learn programming, I am totally new to construct 2 and have no one else I could ask help from.

    My Idea of thoughts are like,

    If (Apple Overlap OrangePlaced OR PearPlaced OR MelonPlaced) {

    ----Destroy Apple;

    ----Create Apple at Start Position;

    ----Score-5;

    ----Play Audio(WRONG);

    }

    Else //(Apple does not Overlap any of those mentioned) {

    ----Destroy Apple;

    ----Create ApplePlaced at LayerX (XXX, XXX)

    ----Score+5;

    ----Play Audio(CORRECT);

    }

    Please bear with me and help me out, any solution to the problem I facing? ):

    EDIT 1: I'm using Drag Drop, and it shows.. Else (Not Valid Here). So.. im back to square1 again...

  • Yah that's what I did, (without the double condition test of overlapping both), there is a image link to show my project.

    and yes, I kinda need/want that distance test to see which one is closer and then apply it to the box

    edit: i am using invisible overlapping sprites. like i mentioned above, if you overlap both boxes, it activate its event for both boxes (score +5 then -5)

  • help please.. anyone..?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi.. I'm totally new, needed some help to complete my first game.

    This game that I am making, imgur.com/1ZJaEWr

    It's a easy drag and drop objects to the correct areas, (example Box1 is AppleBox, Box2 is OrangeBox), drag drop the Orange into the correct box.

    Short Version:

    There are scores, dropping to the correct box gives +5, and the wrong box -5, however, if you were to drop in between of both box, the score will be 0 (+5 and then -5).

    What I wanted is, how do you choose the nearest object, like, if the Orange is nearest to the OrangeBox, drop in the OrangeBox instead of both (when it is in the middle, or somewhat touching both box)

    What I'm doing/currently have

    Orange on dragdrop drop and Orange is overlapping OrangeBox, System Add 5 to score

    Orange on dragdrop drop and Orange is overlapping AppleBox, System Subtract 5 to score

    More details:

    When placed in the wrong box, the object will destroy and create another one at the "cart",

    which putting in the middle, created one orange in the orangeBox, but have a score of 0, and the orange is re-created at the "cart" again, this is a huge problem for me. ):

    (Maybe I shouldn't be using overlapping? or is there a choose to overlap the nearest box, or anything)

    P.S. I am totally new, just started learning this software a few days ago.

    If possible, would like to see an example, or a clear explanation of a solution/solution that work

  • 6 posts