jimand's Recent Forum Activity

  • I don't think this is a bug. Here is what the manual says about buttons and other form controls:

    Form controls are actual HTML elements floating above the game canvas in the HTML page. Therefore, nothing can be displayed on top of a form control, apart from other form controls.

    Form controls position themselves according to the layer parallax, scale and so on. However they are not truly "in the game" (since they float above), so it is recommended to avoid using scrolling, parallax and layer scaling with form controls, otherwise the end result can feel unnatural.

  • There are a couple good tutorials on creating platform games. Have you read those? Regarding this problem, here is what Ashley says in his tutorial: Switch back to the Event Sheet. We're going to make a new event with the condition "On left arrow key pressed", and the action "Set player mirrored".

  • Here's my example of using the "invisible bullet" method to determine line of sight when obstacles are present, and then having only the instance(s) with LOS react.

    http://dl.dropbox.com/u/6109058/lineOfSightDemo.capx

  • > I was wondering how to make my start screen play first? I recall doing it before cant find it now.

    In "Project Settings" you can pick the first layout. But in Preview, it seems to start with whichever layout you had open last before hitting the play button.

  • Yes, I arrived at the same solution, using a text object as the handle. The text box object can be dragged and dropped by itself if it is disabled, but then you have the problem of toggling it to the enabled state in order to allow the user to write in it. Seems easier to pin it to some other object that has the drag/drop behavoir.

  • Create a new layer on top and give it a parallax of 0,0, and place the non-scrolling objects (such as a text object) on it.

  • With Webstorage, you save key / value pairs. The values can be numbers or text.

    In my example the local storage key was "StoredScore" and the value was a number. You can do the same thing with text. You could have a key "Item" and a value of "lamp" or "table" or whatever.

    http://www.scirra.com/manual/120/webstorage

  • Here is a capx. You click the button to rack up a score and store it. Click it a few times, close the program, then reopen it and the score should take up where you left off before. This should work even in the C2 preview. Read the manual for more.

    http://dl.dropbox.com/u/6109058/webstorage_test.capx

  • I made a small game with C2 that has 22 physics objects on the screen at once. It runs great in any browser on any computer I've tried. But then I tried it in my iPod Touch, which is a couple years old, and while it ran, it ran too slow to be playable. So I'm thinking in that case it is not the number of objects so much as the use of physics?

  • I was trying to figure this out, too, and created a small test capx to put the value of a local variable in a group into a global variable, which can then be used anywhere in the events. Here is the capx as an example.

    http://dl.dropbox.com/u/6109058/localvsglobal.capx

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It sounds like the message that begins "Assertion failure. No default instance when creating object." There is a lengthy stack trace. But the basic message also says, "This will be fixed in a future build." So I figured it is on the to-do list. Not hard to work around.

  • Kyatric -- Ah, OK. Thanks. I hadn't used buttons for a while until today. I knew that they had worked for me in the past but weren't working now. It drove me crazy looking for some other mistake in the events setup I was creating.

jimand's avatar

jimand

Member since 25 Mar, 2012

None one is following jimand yet!

Trophy Case

  • 12-Year Club
  • x3
    Popular Game One of your games has over 1,000 players
  • RTFM Read the fabulous manual
  • Email Verified

Progress

15/44
How to earn trophies