Chris32456's Forum Posts

  • 5 posts
  • OK Thankyou! :) Btw i think your game "Fred" is a great game! If you developed it for the iphone or android i think it would become a HUGE hit! :)

  • Hey guys! :)

    So i have been thinking about making a game for ages now and i have finally come up with my own idea. However this idea does have some similar (not very) elements to the well known game minecraft. The only things that are the same is that you can dig and when it becomes night, zombies come out and try to kill you.

    Is it illegal for me to create a game like this which has similar features and make money out of it?

    Thanks in advance :)

  • See for example this kickups game. IT determines where you clicked on the ball and send it shooting in a specific direction depending on where you clicked.

    spikything.com/games/kickups

  • You can calculate it with the difference between the Mouse and Sprite locations.

    +On clicked on Sprite

    -set x_on_sprite to Mouse.X-Sprite.X

    -set y_on_sprite to Mouse.Y-Sprite.Y

    This is dependent on the Sprite's hotspot. If the hotspot is centered then x_on_sprite and y_on_sprite will be -25 to 25, but if the hotspot is top_left then they will be from 0 to 50.

    Thanks, i see where your coming from, however the ball will be constantly moving around the screen and not in a static position.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hey guys :) Im new here and this is my first post :P

    Ok so im moving away from game maker 8.1 and trying construct 2 for a change and so far im loving the simplicity of it :)

    So im currently testing functions and events in construct, however i need help with this.

    Lets say i have a ball, and the ball's width is 50 pixels across. Now how can i find exactly where i clicked on this ball and save the x (which would be from 1 - 50) to a global varibale? So if lets say i clicked close to the middle it would record the x as being close to 25? and further to the left of the ball would be from 1-25.

    Sorry if its confusing but for the game i am thinking about creating i need to implement this.

    Thanks in advance!! :)

    Chris

  • 5 posts