Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - xboxown

#1
  Hello,

I have one little issue where the object (item) is above the player instead of underneath it. I saw the baseline as value which determine between behind or above. So, it started with 1 if I go below to 1 it cancels the baseline and become automatic instead of manual. If I go higher than 1 it goes even above the player. Any advice?
#2
  Hey guys,

I have one other question to ask. I want when the tentacle collides with the player it is considered game over. The player is crushed and dies out. How do I make the collision detection for that? Another thing, how do I replace a character in the map, add another character in the map and make that new character after reaching its destination disappear and be removed from the map?

I will explain. I have a Frail Stalagmite. It comes into two part. One is the full frail stalagmite, once the tentacle hits it, the full stalagmite is replaced with broken stalagmite one and another piece is added and falls down to the water and disappears once it hits the water.
#3
     Hello guys,

I need help in a basic scenario for me. I have a sea monster with two tentacles one on the left and one on the right. Their position is as follow:

Main monster head: 103, 107
Right tentacle: 158,111
Left tentacle: 56,112

This is the current code for the monster moving to the right:

Code: ags
if (!cSecondTentacle.Moving)
    
    cSecondTentacle.Move( 238, cSecondTentacle.y, eNoBlock, eAnywhere);
  if (!cSeaMonster.Moving)
  
    cSeaMonster.Move(190, cSeaMonster.y, eNoBlock, eAnywhere);
  if(!cTentacle.Moving)
   
    cTentacle.Move(145, cTentacle.y, eNoBlock, eAnywhere);

Right now the speed of the monster is super fast. How do I slow it down correctly? Second of all, how do I make it that monster move randomly between 0 to 238 with their tentancles and body in corrent distance between each other. i want it..when it reaches a certain waypoint or point it stops for like 5 seconds before picking another random position to go too. thanks in advance.
#4
  I know what I am asking is trivial but to me it is not. I have a robot who joins the party later in the game. When I ask the robot to go to pick an item what I need it to do is walk to the item first, no matter what obstacles in its path before picking an item.  This is the code I did to make it happen...issue is with the y coordinate not the x coordinate.

Code: ags
    if ((cHelperCX100.y-itemY)>20)
    {
      cHelperCX100.Walk(cHelperCX100.x-(cHelperCX100.x-itemX),cHelperCX100.y-(cHelperCX100.y-itemY),eBlock,eWalkableAreas);
    }
    else if (cHelperCX100.y-itemY<20)
    {
      cHelperCX100.Walk(cHelperCX100.x-(cHelperCX100.x-itemX),cHelperCX100.y-(cHelperCX100.y+itemY),eBlock,eWalkableAreas);
    }
    else
    {
      cHelperCX100.Walk(cHelperCX100.x-(cHelperCX100.x-itemX),cHelperCX100.y,eBlock,eWalkableAreas);
    }

If you notice on this picture here https://imgur.com/RohPOgs if I tell the robot to pick up the globe it uses the x and y correctly to reach in front of the globe before it either talks out and says it cannot pick the item up or it picks the item up. As you can see no matter where I am at the bottom of the screen the robot does the job. Now, of course there are no obstacles in front of it or walls to go around it or anything like that so I have never tested it what happens if there are obstacles in it's path if it breaks the line of path or the robot is smart enough with the line of code above I have written to go around the obstacle until it reaches it's destination. But for now, it is working so far.

The issue I have is when I go up the screen and move to the top left side of the screen. That is when the robot does not behave correctly.

This is what I want it to do https://imgur.com/TC2PNUQ but it doesn't do it. This is why I put an X. This is what it does instead https://imgur.com/ecG2suO When it reaches at the end of the cliff up it acts like it cannot pick the item or pick the item up and as you can see the globe is all the way down there...it is not even close to the globe. Any advise in how to fix this issue?
#5
   Hey guys,


  My game is about robots and robot world, the main hero does not have hands. He need to have another robot to join it which have hands, that robot when I talk to it in a dialog and pick a choice to show me it's inventory that is when the inventory pops up. Right now as default the player can have the inventory pop up under the menu choices above . I want to remove that completely and only have the player display the inventory by talking to the robot that joins you and ask it to show the inventory under the dialog script. How do I do that?

  The default template have multiple functions and loops, etc and calling other functions to open inventory and all stored under global scripts. Obviously I cannot call that function from dialog box editor. I don't know what to do. Thanks.
#6
I am in the giants cave and tried to put the six runes but to no avail it is not working. Any advise in how to solve this puzzle? Thanks in advance. Do you have a video in youtube showing how to solve it or picture showing how to solve it? Thanks in advance.
SMF spam blocked by CleanTalk