FINALLLLYYY im making my game but i got a few questions!
DanielAvni
Member Posts: 114
Well im going to official introduce my self my name is daniel avnieli and i am 14 years old (turning 15 on april 14 and i finally got my graphics from this guy and im going to start my GAME! Once its made im going to buy the basic version of gamesalad. AND GET IT on the iphone!
Ok to start off i want to make it so when i touch the enemy or press the mouse on the enemy it shoots a cannon ball towards the direction of the enemy and hits him. (i know how to do the heath and all the other stuff like that) i will ask my other questions after this one
Thanks so much and cant wait to be part of the GS community! haha
Ok to start off i want to make it so when i touch the enemy or press the mouse on the enemy it shoots a cannon ball towards the direction of the enemy and hits him. (i know how to do the heath and all the other stuff like that) i will ask my other questions after this one
Thanks so much and cant wait to be part of the GS community! haha
Comments
Try this (it should put you in the right direction)
Create two game integer attributes called enemyX and enemyY
Create an actor called canonball
In the canonball actor put a change velocity behavior. Set the speed to whatever you want. For the angle go to the expression editor and press the little "e". Then select vectorToAngle
replace the (x , y) with
(game.enemyX-self.position.X , game.enemyY-self.position.Y)
In the shooter actor create a rule that says
when touch is pressed
constrain game.enemyX to touch1.X
constrain game.enemyY to touch1.Y
This way the cannonball will move towards the spot that you touch.
Good luck!
hope that helps
sorry i didn't state this in the 1st place
i have a few questions on this game and stuff should i post it in a new thread??
Good luck!
I would honestly do nothing for the first week except study the wiki & some of the demos people have shared. tshirtbooth has a youtube page you can check out too.
This is in no way meant to sound mean, definitely not my intention, but we basically all learned this way. Don't worry soon you'll be on to creating you masterpiece.
JGary
my dads helping me out with most of the money problems (im paying him back if the app does well) i just need to learn all the things about gamesalad and scitunes ur book game is pritty awesome ahah