lamar's Forum Posts

  • UPDATE: I found the problem and I had added the gamepad to the game and was going to include that as an option for play but never wrote any events for the game pad.

    I removed that and game loaded perfectly on Itchio and Kongregate so this appears to be a bug with Gamepad.

  • I have uploaded games to Itchio before but it has been awhile and for some reason I can't seem to get it right.

    I have exported as HTML5 and zipped the file.

    It loads with no errors to Itchio and displays the C2 load screen and icon but the load bar does not start and it just does nothing.

    Tried putting all files together with no subfolders and there is the Index.html file right there in the file.

    Not getting any error messages and just does not load and start.

    Any suggestions?

    EDIT: I tried the same game on Kongregate and same problem. Would not load.

    I tried my newest game and it uploaded and started just fine on Itchio. So it appears to be a problem with that specific game but not sure what it could be. Will have to go back to some old saves and see if they load.

  • Hmmm?

    Did you use an addon or plugin when you created that capx and then download a new version of C2 that does not have that addon or plugin?

  • > If you are still moving the cursor with the mouse then it will not jump when the player jumps.

    >

    > You can't have it both ways!

    >

    Are you saying that because Construct 2 doesn't have the capability to do that. It's just games such as Soldat and another game called Butcher do it perfectly.

    Subscribe to Construct videos now

    I looked at your video and the cursor is NOT jumping with the player and is using the mouse control.

    You asked how to make it move with the player and that requires turning off that mouse positioning. and I explained how to do that.

    If you want the player to move as the mouse moves then you are asking the wrong question.

    Have a great day and hope you find the answer you are seeking!

  • >

    >

    > OK maybe you missed the part where I said TURN OFF Every Tick?

    >

    > That way the sprite you are using for the cursor will no longer follow the mouse and then move that cursor following the Y position of the player and then turn Every Tick back on so the cursor follows the mouse.

    >

    > Best of luck!

    >

    Hi, no I hadn't missed that. You see I want to be able to move the cursor with the mouse while jumping so turning it off would mean that the mouse wouldn't have any control anymore which isn't what I need.

    Thanks anyways

    If you are still moving the cursor with the mouse then it will not jump when the player jumps.

    You can't have it both ways!

  • Only two clicks?

    Does not sound like it is getting any attention.

  • Will the official C2 AdMob plugin be updated to allow us to show native AdMob reward videos they recently announced?

    Video adds sounds a lot better than click bait banners that no one clicks. More guaranteed revenue for the game developer.

  • OK maybe I wasn't making myself very clear in the first two posts?

    What I am suggesting is allowing licensed game developers to include 3rd party ads in their games in the Scirra arcade so they can make some revenue.

    That would be a big selling point for Scirra to promote getting a licensed version of C2 or C3 and game developers are more likely to get a licensed version if they also can make some revenue from the Scirra arcade to offset the cost of the license.

    It would not cost Scirra anything to allow that and they can charge a small monthly fee of around $10 a month for licensed developers that want to have that perk in their games so it makes Scirra ongoing revenue. If Scirra wants to allow that for free even better but I think most game developers myself included would happily pay $10 a month to be allowed to include 3rd party ads in our Scirra arcade games.

    So you are providing incentive for people to get a licensed version and making revenue from that perk and you will get many more game developers to get a license if they see they can offset the cost of the license with games in the arcade.

    I really do not see any downside of doing this for Scirra?

    Maybe Tom or some of the Mods here can tell me why that is a bad idea or what the conflict is that Ashley seems to feel is a negative of doing that with the arcade?

    ADDED: You might look at ICHIO which is using a format like I described with both free games and games that can be downloaded or includes advertising.

  • >

    >

    > The only way to do that I can think of is to turn off the Every Tick event with a variable trigger and then make your cursor sprite follow the Y variable of your player sprite when it jumps and then turn the Every Tick event back on.

    >

    > On Jump key pressed: Set EveryTick=0, Set position CursorY to PlayerY

    >

    > On Jump key released: Set EveryTick=1

    >

    > That should work?

    >

    Thanks again however this issue here is that if I move the mouse when jumping then the crosshair won't move with the mouse as it's only locked to the player sprite.

    The idea scenario would be that I have a crosshair sprite that is pinned to the player therefore will move with the player at all times and when move moves on the x axis then the crosshair adds or subtracts the speed and distance the mouse has travelled. Same for the Y axis. This way moving the mouse on the x axis would move the crosshair up or down respectively and the same for the y axis but when jumping the crosshair sprite would still move up with the player sprite.

    I hope i've explained that well, this has been boggling my mind for a couple of days now and my brain is a little fried! ha.

    Cheers for your responses in trying to solve this issue.

    OK maybe you missed the part where I said TURN OFF Every Tick?

    That way the sprite you are using for the cursor will no longer follow the mouse and then move that cursor following the Y position of the player and then turn Every Tick back on so the cursor follows the mouse.

    Best of luck!

  • Hi Lamar,

    Thanks for the reply. I have been able to get the crosshair to move with the mouse which is great however it's when I for example jump, i want the crosshair to move with the player sprite. Just like in the game Soldat (video link in first post).

    What I have so far (baring in mind I have just used placeholder sprites for this) is a character that moves and can shoot towards the mouse however I want it to shoot towards the crosshair mot particularly the exact mouse position.

    Here's a link to what I currently have.

    http://into-media.co.uk/~clients/sssbbg/CrosshairTest/

    Thanks again

    The only way to do that I can think of is to turn off the Every Tick event with a variable trigger and then make your cursor sprite follow the Y variable of your player sprite when it jumps and then turn the Every Tick event back on.

    On Jump key pressed: Set EveryTick=0, Set position CursorY to PlayerY

    On Jump key released: Set EveryTick=1

    That should work?

  • Either use CSS or use a TextBox plugin like this one.

    Thanks- not too fond of plugins in my commercial games that could crash.

    That should be something Scirra should have included. You can change all the conditions for a regular text so why did they not include that for a textbox?

    Not happy but I will make it work I guess.

  • Every Tick: Set Crosshair sprite Position to Mouse.X and Mouse.Y

    The mouse cursor can also be changed to the cross hairs if you don't want to use another sprite.

  • This is my first game using a text box for input and I don't see a way to change the text box background color and text color or font?

    Am I missing something or are we stuck with black Arial text on a white background for text boxes?

  • Steam has gotten too big for their britches and is taking advantage of game designers.

    Time for a new instant game portal with a small monthly fee for any game designer to post their games which allow 3rd party advertising. You host the games on your own page and can update them and maintain a blog to attract your viewers.

    Sort of like Ichio but with an instant gaming system. Looks like GameJolt is also going that direction.

    I foresee Steam becoming irrelevant in the next few years and I wouldn't tie myself to them now with their fake system of green lighting that is just a way to clip new designers that submit games.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • To get your FB page noticed you need to join any and all related groups on FB and post an occasional update in those groups. FB recognizes how much you use FB and if your activity is low your FB page will not show up in searches or feeds.