jezjones24's Recent Forum Activity

  • dop2000

    Thank you, that does make sense, but i would have had no idea how to get the css into my capx project.

    Also for anyone else looking at this, in CSS an ID has to be unique so in this case setting an ID on the object set the same ID on all the buttons.

    The css needed for this is

    input[type=button]{
    cursor: pointer;
    }
    [/code:3ulxqewo]
    
    This will set it for all buttons.
    
    Also just in case people are not familiar with CSS the tutorial above uses a file called style.css but it can be called anything, so long as it matches the load command from the event sheet. Style.css is a very common name for css files and its best to avoid one that may conflict.
    
    @zenox98  I consider this a bug as Construct 2 is controlling the CSS of the buttons and the JS of setting the mouseover which seems to conflict , thus preventing that action on a button object.
    
    It would be useful if this page
    [url]https://www.scirra.com/manual/111/button[/url]
    mentioned more about CSS or that C2 has its own cursor styles.
  • https://drive.google.com/file/d/1cMA343MoZanJ7l9-SSxq5CquSHS44k4E/view?usp=sharing

    I hope the above link shows.

    This is my capx, i have tried to find why the cursor doesn't change but i am hoping someone here will be able to spot the problem.

    Thanks,

  • The reason this was not working was the filenames of the video.

    They seem to only work with spaces (that should have been obvious to me), but also without capital letters in the file name.

  • Hi,

    I have a layout at the start of my game that is only a video.

    I have the video in mp4, webm and ogv formats.

    It is set to autoplay.

    I exported it and uploaded it to a server... it does the loader screen and then hangs on a black screen.

    In the meantime, i have got my license and updated my install of Construct to use it.

    I have re-exported the game and it still does not auto play.

    I now have a non-construct branded % loader followed by the same black screen.

    Still no autoplay.

    Using Win 10 and Chrome.

    Any suggestions?

  • I started using Construct a couple of weeks ago.

    I have posted a few things in the forums, so you can see i have been using it pretty well.

    I am making games for a company (who also has a license) and so i planned to buy a license.

    I didn't download Construct 3 since it was still in beta and for actual work a rule of thumb is to only stick to stable releases.

    Now, having just bought my Construct 2 license I see Construct 3 is now stable.

    Should i move to Construct 3?

    Can i wait a month or two to finish current projects in version 2 and still get a discount on 3 when i upgrade.

    I am looking for advice here on the best approach.

    Thanks

    Jez

    Oh and PS - Gravatar for avatars is not working for me, i have updated on gravatar.com but nothing is showing here... can you ditch this has been service that never took off and just allow uploads of small image files on your servers... please... gravatar (and wordpress.com) really suck!

  • Great!

    Thanks, that fixed it!

    Also that fixed the issue with running on the spot.

  • drive.google.com/open ... cqy7CVu3mb

    unmangled link to capx

    [EDIT]

    Nope... that url was mangled aswell... the rule about posting URLs is stupid since the people who have the least experience are likely the ones who want to post on the forums... !

    Here is the link again...

    drive.google.com/open

    ?id=1g3aQm0duUFmKV7Q-nYNKJZcqy7CVu3mb

    please put them together

  • Capx file on google drive.

    drive.google.com/open ... cqy7CVu3mb

    I am following the platform tutorial from

    scirra.com/tutorials/253/ho ... ge-6#h2a16

    [EDIT] Here is the tutorial, unmangled URL

    scirra.com/tutorials 253/how-to-make-a-platform-game/ page-6 #h2a16

    I have just been focusing on getting the sprite working before adding anything else... so it should be nice and simple (in terms of no event stuff to interfere), but in the preview the different animations are not being shown for jumping, either when still or moving and also sometimes when you stop moving it does not return to the idle animation.

    This second issue is when you move and jump but stop moving while the sprite is still jumping, he keeps running on the spot.

    Can anyone see what is wrong with it?

    Thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It's a simple counting game for kids. A random number of animals appear (1 per second) then when this round's number has finished spawning, the button pad appears and the user clicks the button for the number of animals shown. It's about choosing the right text number.

    So the layer that the pad background and buttons are on appears and disappears about 10 times.

    I tried a Google drive Link but the editor removed the link part... I guess I could spell it out , removing the http part.

    Thanks anyway.

  • Sockratease Yes, thanks for the suggestion, but unforunately it doesn't work for me.

    If it makes a difference the buttons are on a layer that is initially invisible and then made visible on an event.

  • zenox98

    What events? This is a top level event and nothing else touches the mouse over situation!

    Sockratease every tick ? But the the mouse over object should be an event so why do I have to check every tick.

    If it changed and stayed changed elsewhere ok, but it is specifically over the buttons that it is not the hand.

    I can't post links yet so how can I add my cap file?

  • Hi all.

    I have 10 instances of buttons. 1 button object.

    I have set Mouse -> Cursor is over Button - Mouse Set Cursor to Hand.

    When i run the game, it is set to a Hand everywhere EXCEPT over the buttons.

    Is this a known bug? And how do i fix it.

    Incidentally, if i invert the action, so Red X Cursor is over Button ... the same thing happens. I get a hand everywhere except when over the buttons as i would expect.

jezjones24's avatar

jezjones24

Member since 21 Nov, 2017

None one is following jezjones24 yet!

Trophy Case

  • 6-Year Club
  • Email Verified

Progress

7/44
How to earn trophies