Android Example Simple views colision (RPG Game)

Discussion in 'Tutorials & Examples' started by Douglas Farias, Jul 31, 2019.

  1. Douglas Farias

    Douglas Farias Expert Licensed User

    Hi all.
    I made a simple collision example, where our player (black square) can collide with any other view that has the tag = 1

    This example is in Portuguese obviously because I am Brazilian, I believe it is easy to convert to your language, it is very simplified.



    colisao.jpg

    This example can work on B4A, B4i and B4J.

    Thx
     

    Attached Files:

    Last edited: Jul 31, 2019
    jmon, Beja, Alexander Stolte and 4 others like this.
  2. Douglas Farias

    Douglas Farias Expert Licensed User

    Here is an example of how we can use the collision example to create a simple RPG game.



    Sem título.png

    Download: HERE

    thx
     
    Last edited: Jul 31, 2019
    Alexander Stolte and Procesor like this.
  3. Erel

    Erel Administrator Staff Member Licensed User

    Douglas Farias likes this.
  4. Douglas Farias

    Douglas Farias Expert Licensed User



    Another example.
    this have.

    - Background Music
    - 2 Maps (Normal + House)
    - Now you can enter in the house, just hit ENTER on the door
    - Sound to open the door
    - The movimentation is better now, you can press 2 keys (arrows) at same time
    - Cloud with animations
    and more.... like the video above.

    Game example download
    HERE

    Source code download
    HERE
     
    jmon, alimanam3386, fredo and 4 others like this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice