rfisher's Forum Posts

  • I forgot to detail how to use the plugin. I will start with the maze options.

    Object = the sprite used for the maze

    Layer = is the layer number or name of the layer

    X & Y Grid size = The size of each section of the maze. How many objects/sprites used per rows and cols.

    Rows and Cols = Defines how many rows and cols make up the maze.

    X and Y postion = define the x,y position of the maze based on the upper left corner.

    Width & Height override = allows you to override the spacing of the sprite.

    Post Exception String = is used to remove part of the maze after it is created. Its like "row,col" which could be "2,3"

  • I released the plugin

    link

  • <font size="4">* MY COLS AND ROWS WERE BACKWARDS IN THE PLUGIN FIXED NOW*</font>

    I have created a plugin called Drawsprite.

    you can do the following:

    Create a random maze with 1 event

    Draw a sprite path

    Draw sprite lines at any location

    Draw with 2 different sprites

    You draw with a string that defines what is drawn.

    Drawsprite Plugin

    Example CAPX

    Live demo

  • I made a maze plugin a while back but never released it. Its not like CC Dungeon Generator, but it does generate a maze. I'll release a cleaned up version of it today.

    Example

  • Ashley

    I thought the same thing, but thats whats showing on the screen.

  • Just tried the new Awesomium with r106 and i'm getting around 400fps and only drops to 200fps during game play. Tons better then before.

  • Problem fixed, switched to using the bullet behavior and destroy outside of layout. Works now with every browser i tested.

  • Weishaupt

    I might do that, but the capx uses 1 unreleased plugin for the maze generation and 2 unreleased behaviors, 1 for the spider movement and logic and the other for the player movement and logic.

    I just tested on chrome on a windows xp machine and there is no problem. Just chrome on windows 7 32bit. I haven't tested on Windows 7 64 bit yet.

  • Weishaupt

    Thats my problem. When i run it on IE9 the coin moves to the lower left corner and the amount increments by 1. On Chrome and Firefox sometimes works.

    What browser did you try it on?

  • newt I'm getting 70-90 fps with chrome.

    Here is a demo

    The code i'm concerned about controls the movement of the gold coin when it is overlapped by the player. The 2 numbers in the lower right corner are the fps and global inventory variable.

    Also the old code is still in place for the sword and and shield.

  • Weishaupt

    newt

    But why then does IE9 works with no delay regardless of the Machine?

    I changed to a for each because there is only 30 instances of that object which is much better then 1300+ using the other method.

    Also i forgot to mention that the fps never drops below 58 with both codes.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I changed the code to:

    <img src="http://www.fishertextiles.com/foreach.jpg" border="0" />

    It works with IE9 and very slow with Firefox and Chrome. At least it works, but why so slow?

  • I'm using pick instance with UID and on IE9 it works perfect, with Chrome and Firefox just sometimes. Is there a limit on how many instances used, the UID is in the 1300 range.

    <img src="http://www.fishertextiles.com/uid.jpg" border="0" />

  • Very cool, I hope the peformance doesn't take a hit.

  • Thanks for the replies. It has helped in making my behavior. I hope to release it soon as it is useful with the game i'm making.