LoobyLoo's Recent Forum Activity

  • I'm in.

  • Should I only put on my repo the .c3p file or should I put everything?

    No, you have to save your project as a Project Folder, that's it. Then commit.

  • The non-behavior way is to compare the distance between each pair of objects and push them apart and update their velocities if they are two close. That doesn't scale well with such a large amount of objects, so we need to do some kind of spatial hash so we only need to check objects that are nearby. Unfortunately if doing it with events it's hard to get that much of an improvement so JavaScript is better.

    Here's one possible test of that. It handles one object type and treats them all as the same size. Disable the group to compare performance with the physics behavior.

    https://www.dropbox.com/scl/fi/ja4hfo7dv9sqq7phs1q25/spatialGridJS.c3p?rlkey=heo2ewlpffq6n6kwusnnefdk8&dl=1

    With 1400 objects:

    Custom push out: 60fps

    Physics: 10fps

    The example also does it's own physics, but you can just use the spatialGrid() function if you just want push out.

    🔥 This is legendary-level programming.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • There are many ways you can pull this, most easy way is by assigning the instance variable. This way you can pick and differentiate the instances of the same object, and give your desired action individually.

  • I recommend taking the time to learn more about the tool you're working with. Familiarize yourself with its features. Try to play with some inbuilt templates that Construct 3 provides.

    These can serve as valuable starting points.

    As for organization, it's somewhat subjective and can vary depending on the specific task or project. However, a few general tips include creating a clear structure or hierarchy for your work, using labels or categories, and maintaining consistency in naming and formatting. Ultimately, the more time you spend using the tool, the better you'll become at organizing your work effectively

  • To simplify what the OP has asked,

    When applying the 'Tile Movement' behavior to a Sprite and put into the layout. Set its initial position somewhere else at the start of the layout, the sprite initially starts at the correct position (which we were given at the start of the layout) but then moves back automatically to its initial position on the layout.

    It seems like the behavior is the same across older versions (I checked some 2019 versions of c3, and it is still the same behavior ), maybe this 'Tile Movement' was designed to be like this, I do not know, maybe this is a bug, I couldn't find any information about it in the Construct 3 manual.

    As a workaround, you can place the player near the 'warpobject'.

    Maybe others have better solutions.

    If you think it's a bug, you can report it here

    Here is the test c3p

  • First of all welcome to C3 and the forum as well.

    The event sheet screenshot that you have attached is mix of foreign language so I couldn't able to decode fully but if I guess

    I haven't managed to do so far is add the animation for the shot, and a time for each shot

    What I understand from the above is, that you want to set up a bullet for your player right? So you already have the bullet-firing logic right? now you want to animate the player in such a way that it will look like it firing the bullet? For that, while the bullet is spawning you have to play the animation of the bullet firing in the action.

    Apologize if I'm mistaken.

    I saw people saying that because it's variable, it's easier to configure and it's more organized, I don't really understand

    In short, variables are crucial for organizing your code and managing the data in your game. Whether you use a variable, an instance variable, a global variable, or a local variable depends on your specific needs and the scope of the data you're working with.

    You might use instance variables for each enemy's health, global variables for the player's score, bullet speed, player speed, etc.

  • Sound like you need to use the BBCode, recently BBCode code has lots of exciting updates too.

    To know more about this

    youtube.com/watch

    I hope this helps.

  • Here is the everything you ever posted (Question wise)

    construct.net/en/forum/users/maako-155139/topics/page-2

  • Moonstone Island is now available on Steam!

    Subscribe to Construct videos now

    🤩 wow, congrats dop

  • Actually, if you look at it another way, it is the same thing when you save the .c3p file. .c3p file is nothing but a zip file, so whenever we save and replace c3p, construct creates a fresh .c3p, delete the previous one, and paste the new one, this is what happened in a nutshell.

  • Posted it on GitHub/Construct-bugs

    github.com/Scirra/Construct-bugs/issues/7412

LoobyLoo's avatar

LoobyLoo

Member since 10 Jul, 2023

Twitter
LoobyLoo has 1 followers

Trophy Case

  • 1-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

6/44
How to earn trophies