ramones's Recent Forum Activity

  • You have to enter the regex and flags as strings.

    RegexSearch("I am searchingforthisterm", "^searchingforthisterm", "")[/code:2vub40wo]
    [code:2vub40wo]RegexSearch(VarA, "^" & VarB, "")[/code:2vub40wo]
    
    You can use the [b]right(text, count)[/b] expression to get the last character
    [code:2vub40wo]right("some text", 1)[/code:2vub40wo]
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You could use the timer behavior: textChangedTimer.capx (r200)

  • Currently, when enemies are destroyed they spawn an item, could the changing of the layouts, be "destroying" the enemies and would that enable their items to then be spawned on the new layout created?

    Yep that's what happens.

  • Set text to

    uppercase(left(text, 1)) & right(text, len(text) - 1)[/code:2m1c10yd]
    
    *edit* if you want the rest of the text to be lowercase
    [code:2m1c10yd]uppercase(left(text, 1)) & lowercase(right(text, len(text) - 1))[/code:2m1c10yd]
  • Get ready to kick yourself. You have the username and password mixed up - you're sending the username as the password and vice versa.

  • No problem. Here's an example: createObjectsNoOverlap.capx (r200)

  • The first problem you can get around by creating all of the objects first in one event and then do the checking in another. Like:

    on start of layout -> create 200 rooms

    on start of layout -> check for overlaps

    For the container picking problem, you can use families. If rooms are in RoomFamily and walls are in WallFamily then picking RoomFamily won't pick the matching walls so you can pick them separately. There are probably other ways to do it like using another sprite that you place on top of a room and check if it is overlapping any other walls (or more than 1 wall?).

  • I can see a couple of problems there. There's the picking newly created objects problem and then there's a container picking problem (assuming WallBlueprint is in a container with RoomBlueprint).

    I think what you are trying to do is: you create a room and a wall and then you want to pick the newly created room plus all of the previously created walls and check for overlaps. Right?

    When you create an object, it is picked in that event and any sub-events but you can't pick it through a condition until the next top-level event (except for pick by UID). So, in the first iteration of the loop you create a room and a wall. They are both picked for the rest of the sub-events. In the second iteration, you create a new room and wall. Now those two are picked. The objects created in the previous iteration of the loop are no longer picked and can't be picked again by conditions (except by UID).

    The other problem is that if you pick an object in a container then it picks all the other objects in that container. When you pick a room, its matching wall gets picked and when you pick a wall its matching room is picked. You can't pick them separately. You can't pick just a room from one container instance and the walls from another.

  • You'll probably have to implement your own double jumping.

  • Something like this:

  • Yeah that works well. timestamp_difference.capx (r200)

ramones's avatar

ramones

Member since 17 Apr, 2012

Twitter
ramones has 4 followers

Trophy Case

  • 12-Year Club
  • x4
    Coach One of your tutorials has over 1,000 readers
  • x2
    Educator One of your tutorials has over 10,000 readers
  • Email Verified

Progress

15/44
How to earn trophies