firebelly's Forum Posts

  • I am going to kick around these ideas as much as I can.

    I haven't looked at WebStorage yet, I'm still getting used to the HTML5 world (coming from ASP.Net). I think what webstarage is doing, is standardizing page state? This way any browser should in theory be able to share these states. My idea was to shove that into the cloud with a key. So if you move around and you have your key, you can get your state anywhere. (Azure costs money use FYI).

    Alternately, you could just specify a google drive,mobile me, dropbox or skydrive folder to save the state to an XML file.

  • FIRST THING!

    How are other people managing state. This is what I consider state to be for more games.

      Score Progress in Game Achieves HATS

    Has anyone tried tackling this? I think my crazy large solution will be to create a Azure web service, and have it store a app GUID and a small amount of meta data per user. No login or pass so your data is only as secure as how much you give out your guid. I think with some JSON behind the scene you can just write data to an array/dictionary as the game goes on, and then you can save it to the web service when online. Or save it to a file on dropbox maybe.

    SECOND ITEM!

    I have seen a couple of threads on object collections before, but I wanted to touch on them again.

    One thing that was always helpful when I would build games in XNA was the fact you can use classes to represent objects. You could easily group objects together to form complex ones.

    One example is a boss spaceship. It has many moving parts on it, all with different behavior and sprites. Like turrets, bullets, parts of the boss that move etc.

    This is more of a feature request than anything: I'd like some way to organize an object and attach it to other objects (not pinning). So if I have a boss enemy called Boss1 and I have a bunch of turrets attached to it, I would like to call them like this Boss1.Turrets[0].Angle or something along those lines. Basically the attached objects become part of the parent object allowing you to make complicated objects. Is there a way to do this already?

    Is there a way to get more debug information out of this? I'm a developer so I can understand api calls, stack traces etc. Is there anyway to see more detail about what could going wrong?

    Tested with Logitech Precision Gamepad.

    Chrome 20 Beta: Nothing

    Firefox 16 Nightly: Nothing

    Firefox 11 Gamepad Nightly: Nothing

    Windows 7 sees the gamepad and I can see button clicks in the test app for the driver, so it must be an issue with the browsers.

  • I agree, but I have coded some proof of concepts with native PhoneGap 1.8 and they have performed well and looked fine (scale was good).

    You have to plan for single clicks of course, but I think the platform can handle the HTML5 content to some extent (simple games). I have doubts IE10 will help much other than performance and some HTML5 feature compatibility. I think the single touch is a little bit of a hold over from 7.0 and silverlight. Silverlight never really handled multitouch well. I don't see how they would include it now, but there is always hope!

  • I can get it to sort of load myself with that template you posted. My issue right now is the scale. There seems to be a scaling issue where there is a good deal of space (about 40 pixels) on the bottom that pushes the canvas up and shrinks it.

    Also is the main issue with PhoneGap/WP7 the screen bounces if you touch and drag.

    Also I don't know how to get the manifest.xml to profile from the exported file, I seem to be manually editing those every time I use a phonegap template. I think I just need to make sure VS takes care of that.

  • Looks like they are using phone gap and kendo ui to do things. But I agree that cocoon looks best so far.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Has anyone played with icenium.com

    I got a trial account and was trying to get some games to work in it, with little luck so far. I haven't tried the phonegap or cocoon exports yet. Was curious if anyone had tried it.

  • Not yet! I wasn't really looking for alternative to the native gamepad plugin, I was just curious if anyone had played with that other thing. Once I get my game play working a little better, I'll start testing game pads.

  • Anyone following this guy? youtube.com/watch he seems to be working on HTML5/Gamepad support. Looks like a nice interface.

  • I am trying out the 8way direction behavior on a scrolling spaceship. The movement is great, but my problem is that I wanted to do some action when the player is in a certain area, and moving in a certain direction.

    Normally when I would do movement, I would handle the input. Each Tick, while Up Arrow pressed: Add 1 to player Y. This way, I could also do something like move something else +1. But with 8Way, I'm not sure how to capture that event or that number (position) without comparing it. This would require me to set a instance variable such as LastKnownY and currentY.

    Does anyone have suggestions or best practices around movement that is easily tracked? Such as if player moves 2 pixels, I can move something else 2 pixels. If there is a way to do this with 8way, that would be great.