piranha305's Recent Forum Activity

  • i think the issue with those native dom elements would be the positioning? how do you position them? drag and drop? and use absolute position? that would be very hacky and depends on the ratio of the consumers windows.. relative positioning? you lose the ability to position the ui elements in the game window, and what you see might not be what you get in the end.

  • I kinda agree with you, but building UI widgets in webgl is not trivial, that would be a huge undertaking. plus why rebuild all those widgets when you kinda already have them in html and css, it seems like there needs to be a better way to incorporate html and css with the canvas.

  • drive.google.com/open

    trying opening the link form there, it's public image?

    well in a nutshell

    Browser Execute Javascript => self.c3_callFunction("functionName", ["param1"]);

    should work as long as functionName is a valid function

  • so you can't see the image?

  • I agree the Gui tools can be improved. I would stay away from a cookie cutter Ui system though. Right now the html Controls exist on top of the canvas where the game is actually eing rendered. Trying to line things up become a real pain when u need it to be percise.

    I am not sure leveraging the html on top of the canvas can solve this issue. Maybe an approach how other game engine handle Ui would be worth Considering.

    It's like op mentioned we also need some type of grid system to layout elements in a predictable way. Like flex box or bootstrap grid system.

  • It would be great to able able to set the whole data structure that the tile map uses. That would be the most efficient way. But you would still need to transform you 2d array into the tile map format with I think holds byte data for each cell. Plus some other meta data

  • https://piranha305.itch.io/tanktrax

    The game was made in construct 3 using javascript/events, you can download the project file and a dev log HERE

    Tagged:

  • You do not have permission to view this post

  • Here is a very basic example of the flow I described,

    drive.google.com/open

    the function splitString takes a string splits it then uses the runtime to call a function on the event sheet to populate the ArrayObject

    after that you can use the array how ever you want. hopefully this helps

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I think as of right now the Array interface has not been defined from the scripting API (at least not in the documentation) so you can't directly manipulate the array properties from javascript. You would need to call a function in the script that would callback into the eventsheet to manipulate the object.

  • That's why I have not filed a bug yet doing a bit more research, I will check on a different connection later today and verify it's not a local issue. Thanks

  • is any one else experiencing inconsistent cloud saving in the new beta. so pretty much the browser just seems to hangs and it does not save, also preview stops working after a while.

    it stays at zero percent, there are no console errors, inspecting teh network tab it's making a request to z-worker

    this request stays pending indefinitely

    This seems to be happening on a regular basis, I am going to file a bug report, but it would also be good to know if anyone else is having the issue just to rule out it being project related, or maybe a connection issue on my end.

piranha305's avatar

piranha305

Early Adopter

Member since 26 Apr, 2016

Twitter
piranha305 has 34 followers

Connect with piranha305

Trophy Case

  • 8-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • x6
    Coach One of your tutorials has over 1,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • x5
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x3
    Lightning Draw First person to up-vote a new Construct 3 release
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

18/44
How to earn trophies