oosyrag's Forum Posts

  • I'm all for additional CSS support.

    A <span>/<div> text object and class tag support would be great.

  • Sounds like a cell sizing issue. If your pathfinding grid's cell size is larger than the sprite, then the sprite should never collide with a solid.

  • There are ways to download a webpage/linked pages as html or PDF, you can search for them. Although the manual gets updated fairly frequently and navigation is much easier with links when using as a reference.

    There is also the Construct 2 manual available as a PDF, it is still mostly relevant - especially the first few sections like overview, interface, and project primitives.

    scirra.com/manual/1/construct-2

  • I'm not familiar with Persona 5, but...

    Two ways include using a timer (behavior), or an incrementing counter variable.

    I'd say a timer might be better suited to having time pass in real time, and a counter variable would be better for a action based/trigger type system. Of course you can use both together too.

    You would have two variables, to keep track of days, and time within the days.

    Lets say your incrementing counter variable represents hours. Every time you take an action (that takes one hour), add one to that variable. When the variable reaches 24 (or 16 or however long your "day" is), reset it to 0, and trigger a new day (add one to your "day" counter variable).

    If you wanted in real time, you can do something similar. Lets say 5 minutes represents one hour. Use the timer behavior, set it for 300 seconds, and when the On Timer condition triggers, add one to the "hour" variable.

    You can break it up into minutes if you wanted to, the concept is the same. When you have variables keeping track of your game time, you can use conditions to compare those variables to values you want to trigger or activate during specific times in game.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You can use the expression Array.IndexOf to get the index (position in array) of whatever you are trying to find.

    So if the goal is to insert values before and after the specified index, you would use the array action insert "cat" at index Array.IndexOf(gFindWord) for after, and Array.IndexOf(gFindWord)-1 for before.

    Edit: It might be +1 for after and no adjustment for before.

  • Email and paypal are oosyrag at gmail. Let me know if you run into issues, or if there was any particular existing subtitle file format you want to work with, I should be able to adapt it.

  • Have you done the Ghost Shooter Tutorial? You can get to it from the start page. It has what you are looking for.

  • I made a psuedo coloring book example a long time ago, where you have to slice up the colorable pieces yourself as different sprites, and set a filter to "color" them. Could be a lot of up front work, depending on the scope of your project and how comfortable you are with other imaging software to create the slices.

    dropbox.com/s/l1wwv4ed2midjdk/coloring.capx

  • You can put the text object in a container with the sprite object. When you pick one, the associated text object will also be picked.

  • After "On Logged In" triggers, you can "Request Room List"

    In the "On Room List" event, you can use the room list expressions:

    ListRoomCount

    After On room list, the number of rooms in the received list.

    ListRoomName(index)

    ListRoomPeerCount(index)

    ListRoomMaxPeerCount(index)

    ListRoomState(index)

    After On room list, retrieve information for a room at an index in the received list. The state can be one of "available", "locked" or "full".

    For example, to list all available room names in a text object, you could put in a subevent:

    Repeat ListRoomCount times - TextObject - Append "ListRoomName(loopindex)&newline"

    Or you can add all the rooms to a list object, so that users can select a room to join.

  • I think you'll need to parse the equation using nested tokenat expressions for each operator... Not sure if there is a better way to do it. Also not sure how to break out parentheses.

  • Buttons objects are HTML form elements, and always show on top of your game. You'll need to create your own button with a sprite object and events.

  • You're right, there is a Video.PlaybackTime expression to get the current time.

    Here is an example (it's a little big due to high resolution in the original video) dropbox.com/s/ub0s765rbmgky2t/subtitlesexample.c3p

    I changed my idea a bit, this new way should be able to handle if you fast forward or rewind as well. The data you need to provide is start time, end time, and subtitle.

  • It is the same idea. In the example, you click to set a destination, or you would make the destination always where the player is. Instead, you can use an event to trigger when the destination is reached (point a), to set a new destination (point b). And when point b is reached, set the destination to point a.

  • I am not familiar with the tutorial you are referring to, but "the Host player (i.e. developer of the game) maintains an-always running version of the game online as a host server" is correct, if you intend to have an always online dedicated host.

    The signalling server is indeed an always running server, but it does not run your game. It's purpose is signalling, which is a method to connect players over the internet. It would indeed not solve your problem. The Construct team already hosts a signalling server for free which you can utilize, and is generally sufficient for most people's use.

    A "server" can be any computer that is usually always on and connected to the internet. This can be your home computer, a computer in a data center, or a rented computer from a bigger company like Amazon or Microsoft. A server can run many things. In your case, you want a dedicated host version of your game running on a server, so people can connect to it.