jobel's Forum Posts

  • Does anyone have a suggestion for the best way to keep track of number of orbits using the orbit behavior?

    Rotation gives you the angle you are at, so conceivably you could store the starting angle, then when it hits it again you increment a counter.

    I'm trying to program 2 revolutions, then start accelerating the opposite direction, go 2 revs then repeat...

    but Orbit.Rotation wraps 0-360 back to 0 again.. so if you start at 200 going CCW it will go to 360, then back to 0 then to 200. so its hard to count.. it's not like other rotations that keep going up.

    any suggestions?

  • Elliott

    WordPress is categorically the most powerful CMS

    I'm sure it's powerful, but its one of the worst laid out applications I have ever used.

    The fact that they have all these strange ways to edit things from Dashboard/Customize/Elementor. How you get between these and how they effect the final product is extremely difficult to see.

    For example I made a Homepage and a DevLog. I made the logo extend down beyond the header and on the devlog page (posts page) the blog entries start up too high so the logo overlaps them. And the layout of the posts page is just dreadful. I've literally been working on how to fix that for at least 4 hours. And I still don't know how to do it! The whole header bar is kind of a nightmare to get it to look right. Any tool that takes multiple hours to adjust a layout or colors etc is not one I want to use!

    but yes a wysiwyg editor is what Muse was. It's simple, it's fast.

    Thanks, I will check out those editor.. I was using Elementor, then it broke and would not load certain pages.

  • yeah I would not recommend wordpress. It's awful. The menu system is completely hair-brained. I've been working on it for over 5 hours now, all I have is a title and some menu items. The only good part is you can hit Publish and if it's integrated by your host it updates immediately. So I think once it's done it will be quick to update.

    Adobe Muse was so easy, it's too bad they dumped it.

  • seems like Wordpress is good.. but crazy unintuitive...terrible ux, I can't even figure out how to add an image or a background image... I make a bunch of changes, hit publish and nothing happens..

    tutorial videos I watch are either out of date and things look different or they are implementing an online store or some theme I don't want..

  • When you make a Layout, you have all objects that layout will use sitting in the layout.

    A common thing people do in On Start of Layout Event is to Destroy all those objects, then they create them as needed. This is important to have these objects in the layout as it tells the layouts which objects to load into memory - if they are not in the layout, and if you do a Create Object action, it could cause your game to lag or pause while that object is loading into memory.

    The drawback of having the object already in the layout and using an OnCreated Event is that, the original object sitting in your layout actually gets created - therefore triggers the event before the game even starts.

    Personally I only use OnCreated to do cosmetic things, or things only pertaining to the object I'm creating.

    I would recommend what blackhornet suggests or make global boolean to shut off the first time you are in OnCreated so it won't do the action on the very first OnCreate.

  • Fengist thanks, I'm not at all familiar with wordpress but just a quick search and it looks pretty good.

    is there a specific plugin I should use for a devlog?

  • hi, I'm in the process of redesigning my website with Adobe Muse (I probably need to find a better web program).

    I want to add a devlog to the site.. or an external link to one.

    Does anyone know of a good devlog tool that's pretty easy to use? I want to be able to update it often.

    recommendations are appreciated! thanks!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ashley

    The problem with a scale expression is: if the object is twice as wide, and half as tall, what is the scale? There isn't one, there's only a scale for each axis. So we could probably add a XScale and YScale expression in future, but not a Scale expression.

    I didn't think about that. I guess because when you use the scale Action you only supply it with one number assuming you want to keep aspect ratio. If you want it distorted you then set with the height/width separately.

    but yes X/Yscale would work well I think. And I think those values are already in the editor! But you could potentially make a .ARscale (aspect ratio scale) so that it supports the Scale Action.

  • Are you talking about referencing something like 'is this object scaled twice as large as another object' ? Usually you would set scale based on something else happening. For example if a button is pressed, you could set the scale lower but the check is if button is being pressed, not if the scale or scale variable is 0.5. What were you thinking of using it for?

    currently I'm using scale to add variation.

    Create Object: Cloud
    Cloud Set Angle random(360)
    Cloud Set Instance Value scale to random(0.5,2)
    Cloud Set Scale to self.scale
    

    So if for some reason I want to reference that scale, I have to save it in a variable, there's no easy way to get the exact scale from the width and height. I'm sure you could math it, but I feel it would be easy to be off by a decimal.

  • Ashley

    I was going to propose to add a built-in scale variable for Sprites. This way you can Set Scale() to a Sprite and then reference what the scale is by using Sprite.scale

    For a while now I've always added "scale" as an instance variable so that I can reference scale. If you did make this change and added a "system" default scale variable, would it break my existing code?

    How does Construct add variables like that so that they are backwards compatible? Also is this suggestion of adding a scale variable a good idea in your opinion? or is there another way to reference the modified scale of a Sprite? Thanks

    Tagged:

  • open construct in Firefox

  • each layout should have it's own cutscene and should end with the same feel of ending a chapter and with music fading out. Or at least a natural break.

    but you could maybe overlap the music between layouts you just couldn't have any "hits" or sync points in the music since you don't know how long it will take to load each layout.

    the alternative is to make video cutscenes which would require immense storage and completely non-interactive.

  • Nepeo oh right, that makes sense. Basically I have a game at a specific URL. They can go fullscreen. When they are done with said game, I'd like them to be able to exit. But it doesn't look like that's possible.

  • your cutscene should be on it's own layout. Unless its simple and you want it to overlay the action.

    there's no reason to make multiple layouts unless you break it up by cutscene 1, cutscene 2 etc...

  • Nepeo well thats the problem then. I'm just going to the web page by clicking a new browser tab. Is that why people run their games in an iFrame?