Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

VintageGamerC64

8
Posts
3
Topics
A member registered 37 days ago

Recent community posts

(5 edits)

I was just about to give up when i managed it.

The solution for me was to use an object variable, instead of object attribute, for both: rotation and accelaration.
For "Apply force to object" I added an"-" before the "$" and "+Math.PI/2" as you suggested.

So my expression is: -$Ship.getVariable("Angle")+Mah.PI/2     (Ship is my mainobject and Angle the object variable)

Thank you very much for your support.

Hi,

for my game i need a function like in the asteroids-game. I tried to rebuilt it. 

The function to rotate was no problem. But when i try to accelarate the spaceship with the apply force to object-function it doesn´t work like i hoped.  The ship is not flying in the direction of the image-angle. What is my mistake ? Please look at this picture. Thank you very much.

Works really fine ! Thank you very much

Hi, another question.

It is possible to make pathes like example vectorpathes that objects follows ?

I am interested to create a tower defence game, like kingdom rush.

Than the enemies could follow the pathes to a target.

Thanks for reply.

Problem Solved

I found the solution myself. The object is called Enemy and with the expressions $Enemy.x and $Enemy.y it worked as a loop object.

I am not quite sure when I should use a normal object an when i should use a loop object. I will try it out.

But my little game already does many thinks I want it to do, so i am quite happy.

Hello easygamemaker, thanks for your quick reply and your effort.

I actually hadn't seen the loop in the animations. That's the first solution to the problem. :)

However, I have another problem with your two options. I use the create object function with an explosion animation to destroy an enemy object. But the explosion must then of course take place in the same place where the original enemy object was.

In the copter game, this was solved with the expression $copter.x and .y.
How do I have to declare the variable and what is it called if I want to use the last position of the enemy object?

Thank you very much for your help.

Please help.

Hi, I'm new here.

Sorry for my English, it's not my native language.

The Easy Game Maker is a fantastic tool for creating 2D games. I've started making some space shooters and I've already got further than I thought.

But I'm having problems with explosions, like with the copter game. I can get the explosion to work as an animation, but it repeats endlessly.

Trying to use the time condition for x seconds sometimes works, but most of the time it doesn't. What am I doing wrong, or how can I do it better?

I'm grateful for any help, thank you very much.