

- Stencyl game engine software#
- Stencyl game engine code#
- Stencyl game engine free#
- Stencyl game engine windows#
Stencyl game engine software#
Stencyl is a gorgeous, intuitive software that accelerates your workflow and then gets out of the way so you can focus on making an awesome game. The application allows you to create 2D games for computers, mobile devices, and the web. Pick up the video game development basics in minutes with Stencyl. It has a large library of resources available that you can use to create your game without the need for programming.
Stencyl game engine windows#
You can even publish your creations on Android, iOS, Windows Phone 8, the web, or all. Use your creativity and storytelling skills to design something truly unique with Stencyl’s intuitive interface. Whether you’re a new programmer or a seasoned pro, Stencyl is the perfect choice for you.
Stencyl game engine free#
Let’s add a surface to our scene to prevent the actors from falling down.Stencyl is a free Windows application that provides a fast and easy way to create games for computers, mobile devices, and the web.

Set vertical gravity as 85 and test the game. Next, we need to create a real world scenario, lets add some gravity.įrom the dashboard tab, click on scene, select MyScene and select the Physics tab. You can see that when Popeye collides with Bluto, Bluto moves out of the screen. Here is the image that I used:Īfter you have created the actor and set the above image as animation frame, switch to the MyScene tab and add Bluto into the scene as we added Popeye. Now, let’s create one more actor in our game and name it Bluto. Until now, we’ve created an actor for our game which moves backward and forward on left and right arrow key press. Also add the left key release event to stop motion on a key release as shown below:

The only difference is negate which helps the actor move backward on the x-axis. You will notice that it’s the same as the right key press event. So, add another keyboard event as shown below: Next we need to set the left arrow key press to make the actor move backward. On pressing and releasing the right arrow key the actor should move forward. Now, test the game by clicking on the test game link.

Stencyl game engine code#
So add a new keyboard event and set the code block as shown below: Next we need to set the speed of motion to zero when the right key is released. Next, from the right side palette select the motion tab, select a second code block and drag it into the existing code block. Here is how the code block should look:Ĭlick on Control, which will show Choose Control, clicking on that will ask you to select a control. From the menu select Input and from Input select Keyboard. Clicking on Add Event will display a menu. On the left hand side, there is a button to add an event. Click on the actors’ object tab and select the Events tab. With the actor selected, press the right arrow key, it should move forward and on pressing left it should move backward. Next, we’ll add some behaviours to our actor. If all goes well, you should be able to see the game scene as shown below: Save your work and click on the Test Game button in the right upper corner of the screen. Click the Actor tab, select the Popeye image and place it on MyScene by clicking on the screen. Click it and you should see the Tiles and Actor tab. Towards the right side of the screen, you should see the Palette tab. Save your work and switch to the MyScene tab. Here is an image you can use to add the animation frame: An actor type has an animation, click to create one. Click on the create button to create a new Actor Type. In the left hand side menu, under Resources you can see Actor Types. Now, you can see two tabs, a dashboard tab and a MyScene tab. Name it MyScene and select a background color. You will now be prompted to create a scene for your game. Type a name for your game, for example HelloStencyl, leave the screen as default and click Create. You will be asked what kind of game to create, select Blank game. To create a game either click in the middle of the screen or on the green Create a New Game button in the top right hand side of the screen.
