jessejoh's Forum Posts

  • Hey guys -- I'm back

    I'm thinking of making something along these lines as a temporary solution until this is figured out.

    My idea would be a "game data object". It would provide the following:

    Multiple arrays

    Add object (would add a type of object to be saved later on) to save list

    Save arrays to string

    Load arrays from string

    Save objects to string (would save x,y,angle,animation / frame,variables)

    Load objects from string

    Save objects AND arrays to string

    Load objects AND arrays from string

    So then to save with this, we could:

    • Add "player" to save list
    • "Save objects AND array to string"

    For a map editor type thing, we could:

    • Add "rock" to save list
    • Add "tree" to save list
    • Add "player_start_point" to save list

    etc. - then save

    Now -- it's been about a year or two since my last plugins -- and I'm not sure if this is completely possible, but if it is, I'll try to figure it out. I'm working on an RTS myself, and so this would be useful.

  • Oh -- most excellent. Thank you for the info Ashley

  • An idea just hit me like a ton of bricks.

    Would it be possible through a plugin to save & load a game or level "state" to a string? Do we have that kind of access to other objects in the SDK? The envisioned idea would be sending a 'save state' via AJAX POST to save games, levels, etc., and then load it at another time, or even allow other users to load. I can think of many possibilities for this... ESPECIALLY when it comes to multiplayer turn based games. What would be even cooler is a way to save either specific groups of objects or layers of objects.

    You could also easily use this to create collaboration type games and apps. I like the idea of being able to save the 'map and obstacle' layers to a database that other players could then access through backend programming.

    I understand that this could be done manually with some elbow grease through events, but I thought that if there is a way to do this, I may venture into its development. It's been a long time since I've worked with the SDK, and even when I used it I never quite got into the lower level parts of the system.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • First one didn't work

    Third one didn't work

    Second one was interesting. Unique (to my knowledge) and actually compelled me to continue playing. It was lots of fun my friend.

    As for me posing for the first time in many months... I'm baaaaack :)

  • You're doing a great job with these Pode

  • Just know that I am still around, just very busy (but will be back for more full time plugin dev in the future)

  • Are you telling me that we no longer require html5 enabled browser?

  • flashcanvas.net/example/benchmark

    Would it, in theory, be possible to use this as opposed to the canvas, and perhaps remove sound support to allow non-html5 compliant browsers the ability to use games?

  • Not to worry, my plugins will be back soon

  • Soldjah - I will do my best with that. Any info on whether that is a known issue with either IMG or Div too?

    Pode: very cool!

  • Very nice plugins :)

  • FlashDeveloper: I believe there was a couple of bug fixes, a revised icon, and fixes of errors in the display text within the event editor.

    An overall polish, if you will...

  • The plugin has actually been updated here.

  • From now on I will release updates to these plugins in a single file, as they are all related and it helps me focus on coding instead of setting up individual releases.

    Included:

    HTML iFrame: Allows you to load pages into an iFrame in your game / app. Supports browsing features (back/forward/refresh) and the ability to access the HTML within the iFrame on local server. Includes ability to use CSS styles.

    HTML Div: Allows you to place a div in your game / app area! In a nutshell this means you can place any HTML in your game, and even take advantage of HTML text formatting in your games/apps! Fully CSS stylable through events, and even allows you to load content into the div on the fly via AJAX (allows you to supply either GET or POST data too!) In the example, I even have a YouTube video load! Awesome!

    HTML Img: This is my personal favorite (along with div of course) - it allows you to load images on the fly, and includes CSS styling like the other 2 plugins. Has image "On Loaded" and "On Begin Loading" actions as well.

    And of course examples for each!

    Download the HTML Element Pack

    ---

    Let me know what you think, and what kind of other plugins you may want! In the future I also plan on releasing a MySQL plugin which will totally take everything to the next level!jessejoh2011-12-14 03:03:48

    Edit by moderators:

    The original user has not been active on the forums for a long time.

    Apparently his original link even disappeared.

    You can check Pode's HTML pack for a similar and more up to date plugin.

  • Very cool :)