ButterBall's Adventure (Mech Test) WIP

0 favourites
From the Asset Store
A collection of various robot and mech characters sprites for creating a 2D action platformer or sidescroller game.
  • I use last stable chrome or sometimes the beta canary chrome version to look if "fps" is improved ;-p ... i don't understand at all how it could work with you if not using a "or" between the two events !

    for example to move left the good syntax is :

    Keyboard | left arrow is down .....   (DO ACTION MOVE LEFT)

    -or-

    Keyboard | Q is down (fr keyboard)

    -or-

    Keyboard | A is down (us/en keyboard)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I use last stable chrome or sometimes the beta canary chrome version to look if "fps" is improved ;-p ... i don't understand at all how it could work with you if not using a "or" between the two events !

    for example to move left the good syntax is :

    Keyboard | left arrow is down .....   (DO ACTION MOVE LEFT)

    -or-

    Keyboard | Q is down (fr keyboard)

    -or-

    Keyboard | A is down (us/en keyboard)

    naelian

    Reload by N7Effect, on Flickr

    I don't see an "Or" event function, and isn't "or" sorta just a given here. "R" and "Shift" are independent of each-other.

    -Edit-

    I found the "Or" function you have to click make "OR Block" that will clean things up alot can't believe I missed that. Also I just fixed the music in Chrome.

    I'm uploading an "Or" Version please tell me it works lol. <img src="smileys/smiley9.gif" border="0" align="middle">

  • LOL what a waste of time in copy/paste and increasing event # for nothing !

    never use "pressed" but use "down" with keyboard events because pressed only work when you press and release the button so it's not good if you check keyboard events "on every tick" ! ...

    so do this :

    (first event :) keyboard : Shift is down

    (second event just under the first) keyboard : R is down

    Then select the 2 events clicking on the keyboard column on the left (put all that column for the 2 events with yellow background) ... after that click right, and check Make "or" block in the list) and the "or" statement" will be automatically put between all events selected before !

    • After that put your action only one time on the right part ! so no copy/paste needed for each button managed doing the same action.
  • naelian

    Wow thanks alot I still can't believe all the time I wasted copying like you said... omg lollolol. I have a bunch of stuff now I think about if that can be Or'ed if such a thing. <img src="smileys/smiley1.gif" border="0" align="middle" />

    Well i'm uploading a quick-fixed Ver. right now for Reloading. I did xacly what you said above. I hope it works.

  • Test the beta 6 ... same problem don't working ;-(

    i have a stupid question ... you test your program using what kind of browser ? what is your os ? ...

    Have you ckeck if the group "reload" grouping this 2 events is activated ... it's grayed on your screenshoot so disabled ! ... never working ! you don't test your code on your own computer man !

  • Test the beta 6 ... same problem don't working ;-(

    i have a stupid question ... you test your program using what kind of browser ? what is your os ? ...

    Have you ckeck if the group "reload" grouping this 2 events is activated ?

    ...

    naelian

    I test on Chrome and Firefox both work fine Chrome has little sound jump here n there. On my end and on all PC's in my house all is good?

    Firefox works the best its like playing on a game system its meant for.

    I'll set up a global variable to check and show if reload becomes active.

    Windows 7 64bit OS

    Using 64Bit Construct2

    and North American Keyboard.

    Edit.

    ?????????

    hmmmm I don't know?

    I'm uploading a vid to youtube so you can see how it should play/work.

  • I'm on vista 32 bits, construct 2 R95 32 bits free edition ... i already give you my browser ... I'm sure your "reload" group is disabled at start (your screenshoot show his name in gray) ... so perhaps you have somewhere a code to activate this group "reload" ... but for me this group is never activated so can't work .... all other keyboard events work fine so it is a group "reload" specific problem ...

    I have firefox too so i will test beta 6 with it and give you the result

  • naelian

    32bit Vista

    in the words of the Mythbuster. <img src="smileys/smiley36.gif" border="0" align="middle" />

    "Well There's your problem."

    Lol Vista is horrible, I had bad experience with Vista. <img src="smileys/smiley19.gif" border="0" align="middle" />

    naelian

    -Edit-

    lol but seriously I will make sure that group is active through variables etc., maybe tweak the way it activates or something. My YouTube vid will be up soon. I'll post it on main page. It's getting late, i'm tired sore. So i'll work on tweaking reload tomorrow.

    I will adapt, it seems resistance is futile.

  • Thanks to answer my question ... reload group is grayed so disabled ... have you some code to activated this group in your program ?

    There is no bad os no bad browsers ;-p ... only programmers never wanted to change the code to adapt behaviours ;-)

    I never have any problem with all my games such as compan360 using all that ... so i'm a genius ? ;-p

    Are you using C2 R95 too ? ... this could explain the problem if not ...

    In my case i never use the "group" system so i don't know if there is some bugs !

    I don't use "Group" for a very simple reason ... 1 group = 1 event even if unused ... free edition is limit to 100 events by program ... so as creating a object instance variable isn't a event ... i can do a MyObject.reload = true test which is doing exactly the same thing that using a "Reload" group ! ... and saving sometimes events #

  • naelian

    Yea im using C2 R95 too? why? is there a bug in new release or something?

    youtube vid up also. Also I have 500 events lol

  • Everything is possible ;-( ... many times some differences have been found between 32 bits and 64 bits C2 releases ... so perhaps the generated code can be slighly different and generate this kind of problem ;-( ... so you need to test this game on a 32 bits os too ... or find someone which can do it to be sure this is a C2 problem.

    Firefox 13.0.1 same problem ... ok it's obviously something new in C2 or in code ... before this release i have just a problem using shift or R not working "alone" but "shift+R" reloaded ammo very well ! ;-p

    I look at the video and it's very interesting to see some differences ... the font use to display text on top left is not a web font but a local font on your pc which is not standard ("Arial" is standard and work everywhere WINDOWS/MAC OS/IOS/ANDROID/LINUX) ... so some users only having this font install on they own pc have the same display as you ... for me it's something like "Times" which is used !

  • Everything is possible ;-( ... many times some differences have been found between 32 bits and 64 bits C2 releases ... so perhaps the generated code can be slighly different and generate this kind of problem ;-( ... so you need to test this game on a 32 bits os too ... or find someone which can do it to be sure this is a C2 problem.

    Firefox 13.0.1 same problem ... ok it's obviously something new in C2 or in code ... before this release i have just a problem using shift or R not working "alone" but "shift+R" reloaded ammo very well ! ;-p

    naelian

    Ok last ditch effort before I pass out. I added a variable check I think was missing. Also added the ability to see in text if Reload Group is "ENABLED" or "Disabled".

    Please work lol

  • lol thanks for your hard work ... sure so much try need a success at the end ;-p

  • lol thanks for your hard work ... sure so much try need a success at the end ;-p

    It works? <img src="smileys/smiley1.gif" border="0" align="middle" />

  • The problem isn't solve but ... identified

    Look at this ...

    <img src="https://dl.dropbox.com/u/74282909/BBall.png" border="0" />

Jump to:
Active Users
There are 2 visitors browsing this topic (0 users and 2 guests)