Share My Creation Mad Maze + Source Code

Discussion in 'B4J Share Your Creations' started by ilan, Sep 1, 2015.

  1. ilan

    ilan Expert Licensed User

    hi every one,

    ready for a new game?

    Mad Maze is a simple maze game, you need to catch all 4 diamonds and may not touch the walls. after collecting all 4 diamonds find the way out, but do it quick you got only 2 minutes to do that!

    Move the player by using your KEAYBOARD! " a,s,d,w or 4,5,6,8 "

    Have Fun :)

    EDIT: for now the app works only in debug mode, i dont know why in release mode i get an error and in debug i dont... LINK

    note that you will need the jMsgbox lib & jfxtras-labs-2.2-r5.jar to run the app, you can download them here: http://www.b4x.com/android/forum/threads/msgbox-library.34700/#content

    screenshot.png
     

    Attached Files:

    Last edited: Sep 1, 2015
    Phayao, wonder, Jaames and 2 others like this.
  2. Erel

    Erel Administrator Staff Member Licensed User

    Which error do you get in Release mode?
     
  3. Jaames

    Jaames Active Member Licensed User

    src\b4j\example\main.java:506: error: incompatible types: Control cannot be converted to Pane
    if (_c.getObjectOrNull() instanceof javafx.scene.layout.Pane) {
    ^
    1 error
     
  4. ilan

    ilan Expert Licensed User

    Fixed, new version is available... (if you would like to know what causes that error see this: LINK)
     
    Last edited: Sep 1, 2015
    Jaames likes this.
  5. ilan

    ilan Expert Licensed User

    btw does b4j support keyboard tracking?
     
  6. Erel

    Erel Administrator Staff Member Licensed User

  7. Beja

    Beja Expert Licensed User

    This is Ms packman>> thanks Ilan for sharing the source code.. Are you a veteran teacher?

    I would suggest to you rename it Packman Lite
     
    ilan likes this.
  8. Beja

    Beja Expert Licensed User

    @ilan,
    I couldn't compile the project and got this error:

    B4J version: 3.61
    Parsing code. Error
    Error parsing program.
    Error description: Unknown type: msgboxes
    Are you missing a library reference?
    Occurred on line: 12 (Main)
    Dim msgbox As Msgboxes

    logs:
     

    Attached Files:

  9. ilan

    ilan Expert Licensed User

    See post nr1:

    note that you will need the jMsgbox lib & jfxtras-labs-2.2-r5.jar to run the app, you can download them here:http://www.b4x.com/android/forum/threads/msgbox-library.34700/#content
     
    Beja likes this.
  10. Douglas Farias

    Douglas Farias Expert Licensed User

  11. ilan

    ilan Expert Licensed User

  12. wonder

    wonder Expert Licensed User

    I'm at work and I don't have admin rights to install B4J on this PC... :( Is it possible for you to provide the Jar file, @ilan? :)
     
  13. ilan

    ilan Expert Licensed User

    Sure: https://drive.google.com/file/d/0B2eRQD9TJiOQZWtxQVZlMk5fWGs/view?usp=sharing

    But i need to mention that i did this game and clumsy bird before erel announced about "Gameview for b4j" and also i didnot knew that b4j support keyboard tracking so i used another way to track my keyboard... (for sure not the best solution, so this game could be done much better :))
     
  14. wonder

    wonder Expert Licensed User

    Are by any chance the wall electrified??? :D Cute sprite animation!! Thanks for sharing!!!
     
    ilan likes this.
  15. ilan

    ilan Expert Licensed User

    I wanted to add an electricity shock animation when he hits the walls but i didnot wanted to spend to much time on it (took me about 3 hours) so you and everybody here are welcome to improove the game :)
     
    Last edited: Sep 30, 2015
    wonder likes 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