Some help plz

Not favoritedFavorited Favorited 0 favourites
  • 5 posts
From the Asset Store
Game with complete Source-Code (Construct 3 / .c3p) + HTML5 Exported.
  • Hi! Im trying to make a game about creating a game for a company in the 80s. I made a drag and drop coding language, where the code icons sit on a hotbar on the left side of the screen in you need to connect them on top of a specific sprite. However, I can connect them in the hotbar, and I can't seem to figure out how to make the right code for it. Thanks!

    P.S. Im using visual scripting, not JS

    Tagged:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I don't understand

    are you using Construct 3?

  • Yes, I am using Construct 3. I forgot to mention a few things in my inital post. I am using the visual scripting feature

  • I'm sorry I have no experience with Visual Script

    I just have some with Python and a very very little bit of JS

  • The description of what you’re after is still pretty vague. However, you can solve any problem by breaking down what you want to do into smaller doable steps.

    It looks like maybe you want to drag icons from the left onto the top. Maybe you could give the icons the drag and drop behavior. Then when you drop them (the one drop trigger) you’d check if it’s overlapping the top bar, and if it is then do something to position it in a nice way. And it’s not overlapping the top bar on drop just move it back to the left toolbar. You could also just move it back to the left toolbar on drop but create a duplicate on the top bar.

    To position them in a nice way on the top bar you could pick all the icons overlapping the top bar, then “for each” the icons, and set the icons position to something like (topbar.x+icon.width*loopindex, topbar.y). That would put them in a nice evenly spaced horizontal line.

    Just some rough ideas that could be a possible starting point.

Jump to:
Active Users
There are 0 visitors browsing this topic (0 users and 0 guests)