MadameBerry's Forum Posts

  • Anyone able to help?

  • I'm having a bit of a multifaceted issue with developing a mobile game. Currently I'm testing on Safari in iOS because all I have is an iPhone to test. Anyway, being an iOS game, the game uses the Touch behavior. However, any time I touch the screen to do something in-game, the address bar pops in, obstructing the game (I have the fullscreen setting on "letterbox scale" but the address bar doesn't seem to resize the game).

    As such, I've resigned to adding the game onto my homescreen using Safari's "add to homescreen" feature. However, when I do that, it doesn't load any Music (though Sounds still plays). Music plays as intended in Safari, just not when the website is added to the home screen.

    There's got to be a better way to handle fullscreen landscape games in iOS. Is there nothing I can do to hide the address bar in landscape mode?

    Also, does anyone have any advice for publishing to mobile? I'm concerned about this fullscreen thing hindering my game's success.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It just seems weird to me that you can WRITE to the scale, but can't READ it.

    And the above solution seems viable.

    Also Aphrodite, that's what I ended up doing. It just seems like a needless workaround, much like the "fake global bool using 0/1 int" thing.

  • So I can set an object's scale, but then I can never reference it's object scale directly because there is neither a Condition nor an Expression for an object's scale.

    it really seems like a simple enough thing to add an expression for (since you can set it, I'd assume half the code is already there anyway)

  • Hello! So I'm attempting to use Hexels in an upcoming project, and I'm running into a bit of a snag.

    8-directional movement will set the character on 45 degree paths of movement, when pseudo-isometric angles are closer to 30. I've determined the exact angle that Hexels is set at, and am now using the Custom movement behavior to move the character at that exact angle.

    When I move along long stretches, it stays lined up with the angle (I think).

    However, when I tap any of the movement keys repeatedly, it offsets itself by a bit so it's no longer moving at the right angle. It's noticable enough that even switching keys to change direction makes it happen.

    Does anyone know why it may be doing this, and a way I can maybe make it stop?

    Here's a .capx: https://drive.google.com/file/d/0BzlFHd ... sp=sharing

    There's no collision yet so all you can do is run around.

    Thanks!

  • lolpaca: They posted a preview of that on facebook actually! It's in the works, it seems!

    As for suggestions,

    • Apply Origin/Collision/Crop in Animation Folder

    Sometimes I need to apply changes to an animations size, collision box, origin, image points, or whatever, but only to animations in a certain folder. It can get tedious to go through all of them sometimes, so this sort of thing would help.

    -Vertex Painting/Texture Blending

    In 3D, you can create non-tiled objects by having a base tiled texture, and then applying a second tiled texture on top and painting in the opacity. I imagine this would work very similarly to using layered imagemaps, but without being locked to a grid. Like if you combined tiled backgrounds, imagemaps, and the sprite editor.

    I'm sure that's a lot easier said than done, but it would help a lot with creating unique levels that aren't tile-based.

  • I did not know that was a thing!

    Thank you!

  • The enemies in my top-down game are moved using the custom movement behavior. One of the characters' abilities is a knockback. I need the enemy to be knocked away from the character in all directions.

    First I tried setting the angle towards the character, then adding 180 to the angle. That made the enemies all just move to the left.

    I then tried using an object that determined the direction the enemy was facing (I already use this object for attacking) and then setting custom movement based on that

    Is there an easier way to make an object face away from another object? I feel like I'm doing this in an extremely wrong and convoluted way.

  • Grabbed some footage of the in-progress tutorial area of Five Suns, my senior game.

    Watch it here!

    Subscribe to Construct videos now

    Five Suns is an isometric dungeon crawler set during the Aztec creation myth of the same name. Play as two children who are imagining the creation myth as their grandmother tells them the story. Guide the children imaginary selves through a crumbling world and utilize Aztec incenses to activate special abilities that are unique to each character.

    Follow us for more updates on http://fivesuns.wordpress.com/

  • I'm pretty convinced at this point that my computer is just crap and I need a new one.

  • Problem Description

    ____ I was trying to import an animation from a spritesheet/sprite strip. It made Construct freeze for like a good ten minutes before finally bringing up the dialogue to let me set rows and columns. So, thinking maybe my project was too big or the sprite sheet image was too big, I started a new project and tried again with a smaller image. Still froze for a good couple of minutes. The second image I tried was only 64x64 pixels. I timed it, and it literally took 2 MINUTES AND 35 SECONDS to import. There's no reason that should have been so slow. Importing the image as a frame or opening the image works fine and takes no time at all, even if the image is very large.

    I used to be able to import sprite sheets just fine, so it is definitely a recent development.

    Attach a Capx

    ____ No Capx, it did this on a new project ____

    Description of Capx

    ____ It's any project. ____

    Steps to Reproduce Bug

    • Open a project or start a new one.
    • Import an image as a sprite sheet
    • Wait???

    Observed Result

    ____ I wait for a really long time and sometimes just have to task manager shutdown Construct because it's sat there for like ten minutes frozen____

    Expected Result

    ____ A 64x64 image should import in no time, even as a sprite strip. ____

    Affected Browsers

    • Chrome: N/A
    • FireFox: N/A
    • Internet Explorer: N/A

    Operating System and Service Pack

    ____ Windows 7 ____

    Construct 2 Version ID

    ____ Version 168 ____

  • hey, that worked perfectly!

    Thanks for explaining how those expressions worked! =D

  • I know bumping isn't really a polite thing here, but it's been like a day and it's not on the first page anymore and I still need help... ^^;;

  • Update:

    I have tried this, and it did not work.

    Currently I spawn the object on the layer Play and then attempt to move it to the UI layer. I suspect it will also not work if I just try to spawn it on the UI layer...

    I have tried all sorts of combinations of the CanvasToLayer and LayerToCanvas expressions, not just the one in the screenshot. I wish there was a better tutorial for how to use them, I can't find one that doesn't just repeat what is in the manual (which was really unhelpful might I add...).

    I'll admit that I have ZERO idea what I am doing with those expressions. I've never used them before and I don't understand how they work at all.

  • I'll look into that, thank you!