Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - hpg678

Pages: [1] 2
Off-Topic / ENIGMA Value
« on: October 30, 2017, 03:47:33 PM »
In a post by the user Fervi, it was mentioned that the developers were sad because of ENIGMA not being popular enough.  The user went on to state their reluctance to accept money using for their product. Though I admire that about them, being a realist, I could not in good conscience use their product to make money without making some kind of donation. I did it for GameMaker 5 and GameMaker 8, so I would not have a problem if having made money from selling one of games, I could not give back to the developers.

So what do you think?

Works in Progress / Deciding on a new project
« on: October 28, 2017, 06:27:52 AM »
So I'm considering whether to do a 3D Racer or FPS and I would like to hear your comments.  Either will be a first for me, so I'm a little excited to try out both. I'm mostly comfortable with Puzzle Genre and 2D, except for the 3D Breakout demo i posted had posted before.

(Trigonometry was not my strong suit, but I will try my best).  :-[ ::)

My initial thoughts on the subject
  • What type of game
  • The story
  • The length of time
  • Can I handle it with my skillset
  • What kind of help do I require?
After I have answered these questions and developed a plan, then I can actually start developing the project. After taking the weekend off, I'll start working, so don't be surprised if you don't see online for a couple of days.

Off-Topic / Gamepad/ Joystick Devices
« on: October 20, 2017, 10:40:22 AM »
Thought it would be interesting to hear from you all on the type of controllers you use when gaming. It would also help me to consider different types of control when I am developing a project.

I have 2 types of controllers.
  • Playstation 3 SIXAXIS DUALSHOCK 3
  • XBox controller (the original XBox console) modified with a USB end
Actually the Playstation 3 works directly in LINUX but in Windows I have to load a driver and map it. Then the XBox controller works fine in Windows but goes haywire in LINUX.

Off-Topic / Interesting News
« on: October 03, 2017, 04:39:15 AM »
Came across an interesting article about a rise in LINUX and MACOS  Desktop sales. Check it out here.

Another has to do with Microsoft claiming to 'love' Linux. read that one here

Interesting indeed.

General ENIGMA / HOW Windows Sucks or AM I JUST UNLUCKY?
« on: October 01, 2017, 08:30:13 PM »
So after I wrote in another post about taking some days off, I went to do a job installing a fan at a customer's home. So I switch off my LINUX computer and my WINDOWS one, went did the job and got home just before 1 o'clock. After finishing cooking around 3 o'clock I finally sat down expecting to watch a movie or two, before I did any research, when my WINDOWS machine would not boot. Not a boot screen, nothing. And this is a machine I had built a week ago after my previous failed as well.

Of course my LINUX machine is up and running but now once AGAIN I have to build ANOTHER machine and re-install WINDOWS all over again. AM i just unlucky or is some kind of prominence trying to tell me something? At some time later in the month I was planning to setup a HACKINTOSH to add to my network and see if I could be able to install ENIGMA on it but now I have to use any available parts I have to set back up a Windows machine first.........or do I?

Actually I using my LINUX machine for now so after I've gotten some sleep, I think I'll try building a HACKINTOSH first. I also think I have a another motherboard around somewhere that I can install Windows 7 on. Tomorrow I start on that and relay back how i do. In fact now that I think more on it, I'm gonna try it and see if I can help out TKG with a request of his.

Wish me luck.

Tips, Tutorials, Examples / 2D Lighting
« on: September 29, 2017, 09:05:17 AM »
I've started a little project using 2D lighting. I actually wanted to do a shader effect casting light and shadows but discovered a far more simplistic way through a Youtube least for a 2D game.

The idea is to create a parent object that handles the alpha value of a child object so that the further the player if from it, that object alpha value becomes less than 0 whereby it darkens. The closer it is to the player, the object opacity rises to the point where it becomes visible.  The first screenshot shows this.

you can also control the color of the lighting you want by changing the 'color' value in the 'draw_sprite_ext' function. Notice that I place the 'obj_globalp' to be the parent of the wall object,  the grass tile and coin.

Another thing to note is the number "140'. this controls the radius of visibility of the relevant objects to the player. The smaller the value the smaller the radius and vice versa.

