about rpg games

0 favourites
From the Asset Store
20 high quality click sounds, ready to improve your game's UI instantly
  • Be more specific. Why wasn't it working? What do you think went wrong? I recommend you take a look at the capx again and go over it thoroughly. You might have missed something. I just implemented a dialogue pop up system very similar to this for my game. When the player collides with an important game upgrade, you get a message explaining the button to press to activate it. At first, I couldn't get it to work but I didn't have the variables and "Set Text" function correct. That link and capx is just one of many ways to create a dialogue system. Use the search function in the forums and the search function in the tutorials section to find more examples. Search for "dialogue" or "cutscenes".

    If you're having problems with variables, you have to take a look at the manual, other game examples and experiment with other tutorials. This is a tutorial that really helped me understand variables a bit better and helped me move forward in making my game.

    https://www.scirra.com/tutorials/158/ve ... two-states

  • ok i got it now its its working fine heyguy thanks a ton friend but can you also fix my first problem too.

  • prashant3999

    Why dont you:

    L1-city On start of layout>>(check instance variable "IsInShop")>>

    If true>>player.X and player.Y = door.X and door.Y

    If false>>another place

    To make this work you need to create the instance variable "IsInShop" for the player.

    Then:

    L2-shop On collision with door>>Set "IsInShop" to true

  • Did you see my post on your other topic?

    Look at my last post. That's how I moved my player from one layout to another and back and forth. Eventually though that system broke on me. For some reason, switching from layout 3 to layout 4 never worked correctly. I couldn't place the character in the position I wanted.

  • its working its now worked i have done this created instance variable for character and event sheet L1 written on collision with door -go to layoutL2 and set variable to 1 and in event sheet of L2 written that on collision with door - go to layout L1 and set variable to 2 NOW in event sheet of L1 written in compare varables when variable set to 2- position of hero and set variable to 3 and on another event when variable set to 3 - 8 direction movement enabled.. man now its working..perfectly thnks for your replies heyguy and Programmer25

  • you know in a rpg game you have to make many cities and go back and forth in and out of cities so my question is that if i have three cities (3 layouts) L1,L2,L3 and i want when i go L1 to L2 my character position will be extreme left in L2 and when it goes L2 to L3 and them comes back from L3 to L2 position will be extreme right how to do that???

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I thought we figured out your issue on your other post. It might help posting a capx of your problem. Use the search function and the tutorials page to find other examples of moving between layouts.

  • anyone can explain how can global variable "STORE" positions of character

  • https://www.dropbox.com/s/dkqrwnwdz75qh ... .capx?dl=0

    Changing layouts and using source layout for spawning.

  • prashant3999 If you want to learn how to talk or communicate with others then try this tutorial link below

    https://www.scirra.com/tutorials/4872/r ... ial-part-1

    https://www.scirra.com/tutorials/4876/r ... ial-part-2

    and so on

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)