tipztv's Forum Posts

  • Hi all,

    I'm wondering how c2 deals with objects using the same image when they are in the window view.

    Are 10 objects using the same image will be counted as 1 object in the scene? or 10?

    If they are counted as 10 objects, is there any tricks to make them be counted as 1?

    In the past, I used Unity 3D. There are plugins that can be used to combine sprites into a bigger sprite sheet. Every objects in the scene use the same sprite sheet so that reduces the draw calls => better performance.

    This is not an issue for my game atm as it is running great on the mobile, I just want to know.

    Thanks!

  • bon4ire that issue is solved. Just use the template that comes with the plugin, use my above suggestion and it will work. There are two Landscape setting in the mainpage.xaml file (in the same line), make sure to change both of them

  • bon4ire change the orientation from landscape to portrait in the mainpage.xaml file

  • The plugin is buggy, and it is not even being supported by the developer anymore. It will stop working at anytime so rely on it is not a good idea

  • thehen maybe you should go to a local store to test it? the 520 (lower specs) is even more popular than the 920.

  • thehen which bugs are you talking about? Any bugs that you cannot reproduce?

    A friend of mine give it a try on the lumia 620. It runs a bit laggy :(

  • austin any changes that break the game on mobile phone? I'm using the 0.4.7 version. The plugin seems to work fine in previous version. Now, it only shows the login box on the PC version, the Windows Phone 8 build is broken. The only way I can make the login box is to submit the score, then the login box will show up, but it does not remember my login detail either. The plugin is not ready all the time (i'm using a text object to update the plugin status)

  • Here is what I have been working on...

    This is my first game made with C2. It will be released very soon.

    <img src="https://lh5.googleusercontent.com/-qZm8vIwufOE/UadENhwR55I/AAAAAAAAAEE/HmjNBRlVbFs/w500-h268-no/3.png" border="0">

    <img src="https://lh3.googleusercontent.com/-oVNbNtrmnrQ/UadENNnkvjI/AAAAAAAAAD0/b2fJRJX7TQo/w500-h252-no/2.png" border="0">

    <img src="https://lh3.googleusercontent.com/-HL1ZXyCKHH4/UadENdCKJxI/AAAAAAAAAD4/Ras43FtkOsw/w500-h224-no/1.png" border="0">

    It's a combat racing game. Includes several game modes like capture flag, death match, survival..... Players defeat the enemies to level up, earn more ability, buy more powerful cars, buy power-ups to against more powerful enemies.....

    Here is a demo video if you want to watch. The video was 2 months old so the game is very different now. Also, most bugs in the videos are fixed :)

    Let me know what you think.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • thehen I received this warning in Visual Studio:

    This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.

    The highlighted method is Browser_ScriptNotify. I notice that inside the method, you check if (valueArr[0] == "gameLoaded") then set the browser.opacity to 1 to hide the splash screen. Maybe that leads to my previous issue of not being able to launch the game directly except by long-pressing the back button?

    The game seems to work fine if I remove the Grid.Background and remove the Opacity line inside Phone:WebBrowser

  • gamepopper you may want to replace all the namespace and others that include WindowsPhonePluginForConstruct2, most of them are in the .cs files.

  • Ashley Warhorse the problem is that one of the condition in the plugin is deleted. Not sure why it was passed in the 126 built, but it messed up my project in 132. The plugin is the Windows Phone plugin, condition was deleted is On app deactivated.

  • Good news! My project is working like it should now.

    I'm still not sure what the problem is but I would recommend not to copy the c2runtime.js file, the images, and the media files to the template project and test the game with it. Even though I have edited all namespace, references.... to match my project, the bug still persist.

    So I decided to use the default project, exported by the engine, and copy over the necessary codes that I use (mainly in the MainPage.xaml.cs), and it is working! :)

  • thehen The default game project (awesomechase22.zip), which is exported by Scirra seems to load fine everytime. The new project (project.zip, in the new PM), included the plugin seems to hang at the second load. The bug is really random though so I don't know what's going on.

  • thehen PM sent :)

  • thehen okay, the VS studio project or the capx file? Skype or via message?