How do I insert several sprites that can be moved and clicked within the layout?

0 favourites
  • 2 posts
From the Asset Store
Several elements of the game interface hidden objects
  • I have to make a second part of the game where various news items appear in png (loaded as sprites) and with the mouse I should be able to move them to be able to read them and then click if they are fake news; when a real news is erroneously clicked, other news should be added. could someone help me please?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 1-For the "News Sprite Movement" you can just add the Drag & Drop Behaviour

    2-And for checking if the News are (Fake or True) on Mouse clicked then you can just add an instance variable to the sprite

    Example:

    Variable = "News_State"

    Then on news created just set that variable "News_State" = (True or False)

    Then add the events as follow:

    On Mouse click News:

    Sub: "News_State" = True ------------------> Your Actions

    Else: is fake then >>>>>> Your actions (Replace the clicked News or Spawn another News)

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