sxespanky's Recent Forum Activity

  • im currently trying to make a "game" that will help me at work, basicly do my night audit calculations for me. at the moment, im trying to write the program using an Array for the numbers i need to put into certain places before i add and subtract. the main problem im facing, is when i make changes, it refuses to show that in the run phase. it took nearly 30-60 mins before it changed the background correctly i had. its hard to tell if the changes i make are helping or not. any insight would be appreciated. and no rush really, im going to write this in down time at work. thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • i didn't even think about this! thanks man

  • i am using the command

    Every tick >> Sprite >> set angle to mouse.x Mouse.y

    and this is great for mouse when using a 8 direction moving over the top game.

    i also have my controller working, as long as i disable that one line of code. my question is how to disable that line of code in game if the user wants to use a controller instead?

    i have made a Splash screen that makes the user click a box, or press A on gamepad, then the next screen tells the user how to use the controls for what they selected, then the next screen is the game. any help is good, thanks.

  • because one line was Sprite always look at mousex, mousey. so i need to make an actual menu before the game starts up and pick mouse and key or controller. right now the mouse was disabled, so if you wanna try out this so far, be my guest.

    dl.dropboxusercontent.com/u/113498175/Space%20Bug%20Attack/index.html

    ~B Resets game

    ~Right trigger fires

    ~when dual wielding left trigger fires other weapon.

    ~killing the larger green enemies spawns more enemies and also drops a weapon upgrade kit after death.

    i have more weapons and levels and eventually animating every enemy but for now its all just place holders. ill prolly end up buying the personal version within a few months when i get extra cash in pocket.

  • GeometriX - ive done a ton of searches to get this to work, and gamepad stuff that ive seen goes into brief descriptions what each outcome is of statements, i just haven't found the correct text on a thorough description on the gamepad object. after plugging the code into the RIght control stick, and disabling mouse function, it works.

  • So i've tried Both Geometrix, and sargas, your methods, but when i go to look, now its stuck at - Looking at the top left area, indefinitely, moving the stick around it will try and look about 1-2 degrees differently, but thats it. ill go find the controller tutorial, wherever this may be.

  • Thanks Geo, that looks awesome, im going to try it out now

  • im gunna be honest and say i have no idea what a (0,1) would even represent. 0 no and 1 for yes? meaning if it being moved? please describe a bit more.

  • i am trying to make an over the top shooter game, similar to geometry wars, using the xbox controller. i have tried a few different things like:

    left analog X axis > 0 then move right

    and the same for up left and down, this works great, the character moves in the correct directions.

    but now i tried the same thing with looking,

    gamepad right analog x axis rotate 90 degrees and toward 0

    90 for up, 180 for left, and 270 for down. then went to even say,

    If right xaxis > 0 AND right yaxis > 0, then rotate 90 toward 45 degrees.

    unfortunately, some of these work, and some do not. and i only think some work because up down left and right worked just fine, but the character sometimes starts looking at a 45 degree angle... im just wondering if theres an easier way for xbox controls? its taken 12 code bunches just to use the move and aiming and its not close to perfected.

    picture of my broken coding

    imgur.com/i85VDb9

sxespanky's avatar

sxespanky

Member since 9 Aug, 2013

None one is following sxespanky yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies