Voodude's Forum Posts

  • It looks to me like rotating the "Angle" property is actually "rotating on the Z axis" according to the conventions of traditional 3D software (C3 is "Z-up" when you have the camera set parallel to the X/Y plane and use it as the floor). The other axes? No, I don't think that's currently possible.

    Whoops, you're right about it actually being the z-axis it's rotating on. Thanks for still understanding and answering my question.

  • EDIT: As mentioned in the reply below, the actual question is if you can rotate on the x or y-axis.

    ORIGINAL: I can rotate 3D Shapes along the X/Y-axis, but I can't find anything for rotating along the Z-axis. I tried looking for documentation, videos, or other posts explicitly saying it's not possible and had no luck.

  • I want to work together with other programmers on Construct games, but I'm not sure how to set this up. I know how to make games in Construct, though my overall knowledge of languages and version control are limited. I used GitHub for game jams, but only for pushing art to the programmers using engines with scripting. And it seems more straightforward how you can combine multiple scripts together, but not CAPX files.

    I know there is no foolproof way for version control, but how have you or others divided the programming work and merged it together?

  • I replicated your code and found similar results. There's something strange going on with the Bullet behavior.

    8Direction behavior doesn't appear to have these problems when moving along Solids. So I removed the Bullet behavior and used this code instead:

    (If you don't know, Vector X and Y essentially tell the ball how strongly in the X or Y direction it should move.)

    And these are the 8Direction properties I used for the ball:

  • Well shucks. I just tried it and think that fixed everything. Didn't have time to work on the game again until now. I appreciate your help.

    Agreed. You can use itch.io or another similar website to upload your HTML5 game.

  • For example, you could create a function calling your foreach loop. Then call that function in Mouse click event.

    Something like this:

    > Mouse On Left button Clicked on Sprite_painting: Call "Your Function"
    	...
    On "Your Function"
    	System For each Sprite_painting: ...
    

    Having a function execute on the mouse click of a painting does it to all the paintings. The function doesn't know what painting I'm referencing.

    There doesn't appear to be a way around having the for each loop trigger every tick. How is the game suppose to know otherwise if the hangingProcess is >= 100?

  • Could we see the events above that foreach? Is it nested in another event/condition?

    It's not nested in anything else. Just in a group.

  • Hey man! Instead of adding the trigger once event, add the Stop loop action from System, right after your "Audio Stop..."

    Then you can move all your actions inside the Trigger Once event after the Stop loop.

    Thanks for responding. Unfortunately I don't think the "stop loop" did anything.

    Subscribe to Construct videos now
  • There appears to be something weird going on between "for each" and "trigger once". It appears that I have to say "trigger once" for every instance of an object for it to work when nested under "for each". You can see what I'm talking about in the video below.

    Is this problem caused because I coded this the "wrong" way? Should I just live with this kinda janky solution?

    Subscribe to Construct videos now
  • I'm not sure what you mean by "the iframe is the issue".

    This is the link to the example I uploaded to itch.io: geraldfranklin.itch.io/vr-test

    When I run the game, nothing works. But the same game on sizzle-games.com/Tilt works just fine.

  • Geolocation probably requires https.

    Accelerometer may not.

    So the HTTPS might be blocking accelerometer readings? Do you know a place or way to host the game with just HTTP? (I'm looking up setting up my own web server and that seems like a lot of work for just a prototype I want to make.)

  • Construct 2 doesn't have a built-in asset maker. For creating your own assets, your best bet is to go to websites like opengameart.org and spriters-resource.com/, find sprites that you like, and modify them in a software of your choosing.

    I personally use piskelapp.com for creating and editing sprites since it makes it easier to do animations.

  • I'm trying to test a HTML5-based game in my iPhone's browser that uses the phone's orientation. However, when I uploaded an example (from scirra.com/tutorials/4840/get-mobile-orientation-tilt-leftrightupdown-compass) to itch.io and the Scirra Arcade, they don't appear to be sensing anything.

    Am I doing something wrong? The above example and others seem to work, but they were uploaded directly to a personal website, not hosted on another site.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • To me it looks like Lakitu doesn't exactly follow Mario; it just stays on the screen.

    When Mario hasn't moved far enough to shift the camera, the Lakitu just moves left and right at a slow rate. But when the camera is shifting to follow Mario, Lakitu's left/right movements speed up at a rate proportional to the camera movement speed. And when it reaches the right side of the screen, it stays there if the camera is still moving.