The original code worked in GameMaker 8 but didn't work in either versions of ENIGMA, so this is basically a rewrite of the original code.  I believe it can be helpful in a top down game, a maze game or probably something else like a day and night effect with some more tweaking. who knows.

Hope it been useful in some way.

Here a link to the source file in gmk format

Tips, Tutorials, Examples / A Pop up Message Example
« on: September 26, 2017, 04:10:15 PM »
ENIGMA DIALOG functions doesn't work in the LINUX version like in the WINDOWS version. So I had to circumvent otherwise to produce such action.

In the example provided, we have a background sprite and two button sprites for the MOUSE ENTER and MOUSE LEAVE events. I've also used a script to create some highlighted text on the background sprite.

An object is created as our Button object to control events such as when the MOUSE ENTER, LEAVE and PRESSED.
Another object draws our background sprite, calls up our script and creates our our BUTTON object at the relevant position we want it to appear.

I've also created a CONTROLLER object that puts it all together.

Check it out and tell me what you think.

The program file can be downloaded from here

Tips, Tutorials, Examples / A Pop up Message script
« on: September 25, 2017, 12:37:24 PM »
the objective of this project is to create a message box calling a script named "scr_show_message()". The idea is to place any text in between the () and it will be displayed.

the code in the script is this

Code: [Select]
var message;
message=argument0; // use '#' to write text on a new line

var bg;
bg=spr_message_bg; //sprite used as a background

var box_x, box_y, box_height, box_width;
box_x= (room_width/2) - (box_width/2);
box_y= (room_height/2) - (box_height/2);

draw_sprite_ext(bg,0, box_x, box_y, box_width/32, box_height/32, 0, -1, 1)
draw_text(box_x+5, box_y+5, message);

when you call it from the DRAW event you should be able to see a pop-up message the length and height according to the text you place in ().

Programming Help / GTK WIDGETS
« on: September 25, 2017, 09:29:02 AM »
I've tried to use the GTK Widget but I keep getting an error "/GTK/gtk.h" is missing? How can this be resolved so I can use GUI buttons and dialogs in LINUX?

General ENIGMA / Testing ENIGMA on Different Linux Distros
« on: September 24, 2017, 06:29:05 AM »
Some days ago during hurricane Maria's passing, my Windows computer died through a blackout caused by our Electric Utility Company.  they made up an excuse saying it was a lightning strike but I assure you it was not, since there was none during that day and as I live not to far from the facility.
Therefore I had to build another WINDOWS computer. Luckily I had one laying around so I put in some spare parts and now its up and running. I installed Windows 7 OS, Game Maker 6, 8 as well as Game Maker Studio 1.4 portable as well as a few other applications.........NeoPaint as my graphics editor, LibreOffice 5 as my productivity suite and ENIGMA portable.

A few days after my Linux Desktop computer began acting weird, lagging, certain project files not working properly on linux but working fine in Windows. So I decided it would be a good opportunity to test some other LINUX distros and see if ENIGMA would work on them.

The first on my list was LINUX Mint one the most popular. No luck there. I even tried an older version but the repositories did not exist anymore. the next on my list was OpenSuse which, failed miserably. There were no rpm packages for certain dependencies, so that also was a bust.

Next up was a much newer distro called FEREN Linux. It's a relatively new distro coming out with its latest version sometime in August this year. I downloaded the 64bit version and got no problems installing it. However when I ran ENIGMA, a familiar error message about not finding 'compileEGMf' popped up. Incidently, when I test ENIGMA on a 64bit OS, I get this error. However on a 32Bit OS, that error doesn't appear.

The one which I ended up is called MAUI LINUX. It is based on KDE NEON and UBUNTU with the PLASMA Desktop. In fact i am writing this on the same Maui Linux and so far it is impressive. I have yet to get any major errors on the 64bit version I am using. So for the next few days I will be testing this.

If you're interesting in checking it out, you can got to its homepage and have a look.

Off-Topic / Developing Games
« on: September 18, 2017, 09:27:14 AM »
I'm interested in knowing which platform developers such as yourself cater to. Is it Windows, Linux, IOS or probably something else?

