Nemega's Forum Posts

    Hi there.

    Does anyone know why any steam related UI (achievements, overlay, etc) is cropped ? Used nwjs19.4 and steamworks 1.38a as specified

    https://imgur.com/a/E4i37

    Thank you

  • On the browser plugin runtime.js line 54, I replaced

     let browserInstance = null;[/code:21xhc8gr]
    with
    [code:21xhc8gr] var browserInstance = null;[/code:21xhc8gr]
    then I could use the minifier again. As a temporary solution it should work.
  • I Wanna Be The Co-op is a game based off the famous title I Wanna Be The Guy. This challenging platformer will push your skills to the utmost limits. The whole game took me about one year to make and is centered around the unique multiplayer experience. It is recommended to play in co-op but a single player mode is also available. Meet with various characters from famous game licences across 4 stages and fight tons of epic bosses. A browser version and a Win32/OSX/Linux version are available.

    It is heavily recommended on your first playthrough to play on Normal mode. Works best on Chrome.

    ----------------------------------------

    Controls

    ----------------------------------------

    Arrows - Move

    Shift - Jump / Double jump

    Z - Shoot / Use power

    R - Restart to the current save

    These controls can be changed through the Options menu.

    Play the game NOW !

    Have fun !

    ----------------------------------------

    FAQ

    ----------------------------------------

    Q: The game is not running.

    A: Try to update DirectX using dxwebsetup.exe.

    Q: I am stuck on "Waiting for players" screen.

    A: Try these solutions:

    • Make your friend host the game if it is not working for you.
    • Make sure your network configuration does not block large port ranges (so peer-to-peer traffic can work).
    • Your network configuration must not block WebRTC connections.
    • Turn on NAT in your router.
    • If you are using the browser version, you must both use the same browser (Chrome is preferred).

    Q: What is the difference between Medium, Hard and Master ?

    A: Medium: Less spikes, less boss phases, slower attacks, less bullets. No secrets. For players new to I Wanna be the Guy fangames.

    Hard: Intended difficulty. For experienced players.

    Master: More spikes, extra boss phases, quicker attacks, more bullets. For hardcore players. It is not recommended to play this mode on your first playthrough.

    Q: The other player is invisible on my screen.

    A: Reload the game.

    Q: I reached a secret boss but it restarted on the previous boss.

    A: Reload the game.

    Q: Can I play on browser and my friend on this standalone version together ?

    A: Of course as long as you are both using the same version !

    ----------------------------------------

    INFOS - CONTACT

    ----------------------------------------

    If you find any issue or if you want to support the game, reach me on:

    *Twitter - twitter.com/nemega

    *Twitch - twitch.tv/nemega

  • Hello !

    When I am running my game on Chromebook there is a black screen and this error is showing up:

    [quote:26hy7zke]Cannot set property 'hasCurrentMatMV' of null c2runtime.js:49

    It is located on this function:

    GLBatchJob.prototype.doUpdateModelView = function ()
    	{
    		var i, len, s, shaderPrograms = this.glwrap.shaderPrograms, currentProgram = this.glwrap.currentProgram;
    		for (i = 0, len = shaderPrograms.length; i < len; i++)
    		{
    			s = shaderPrograms[i];
    			if (i === currentProgram && s.locMatMV)
    			{
    				s.updateMatMV(this.mat4param);
    				s.hasCurrentMatMV = true;
    			}
    			else
    				s.hasCurrentMatMV = false;
    		}
    		mat4.set(this.mat4param, this.glwrap.currentMV);
    	};[/code:26hy7zke]
    
    I believe that the shaderlist contains nullpointers so it can't set its own variables. I also suspect that a specific shader may be the cause. Now is there a way to prevent this from happening like blocking the shader instead of running it ?
    
    Thanks in advance,
    Nemega
  • Hello,

    Let's say I have 50 bullets with an internal variable named "Color"

    I was wondering between these 2 series of events which one would run faster:

    -Bullet.Color == 1: Action X

    -Bullet.Color == 2: Action Y

    -------------------------------------------

    -For Each Bullet

    + Bullet.Color == 1: Action X

    ELSE Bullet.Color == 2: Action Y

    The 2nd seems to have less comparisons but I am unsure how C2 instance selector works. Can you help me please ?

    Thanks a lot

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Not that big of a deal. As you said, just slight differences in hues. I tried to find why but with no result, that's why I am asking here.

  • I have recently found that exported games have slightly different colors on IOS in comparison to their desktop version. Put your iPhone/iPad next to your PC screen to check for yourself. Is that a normal behavior ? If so, is there a way to prevent this from happening ?

    Thank you

  • We got the same issue reported by a sponsor. For now we use a timer on user touch input as a workaround. Touch inputs seem to massively slow down every game though. Is this a construct related issue ?

  • Sorry to revive this post and to ask more but I have noticed an issue on IOS6 in landscape mode (fullscreen). On every fullscreen mode, the game canvas will have either a 60px black bar or will be cropped by 60px depending on the mode. For instance, using scale outer on my iphone 4 IOS 6.1, the canvas size is 480x380 (instead of 480x320).

    So while it is working flawlessly in portrait mode, it would be very nice if you could add the option to hide the address bar or not for games running in landscape mode. Oh and thank you Ashley for listening to our request and bringing back this option in the first place, it is very crutial when dealing with publishers.

  • Thank you Ashley. However, it is still happening for me (r164.2). Can you confirm that you solved it ?

    Regards

  • I don't know where to post since the is no thread for your touch wrap plugin, but Ashley recently corrected an issue regarding the touch object: "Mouse or Touch object with 'Use mouse input' could block form controls from unfocusing". I don't know if you are still keeping your touch wrap up to date but I let you know this issue.

    Regards

  • skyhunter93 i'm using letterbox scale fullscreen mode. I tested the game with iOS 6.1.2, 7.0.4 and 7.0.6 - everything is perfect. I don't sure what is the reason of that bug on 7.0.2 ._.

    Anw, what is about the problem of Samsung devices?

    Not sure if it is related but I have noticed that if you include the plugin FaceBookComplete or if you open a tweet intent page using the Browser object, an error "Could not create a message from input" from spilgames.js is raised. So I assume that calls made from outside your game can break the API.

  • Problem Description

    If you click outside a textbox it will not call unfocus() if there is a Touch Object in your project. On Chrome, you will not be able to select a portion of what you typed.

    Attach a Capx

    dl.dropboxusercontent.com/u/22937829/bug_textbox.capx

    Description of Capx

    No events, just a textbox and a touch object.

    Steps to Reproduce Bug

    • Click on the canvas (not on the textbox)
    • Click on the textbox
    • Click outside the textbox

    Observed Result

    The texbox will not be unfocused. Moreover, in Chrome, you will not be able to select a portion of what you typed.

    Expected Result

    Call unfocus() when you click outside a textbox. Be able to select a portion of what you typed on Chrome when focused.

    Affected Browsers

    • Chrome: (YES)
    • FireFox: (YES)
    • Internet Explorer: (YES)

    Operating System and Service Pack

    Windows 7

    Construct 2 Version ID

    C2 r163 (stable)

  • True. All sponsors request us to remove the address bar or they will not buy C2 games. I found a quote from Ashley about this issue on IOS:

    iOS 7 removed the ability to hide the address bar, and accordingly we removed the option from Construct 2 (the code is a horrible hack anyway which Apple appear to never have wanted to support in the first place).

    iOS 7.1 adds an official new option to show minimal UI, which we're already applying automatically in the latest build, so when that comes out it should be solved.

    The fact is that a lot of users still have IOS6. So even it is a horrible hack, at least keep it for IOS6. I know there are some workarounds but they are breaking fullscreen modes.

  • Thank you for your answers.

    What is odd is that it happens even if it is the first time you open the game so there is no offline cache yet, right ?

    Well I had time to investigate this issue. It seems that it only happens if there is the Browser object in your project. Since the game is playable after the first bar completion, I assume the second one is for sounds/music. Or maybe because of the Browser object, it is trying to reach an update. These are just assumptions and it does not bother me that much too but I was just curious if there is an explanation to it.