Cursor as an Actor

Hello guys, I'm new here. And I'm working on my first game here and i got stuck. Is it possible to make Cursor as an Actor? like "scary maze game". If its possible, please help me. Please please please!

Best Answer

Answers

  • SocksSocks London, UK.Member Posts: 12,822

    "Is it possible to make Cursor as an Actor?"

    Not 100% what you are after ? Do you want an image of a cursor (the movable computer pointer we all know and love) applied to an actor ?

  • remoncingkesremoncingkes Member Posts: 26

    @Socks said:
    "Is it possible to make Cursor as an Actor?"

    Not 100% what you are after ? Do you want an image of a cursor (the movable computer pointer we all know and love) applied to an actor ?

    I want my cursor as the actor. The main actor. Just like "scary maze game" website. As we press the start button, The cursor become the main character. Can you help me?

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    If you are trying to make a game where you move the mouse and avoid walls/obstacles, you would just constrain self.position.x (and y) to game.mouse.position.x (and y) and not place the constrain behavior inside of a rule. Obviously, this won't work on a mobile device unless you add a touch is inside rule.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • remoncingkesremoncingkes Member Posts: 26

    @tatiang said:
    If you are trying to make a game where you move the mouse and avoid walls/obstacles, you would just constrain self.position.x (and y) to game.mouse.position.x (and y) and not place the constrain behavior inside of a rule. Obviously, this won't work on a mobile device unless you add a touch is inside rule.

    Thank You for the answer @tatiang. I did what you said last night. If i constrain self.position.x (and y) to game.mouse.position.x (and y) and not place the constrain behavior inside of a rule. The problem is, i can still see the mouse. What i ask is, is it possible to make the cursor as the actor just like "scary maze game website". When we play the cursor become the main actor.

  • SocksSocks London, UK.Member Posts: 12,822
    edited April 2014

    I think the problem here one of language, all the terms, actor, cursor, mouse and so on are being used in a fairly arbitrary way, for instance . . .

    "The problem is, i can still see the mouse."

    . . . the only way you are not going see the mouse is if you hide it somewhere, unplug it from your computer and place it under a cushion ; P

    Is your question simply "can I hiding the cursor when a game is playing" ? Rather than all this stuff about making cursors into actors and seeing (or not seeing) mice ?

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    If you're making a game for Mac OS, I don't believe you can hide the cursor.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • SocksSocks London, UK.Member Posts: 12,822

    @tatiang said:
    If you're making a game for Mac OS, I don't believe you can hide the cursor.

    Yep, I think you are right, you can't hide it.

  • remoncingkesremoncingkes Member Posts: 26

    hmm.. i think you don't get what i asked @Socks. I said just like "scary maze website game". Haven't you seen it man? Well then i think no one can do it here. Anyways thank you for all the answers man @tatiang

  • SocksSocks London, UK.Member Posts: 12,822

    @remoncingkes said:
    hmm.. i think you don't get what i asked Socks.

    As far as I can work out your question "Is it possible to make Cursor as an Actor?" simply means that you don't want to see the cursor during gameplay only the actor you control with your mouse ?

    @remoncingkes said:
    Well then i think no one can do it here.

    Yep, the cursor cannot be hidden during gameplay.

Sign In or Register to comment.