lodose's Recent Forum Activity

  • How do i implement touch control alongside key control ? I already have a keypressed 8direction control set up on my player, but i want it to check if its on a touch device, allowing user to control by touching screen.

    I wanted it to move the play to the position the user touches (Like diablo II , click to move).

    Obviously id need to have the right animations playing.

    Anyways, here my player control with keys ... if anyone could show me an example of how to implement key and touch (using the same controls) then that wud be great :)

    note: i did wonder if i cud use transparent buttons that follow player and use the object touched command , but touch plugin doesnt support keyboard usage?

    also , i've tried using buttons as the guide states and when testing online (using mouse touch option "yes") it disables my key functions and doesnt do anything.

    Anyways heres the CAPX

    Download LodoseCapX

    Thanks in advance :)

  • No i wasn't , how do i simulate 8direction control on something similar to my player animations? for now i just want to clone my player and make a version that attacks the current player using Monster AI ... but i have no idea on how to simulat control towards player

    I guess having Free edition won't help me since i cant check directions like "N" or "NE" .....

  • I want the Monster AI to move using the 8Direction Control just as the player is, but i want the monster to only start to walk towards player when in certain distance (playing movement animations face the correct direction, same as player).

    Any ideas? Basically i want the monster to walk towards player and then start to attack.

    Anyways here my .capx of the player movements , if anyone could clone the player and make that use the monster AI then i can add my monster animations in when i suss out how to actualy use Monster AI

    Download Capx

  • Yeah it kinda sucks lol.

    Could anyone help me with my Monster AI , im using similar Animations as the player (8 direction). i want the monster to chase player until its close enough to start to attack , atm i have a ball that follows player , but no variation on animation.

    Any ideas?

  • Nice, thats much more simple than my method lol.

    Thanks mate

    EDIT: Another thing i wanted to look at was making the Monster AI follow character when its on screen , cant seem to figure it out tho

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Okay thanks , yeah the shadows are attached to the original animation images. It turned out that i had to clear my cache / cookies ... runs alot smoother now.

    Urrm , question....How can i display running animation using SHIFT.. i want to be able to show diagonal running too but i can due to not being able to do more than 1 key pressed per event? if u get what i mean.

    Also if you check my release events (to make sure player is facing the correct way) i haven't got any for diagonal, as i wud need to have it check if Up + right released play upright ... etc

  • Really , im using firefox and i get bad lag and jitter when moving. Do the animations look ok (Origin Points).

    This is my first attempt at anything like this so...im not sure if everythings right.

    Also , since you have the capx file , could i talk to you about other things? maybe via MSN or Googlechat? if thats ok :)

    thanks for testing

  • Heres the link

    Game Jutter

  • When viewing the game online or local, the game jutters when i move the player. I'm using the 8 direction movement for my player and using a series of pressed and released checks to play the correct animations.

    I tried compressing all of my PNG's and even removed my map background just incase it was a performance issues...but its not.

    Any ideas ?

lodose's avatar

lodose

Member since 20 Jul, 2012

None one is following lodose yet!

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies