• Content Count

  • Joined

  • Last visited

About Henrique

  • Rank
  • Birthday 06/11/1987

Contact Methods

  • Website URL
  • Twitter

Profile Information

  • Gender
  • Location
  • Interests
    Game Dev

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. "Warning" 10 days GameJam Game made with: Phaser.io(v2) Link: https://gamejolt.com/games/hit-and-samba/322267 Hello there, and welcome to the show! So, are you tired of those old fashion parades, huh? So are we! We would like to see those powerful and magnificent cars that open-up the event doing something more than just passing by us at low speed, having people hanging there doing nothing at all. Aw, come on! People spend a lot of money, time and put much effort on this event and in the end, it goes like a walk in the park? Where is the speed? Where is the FUN? This is so wrong! They should be more fast and furious! Don't you think? Ah, thank you! We knew you shared the same thought! <3 Lucky, for you and me, we can gladly present Hit and Samba, a game where all the carnival's magic is elevated to the ultimate limits! YES! We proudly present what was missing in the event: extreme competition and fun! Come join us on this (now) awesome party! Like someone used to say: "Let's get ready to rumble!!!" Controls Yeah! We are happy to see you reading this too! We knew this event was destined to greatness! To play is pretty simple: On the left side of the screen, you have your Power Bar. Click on the button to charge it, you have a limited time to do it, so be fast! When the time is up the power bar will be locked and the cars will attack. After each attack you must set up the power to hit your opponent again, so be ready. The bar has some parts were you can do even more damage and finish the fight quickly. If you are skilled enough you can do up to 5 times the damage! Upgrades After you won the round you can upgrade your car by giving it more attack, defense or health to the next encounter. Good luck and let's get this party! Have fun!!! Credits Art: André Forni Audio: Daniel Halond Code: Henrique & Anderson Rodrigues Design: Icaro Ferracini
  2. Game that I made for a gamejam: ---- Game link: 12 levels.
  3. I fix the "th" thing and other minor typos. hehe. Thanks! I'll show you to education professionals, maybe get some investment. If I succeed I will give continuity to the game.
  4. thanks for the feedback! Add a "tip" to the loading screen and also add a time bar per turn. By the way, I put the demo on kongregate too! Take a look. http://www.kongregate.com/games/HenriquePikachu/the-42nd-bridge-demo
  5. Hi everyone My entry in Jamtastic vol.#1 Play here: (link fix) Made with: Phaser/Typescript (I'll put the game code in github soon. ) Any comments, feedback or suggestions anyone has is greatly appreciated =D
  6. At the time I used version 1.x. Take a look at this link. I hope it helps with something.
  7. Try (jquery): $.post("<SERVER_URL>", {objects: objects}, function(result){ alert('Done!'); }); Remember, you still can use javascript / libs / frameworks. In my personal projects, I use angular to do things that are not part of the game logic.
  8. I would do one of the following: State Change Params Temp Save Game State (localstorage, indexeddb/websql...) Maybe create your own class to persist/manage these variables/states.. (extends Phaser.State)
  9. Ok, a solve the client download problem, add some hints and create a new template: details: https://github.com/pe77/pkframework-examples running: pkframe init -p layers template running print: // "hey kiddo... Over here! Do you want kill some vampire lords"?
  10. >First of all: Sorry for my shitty english... I created this collaborative framework not with the intention of remaking the library(phaser) but organize code and the development environment. I separated in three parts: > Pkframework (github project) The framework itself // need to documentation @todo > Pkframework exemples (github project) Which will be both the repository of examples as the initial development models > Pkframework client (github project) Install the initial models and make them work (webserver, auto typescript compile/deploy, liveload, etc ...) I have some goals: > Development time - Quick installation of an initial template. (Pkframe init -p <example-dir>) - Modular, exensive and reusable code. Create your own lib and / or packages. > Simplify some concepts and create easy way to make somethings: - Layers (@done) - Paralax (@todo) - Pass parameters between states in a clearer way (done) - Events function as (actionscript like) [listener / handler] (done) - Prod / Dev env, deploy and configuration (@todo) - Premade UI layers, boxes, talkbox (@todo) - Integrate external apis (facebook / twitter) (@todo) > Export to mobile My next step is create something like: pkframe export --platform=android --release Export your project using cordova and generate a apk. (Or xcode project for [ios]) > Organizing the development environment If you get the code from another programmer, and this game was made using the framework, it will have a structure pattern. Which also makes it easier to work with someone. > Make It Simple! One of the things I love about the phaser is its simplicity. I started only with the framework, but I managed, through pk-client, to work with 2 commands. You no longer need to worry about apache/ngix, typescript compile (or prototype native js), and no browser refreash! A very similar environment with ionic. Only you need if NodeJS installed and pkframe client: - Install nodejs - run [npm install -g pkframe] Ok, now to install one of the initial templates or examples just need to run: - [pkframe init] // in an empty folder | default get a basic example/template | you can use [-p layers] to see another littler more complex example - [pkframe go] // to run all the rest // for some reason, only the first time i run [pkframe init], a get a error but, on the second attempt works. Dont give up! With the server running(simple local httpserver), each change in the code will compile the ts(auto tsc -w) files and refresh the browser(liveload). I wonder what you think of the idea? How is a fully open source project, I thought of something collaborative.
  11. In one of my games runs into an angular application. When the player reached highscore, I take a print out of the canvas and send the image to the server. However, this action was triggered by the game(phaser canvas), not by the angular app. // get angular scope this._scope = angular.element($('ion-view')).scope(); // call controller function this._scope.ShareRanking(this._game); in angular controller: $scope.ShareRanking = function(game) { $scope.rankingImage = game.canvas.toDataURL(); // bla bla bla ... Just do the same by adapting the code to, whatever it is using outside the phaser. scope: javascript.app { phaser.app } Just pick up the variable / function. outside canvas: var foo = function (param) {console.log ('done!', param)} inside: foo('yeah!'); Sorry for my shit English. I hope I have helped! = D
  12. Hi! I have a little issue or misunderstanding. I do not know yet, help me figure it out. Look at the following code: // inside state create this.game.physics.arcade.gravity.y = 150; // create a simple group with a sprite into this.groupTest = new Phaser.Group(this.game); this.groupTest.enableBody = true; this.groupTest.add(this.game.add.sprite(0, 0, 'simon')); // f5 here : OK - Noting happen // or p2 this.game.physics.enable(this.groupTest, Phaser.Physics.ARCADE); // f5 here : OK - group and sprite inside fall like a rock // body undefined this.groupTest.body.velocity.x = 0; If I change the group by sprite it works, BUT, I need it to be with group. I know that in pure javascript inject variables (like body), it would work without any problems. But I'm doing it in Typescript and in Phaser.Group has no body. How to make it work? thnks! =D