Gillis's Recent Forum Activity

  • R0J0hound. That worked like a charm. It seems to work a lot faster now too. Thanks for your help!! This is so cool!!!!!!

    Marking Thread solved!

  • Thank you so much. I will mess with this tonight. :D <img src="smileys/smiley32.gif" border="0" align="middle" />

  • OK. I will check this out tonight. It would be killer if you could upload a modification of my capx for an example? :) :) I would be forever grateful, but I will check it out tonight.

  • I have tinkered with (A*)Node Pathfinding in the past and have not been impressed with the static rail feeling. I like the variance that I get from my "Quad Model". I will put tinkering with A* in Construct 2 on my todo list but I am hoping I can optimize my Quadralant Path-finding theory as it is working.... it's just that the code gets a bit messey. I am happy with how it works now, just unhappy with the hundreds of lines of extra unnecessary code.

    Thanks for your input!

  • That is an interesting concept. That is a pretty huge re-write for me unfortunately. I am hoping that I can simply rewrite the IF part.

    ...and yes. Quad objects need an instance for all other quad objects. Right now, for example, there are 82 quads in level 1 of Luna. I used the quad system for Player2 and enemies. Each quad knows the direction to all other quads. I can even use it for story events if I want Player 2 to lead and I follow. Pretty effective but a LOT of work to wire up

    Thanks for your idea. I might mess around with this if no one can directly solve my IF issue.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • bump :)

  • I have successfully created a system for path-finding in Construct 2 for my game Luna. Whereas the second player can successfully follow you through the level with ease. However, I need help optimizing the code. The method I use utilizes a lot of IF statements since I cannot hard code a reference to an instance variable. This method will be of interest to a lot of people I am sure.

    The theory that I exercised was that by using a series of quadrants and then measuring the distance to Player1 and Player2 you could read the direction of how to get to the quadrant that is nearest Player1 by reading the instanced direction from the quadrant closest to Player 2 (Similar in theory to a DNS lookup)... Well this worked splendidly!, but I just need help optimizing the IF statements.. so that I don't have to use a bunch of IFs. Thanks for looking and enjoy using this method I created in your own projects!

    <font color="RED">I have commented the code where I need help. ( UPDATE 11.29.2012 SOLVED! )</font>

    Download Gillis CAPX Example File <- My original file

    Download R0J0hound optimized CAPX Example File

    <font color="BLUE">Watch the Female Character for an example of my Quadralant Path-finding in use!</font>

    [TUBE]http://youtu.be/Q76_-8xWVOs[/TUBE]

    Thanks for looking

    Dan

  • I'll try to get a mode detailed tutorial up soon!

  • New footage of Luna is up on youtube.

    Watch on Youtube

    Thanks,

    Gillis

  • Thanks, I am working with a sound guy now on redesigning all the audio and music. My initial audio is pretty bad. :)

  • Mods.. can you move to C2 forum? sry

    Here is a little code snippit of how I make advanced menu systems in my game. I do the following in conjunction with the 'rex_pause' add-on to pause the game.

    <img src="https://pbs.twimg.com/media/A61vqdjCcAE3k2N.png:large" border="0" />

    <img src="http://img546.imageshack.us/img546/102/code1l.png" border="0" />

    I am hoping this will be helpful to someone else.

  • Here is my game <font color="BLUE">Luna Shattered Hearts</font>.

    [TUBE]http://youtu.be/Q76_-8xWVOs[/TUBE]

    Watch on Youtube

    <img src="http://fc06.deviantart.net/fs71/f/2012/324/2/9/luna___game_footage_3_by_iith-d5lmbub.png" border="0">

    <img src="http://fc02.deviantart.net/fs70/f/2012/324/3/c/luna___game_footage_2_by_iith-d5lmbql.png" border="0">

    <img src="http://fc07.deviantart.net/fs70/f/2012/324/b/7/luna___game_footage_1_by_iith-d5lmbm0.png" border="0">

    I am keeping updates here:

    <font color="CYAN">My Twitter</font>

    <font color="BLUE">My Deviant Art Blog</font>

    Thanks for Looking!

    Gillis~

Gillis's avatar

Gillis

Member since 7 Apr, 2012

Twitter
Gillis has 5 followers

Connect with Gillis

Trophy Case

  • 12-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Popular Game One of your games has over 1,000 players
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

17/44
How to earn trophies