Rotation tutorialPosted on 2019-03-05 07:41:09 by hpg678
With the help of a fellow user "impo', I was able to complete a difficult problem involving animating a sprite. i didn't want the standard 360 degrees rotation. I wanted it to rotate along the x-axis, similar to the coins animation in Mario games, without i having to make any additional frames.
So i decided to share this in case others may want to the same in their games.
the code is very easy and self-explanatory.
1. in your object, in the Create event, create a variable to handle the rotation speed....eg.....rot = 0;
2.In the Step Event, increase that variable. Depending on the room_speed, you can set it to a number between 0.01 to 1.
3. In the Draw Event, use the "draw_sprite_ext" function and in the case of the rotation, section, place (your variable)] there. for example in the Draw Event of the source I have
draw_sprite_ext(spr_0, 0 ,x,y+z, 1,1,imgrot,c_white,1);
spr_0 being the name of the sprite
imgrot is the name of my variable
Mystery Mansion Linux 64bitPosted on 2019-02-13 18:35:50 by hpg678
A Linux Debian package has been done. Its only for 64bit versions however. It will install the game to the '/opt/' directory and create an application shortcut to your menu. Somehow the customized icon didn't get installed. Not sure why. However you can get it from the same '/opt/Myst_Mansion' directory' on your computer, in case you want to edit the launcher file.
Mystery MansionPosted on 2019-02-10 15:13:39 by hpg678
Mystery Mansion is a puzzle adventure game where you, the player,
must solve a series of rooms and collect the treasures. You must
also avoid traps and monsters as they try to twart your progress.
Use your puzzle solving skills to move your character to cover the
markers, getting the blue door key to open the treasure room. When
you've collected all of them, you will get the exit key to leave the
room. Solve all the rooms to get the biggest treasure of all.
The Windows version has limited sound effects as it is in beta.
Others versions for Mac and Linux will also be published later.
There is also in development a 3D version, for an every later
mp_potential_step ExamplePosted on 2018-12-31 20:31:05 by hpg678
With this function you can make one object move towards another object avoiding other solid instances in the way towards your goal object. its great for mimicking an AI without complicated programming or scripts. The coding is not long, nor difficult to implement either.
The file runs well in Windows. However, Linux may have issues though as i don't think the function works well on that platform. I will have to update after further testing.
Check out The Games section for the source files and Screenshots.
Creating a Breakout Game in EnigmaPosted on 2018-08-27 13:34:43 by hpg678
In this tutorial series you are shown how to create a Breakout game. From sprite creation to level creation, the process is explained using Drag n Drop actions and EDL code.
If you are familiar with Gamemaker and its GML language then you will be able to follow the process better.
As writing this 4 parts have been completed.
The first shows sprites creation.
The second deals with creating objects,some coding and a test room layout.
The 3rd deals with ball movement and the creation of a control object to handle, our game flow, level progress, display our scores, lives and game flow.
The 4th part shows more changes as our game runs and goes to the next level when all the bricks are destroyed. The scores and lives are displayed. When you lose a ball the lives decrease, destroy a brick and the score increase proving our score and lives system works. There is even a special effect when the brick is destroyed to give that affect of realism.
There are still other things to add like a Startup screen, Menu, powerups and a Highscore screen to display the best scores. These will be covered in later videos, so be sure to look out for them.
You can check the series on Youtube at this link
3D BreakoutPosted on 2017-08-08 13:06:39 by hpg678
I've taken some time out, reading and getting to know the ENIGMA IDE. Lately after a disastrous meltdown of my Windows machine and my backup drive as well, I lost most of my tutorials, examples and scripts, I had collected all those many years ago. This included my files I had written about, thus no updates for a while.
So here I am totally re-writing my Breakout game in 3D. I've also re-installed all my machines with Linux. I will not be using Windows no more. If I need to test in a Windows environment, I'll use Virtualbox or Wine. I just can't deal with the trouble Windows causes. As a developer i need to work in a stable environment, which Linux provides.
My 3D Breakout game is in development. What I have done so far can be seen in the FORUMS section under WORKS IN PROGRESS. I'm using primitive objects for now. I have yet to implement custom 3D objects into the game which I have yet to figure out.
The mouse controls the bat. The blocks breaks up via a particle system, there is a test scoring and life system, 2D backgrounds are drawn to the screen and we have a powerup system in place. Further developments will include different primitives types, being able to stack them on top one another, and probably a level editor.
Maze Master ProjectPosted on 2017-06-08 18:12:17 by hpg678
Maze Master is an action, puzzler with some aspects of strategy needed to complete the levels. The story goes that during an Incident, mutations to various animals and insects made them sentient.
No longer were wars against fellow humans, but it became a matter of survival against the animal and insect colonies. As the years went on, with lesser resources being available, new technology and newer resources were sought. Oil became obsolete. Gems became a valuable commodity as they had the capacity to store and release energy.
Harnessing this energy, humanity survived extinction. However, insects and animals being sentient and understanding their value, gathered them and hid them within caverns, underground and above settlements and always guarded.
With a tank and various weapons at your disposal, you must solve the mazes, destroy any enemies you encounter and gather the gems. You can sell the gems to upgrade weapons, your tank or sell them to the other settlements.
That's the background story. In the game you use the arrow keys for movement. Press the <Space bar> to fire your shots. You start with 10 out of a maximum 50 shots every level. The shop system where you can buy items to upgrade you tank involves selling the gems you collected as currency. Enemies require 2 or more hits to kill them, Bosses when killed release treasures.
That's basically the game. Continue checking up on updates which I will publish regularly.
OpenBreakoutPosted on 2017-06-01 21:05:09 by hpg678
I've been working on various projects for quite a while. Well actually it was to be a series of tutorials written entirely in Enigma. After some difficulty, frustration and determination, I've finally decided to create this game. My only problem is that i keep expanding its capabilities.
OpenBreakout is written with a mixture of EDL and Drag and Drop, for Linux users. Its source code should be simplistic enough for everyone to comprehend.
There are a few features i want to elaborate about further.
The Pause system is achieved by pressing the 'P' key which deactivates and re-activates all objects. A black rectangle is drawn to cover the entire room and some text is written to it. A very simple 'Pause System" indeed.
Another thing I need to mention is that when running the source make sure that the two Extensions "Game-maker 5 Compatibility" and "INI Filesystem" are activated, or you will get errors. I'm using an 'ini' file to record high-scores........well actually I was thinking along the lines of saving the user name and score to create a custom high-score table. More on that later.
There are a lot more features needed in the game. Some more effects, enemies, levels, power-ups and a lot more needed which is why its a work in progress. However the purpose to write a game entirely in EDL and not be some fork or converted file of Game Maker. I'm actually in the process of including shaders into the project, but this is becoming difficult.
Hope you like it and please comment.
EDC RevampPosted on 2013-08-20 10:09:40 by Josh @ Dreamland
So, we're revamping the EDC. This blog serves largely as a test for the generalization changes I've made. I've purchased a cloud account at Rackspace. From the time we complete modifications and forward, your games and images will be stored on ENIGMA's cloud. This means no more dead links, and no more fucking Mediafire.
I've also re-coded important pieces of the EDC. If something stops working, let me know via the forums.