heromedel's Recent Forum Activity

  • Well I found that if I use the ajax request url instead of load file that I can get done what I wanted. But I still dont understand why ajax is required to load an array from a file but oh well.

  • My guess would be to set the events that connect to the signaling server into a group, then have the group get deactivated when you select single player. If the host never connects to the signaling server then no one should be able to join.

  • Ajax isn't going to work for me since you have to import the json file and pick it from a list.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have found a method I like.

    What I have ended up doing to fit my movements needs for tile based movements is..

    I use two objects one is the real object the other is invisible like a shadow. When push an button such as right arrow the shadow jumps to the new position and checks for overlap or collisions. If none are found then the real object moves to the shadow. If a collision or other problem occurs the shadow jumps back to the real object and a message such as "there is a wall" can be played or if it is an enemy then an attack can occur.

    I even use this for my wandering enemies if they move in a tile like way. Though I am going to have to work on better path finding for enemies.

  • Why do I have to use ~ ajax request 001.json and then ~ load from ajax.LastData

    Instead of just ~ load from 001.json

    I have tried to have the array just load from json but it seams to remain empty where as using ajax fills my array correctly.

  • I was playing around with bullet behavior and chasing a moving dot that would be invisible but that led into a lot of probles such as missing the coordinates and flying off screen.

    I will check out the links.

  • So lets say a sprite of a guy is standing there and you click the arrow key one time. I want him to move a set number of pixels such as from his current 32x32 tile to the next 32x32 tile. I have no idea how to do this without him appearing to teleport. It would be more like a walk from point A to Point B but without making points just move this far then stop.

    So let say he is at 96x 96y and you click the right arrow he would then walk to 128x 96y and then stop.

  • I am making a game similar to space invaders so the player fires upward, when a shot leaves the layout it is destroyed. But for some reason it leaves a bit of color on the edge of the screen. In fact any sprite leaving the screen leaves color on the edge.

    I have used debug mode to verify they are getting destroyed. Even an explosion close to the edge seams to bleed color that permanently stats on the edge of the screen.

  • Thank and that's very similar to what I ended up doing though my method may have been more complicated.

    I assigned each city and shield a variable I named Ego then at the start of layout I did an event that made Ego = IID so the then I could basically call them by their ID which I couldn't figure out how to do before but now I was Just calling them by their Ego

  • I have 5 cities with 5 rechargeable shields powered by each city so when city #1 is destroyed how do I tell shield 1 and only shield 1 to change its recharge variable from 1 to 0 thus turning it off.

heromedel's avatar

heromedel

Member since 7 Feb, 2011

None one is following heromedel yet!

Trophy Case

  • 13-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

15/44
How to earn trophies