hertles's Recent Forum Activity

  • I did it like this and it worked, but it is the less effective way, I cant change the pizza angle and thickness

  • I'm trying to create a Shadow's Heart Judgment ring like clock. For this, I wanted to create the pizza shape angles first. I tried to make a loop to create 10 lines with 1 angle difference between them but is not working. Is the first time I'm working with loops.

  • Oh boi, thank you guys very much! It would be too much to ask for suggestions about how to learn this DATA stuff for what I'm trying to do? (preferably xml or array cus I still use c2 but I could still try to buy c3 for the json)

  • I understand, thank you very much! anyway, could you explain why using data files (xml etc..) would be more efficient?

  • I want to implement a text game with images and option like a gamebook, I'm sending the capx on how I did it and I would like you guys to take a look at the event sheet. It's very simple and basic, but as a beginner, I think it's the most understandable way to do it. I know It's easy to get lost with the variable and mess things up, but I'm thinking that if I going foward with this, I would use some stickers to keep track of the story (just like in bandersnatch) And I think that I will be able to organize things like that. The file:

    dropbox.com/scl/fi/odii8ldsvvxec6u94zucz/textgametest.capx

    The Question is:

    - Is there a better way to do it? (Please, don't suggest overcomplicated stuff like xml, json files or arrays. I tried to learn these things, but it goes too over my head. Of course, unless you have a step by step compilation of videos that teaches how to use that, for what I'm trying to do, you're welcomed)

    - and the most important...If I keep doing this way, will it affect my game's performance?

  • Browsers sandbox most things, including storage, by origin (essentially the domain, plus protocol and port). See the Same-origin policy for more details.

    In practice this means if your website runs on example.com, you can access anything else that happens on example.com, but not anything else that happens on other websites like on construct.net. It's an important security barrier to ensure things like other websites cannot steal your login details for other sites. It's possible to get other domains to intentionally share their information if they are specifically designed to do so, but it's technically quite complicated, and there are all sorts of privacy, security and anti-tracking hoops to jump through.

    Understood...So It's not possible. Not even possible with another type of export? like NW.js?

  • I'm trying but still did not manage to do it. I just wanted to know if is possible. (but a "how to do" would be great anyways)

    I'm trying to load the variable "life" in my other game when i hit the button load, I don't know if I'm doing it wrong or is just not possible but It always missing the file.

    edit: It works in construct, in the local host. It just dont work in exported version.

    Tagged:

  • You can do a great experiment.

    You can post this "с3p" file.

    And in half a year open it again, and if this code doesn't seem bad to you, then you haven't made any progress in half a year.

    I do that a lot when I open old projects.

    Happy New Year!

    To be real, I already think is bad hahaha. But I still don't know how to make it better

  • I had such a hard time to discover this that I decided to make a post the teach whoever needs it.

    In the forum, you may find some posts saying that you could create an object and put the scroll behaviour, make it invisible and then moving it.

    There's just one problem with this solution, when the object "camera" goes out of screen center, it take a moment to the camera start moving again since camera must return to the center of the screen to start moving. I found a much easier and elegant solution to this.(And you dont need the scroll behaviour)

    There is some actions called "set scrollX" and "set scroll Y" that sets the camera scroll coordinates. So you could create two global variables called "scrollY_var" and "scrollX_var" and then suppose that you want to move the camera to the right and left. You could do this:

    [On "d" key down] ""or any other trigger""

    -> Add 10 to scrollX_var ""change the number to change camera speed""

    -> Set scrollX to ScrollX_var

    [On "a" key down]

    -> Subtract 10 from scrollX_var

    -> Set scrollX to ScrollX_var

    Now you need to limit the "scrollX" value to not get over your layout and having delays in moving the camera. To do this, create this event:

    (To do this go to system -> compare variable)

    [If scrollX_var > layoutWidth - your layout width divided by 2]

    -> Set scrollX_var to scrollx (I don't know why to set to this, but it just works)

    [If scrollX_var < your layout width divided by 2]

    -> Set scrollX_var to scrollx

    And you can do the same thing for the de Y axis

  • Thaks man! but i forgot to say something. I'm using construct 2. So I don't have the tween behaviour :/

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • This is how I did it. It works, but is too abrupt. I tried to use fade behaviour but i don't seem to work all the way. I saw other topics about this but I sincerely dont understand. Please help?

  • Thanks man!I had a look but the hotspot in all frames are alright

hertles's avatar

hertles

Member since 10 Jun, 2023

None one is following hertles yet!

Trophy Case

  • 1-Year Club
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

4/44
How to earn trophies