Third Party / DnD to GML utility
« on: September 18, 2017, 09:13:28 AM »
Here's a little utility I've been using that converts Drag and Drop actions to GML. It's been invaluable to me in learning GML so I thought I would just share with any newbies out there.

Upon writing this , I did a search on DND to GML utilies and I came many others. One can also do a search and try them out for oneself but I still prefer this one as you can perform an actually code segment and it will convert it for you, right there and then. Check it out.

here's the link


Ideas and Design / Writing an ENIGMA guide.....Interactive or not?
« on: September 11, 2017, 04:49:55 AM »
I've been mulling over the idea of creating a Beginners Guide to ENIGMA for quite a while now. I think one is really needed but I'm having trouble deciding how to go about it. Which is where you come in.

My ideas are as follows:

  • Interactive.......where the user performs actions and  actions are performed.
  • ebook form........pdf, or html with illustrations, etc
  • series of videos......hosted on Youtube, Dailymotion.
I'd really like to hear you thoughts.

Graphics and Video / Enigma Wallpaper
« on: September 07, 2017, 07:34:33 AM »
I've done a wallpaper with the Enigma logo in it. Tell me what you think.

Graphics and Video / Simple easy to use External Graphic Editors
« on: September 02, 2017, 04:41:27 AM »
Here are some simple easy to use LINUX Graphic Editors that are compatible with ENIGMA.

  • Kolorpaint
  • Pinta
  • Krita
All of them should be compatible in Ubuntu, their derivatives (e.g Mint) as well as ArchLinux.

KOLORPAINT  is a free, open-source easy-to-use paint program for KDE. It is designed for daily tasks like:
  • Painting - drawing diagrams and "finger painting"
  • Image Manipulation - editing screenshots and photos; applying effects
  • Icon Editing - drawing clipart and logos with transparency
Its features includes
  • Undo/Redo Support (10-500 levels of history depending on memory usage)
  • Tools (single key shortcuts available for all tools)
    • Brush, Color Eraser, Color Picker, Connected Lines a.k.a. Polyline
    • Curve, Ellipse, Eraser, Flood Fill, Line, Pen, Polygon, Rectangle
    • Rounded Rectangle, Spraycan, Text
  • Selections (fully undo- and redo-able)
    • Rectangular, Elliptical, Free-Form shapes
    • Choice between Opaque and Transparent selections
    • Full Clipboard/Edit Menu support
    • Freehand resizeable
  • Colour Similarity means that you can fill regions in dithered images and photos
  • Transparency
    • Draw transparent icons and logos on a checkerboard background
    • All tools can draw in the "Transparent Colour"
  • Image Effects
    •   Autocrop / Remove Internal Border
    •   Balance (Brightness, Contrast, Gamma)
    •   Clear, Emboss, Flatten, Flip, Invert (with choice of channels)
    •   Reduce Colours, Reduce to Greyscale, Resize, Rotate
    •   Scale, Set as Image (Crop), Skew, Smooth Scale, Soften & Sharpen
  • Close-up Editing
    • Zoom (from 0.01x to 16x)
    • Grid
    • Thumbnail
  • File Operations
    • Open/Save in all file formats provided by KImageIO (PNG, JPEG, BMP, ICO, PCX, TIFF,...) with preview
    • Print, Print Preview
    • Mail
    • Set as Wallpaper
PINTA is an open-source, cross-platform bitmap image drawing and editing program with with support for layers, blending, transparency, and plugins.

its many features are typical of image editing software including drawing tools, image filters and colour adjustment tools. The focus on usability is reflected in several of the main features of the program: Unlike some simple image editing software, Pinta also features support for image layers.


KRITA is a free and open-source raster graphics editor designed primarily for digital painting and animation purpose. It features low-distract UI, high-quality OpenGL accelerated canvas, color management support, advanced brush engine, non-destructive layers and masks, group-based layer management, vector artwork support and switchable customization can go to this page to get the full story. Suffice to say if you want an alternative to GIMP with all the complexity, Krita is for you.


Personally I use KOLORPAINT to edit and create/edit my 2D sprites and icons. Its fast, simple to use and works well with ENIGMA as an external graphic and background editor.

Pages: [1] 2