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 3 4 5 6 »
Tips, Tutorials, Examples / Debugging Your Project: Finding Memory Leaks
« on: October 22, 2018, 06:40:35 am »
i was having some memory leaks problems with a project of mine. One of the developers (gfundies) mentioned using "Test Harness' to find them. It not only solved my problem but also pointed out other errors/inconsistencies within my code. Which is why i thought it'd be a great tip on Debugging for you guys.
The Test Harness segment can be found in Game Settings-> Compiler.What i did is run my project, then copy/compare the results.

I have used this method on my Linux machine. I haven't tried it on Windows or Mac, but it should work fine.

I'm not sure if this method is the most efficient way but , it works for me now at least. Who know, maybe the guys will construct something more efficient like an automated process writing to a file or something else........who knows........... :)

Issues Help Desk / Oracle Java 8 on a Linux System
« on: September 17, 2018, 10:24:50 am »
i installed Oracle Java 10 on my Linux Mint 19 recently, and right off the bat, I was a disappointing experience. I did this on a whim actually. Right of the bat, i got errors about themes class, and memory leaks. Regrettably i did not do a screenshot but i did send it as a Pastebin to one of the developers,

He suggested it may be a Java problem.  After agreeing with him, i uninstalled Java 10  and installed Oracle Java 8. I used the instructions from this article , which turned out to easier than i thought.

to remove java 10 i opened a terminal window and typed     
   sudo apt-get remove oracle-java10-jdk

I also used
        sudo apt-get purge oracle-java-10-installer
to remove all traces of Java 10 as well as any configuration files.

Now my system is back up and running as should. I am also able to change LGM's theme as often as i want. Running my projects without any memory leaks is also non-existent.
On the subject of changing LGM's look, you can check out this post on how to get it done. suffice to say there are some really cool ones to use. i ended up using the Synthetica Blue Ice Look And Feel for my 19" widescreen monitor.


Issues Help Desk / Lag in Keyboard Movement
« on: September 17, 2018, 08:58:26 am »
Being aware of a consistent lag in movement keys when running a game by a user on this Forum, many others have also noted that they have experienced the same. My suggestion at that time was to use SDL as the Graphic API instead of Linux11. However, now is a different story.
Through some research and further testing, my theory is that it is more likely a hardware issue. I refer to this one article and also to this other one.
I created a little video changing the keyboard Settings on my system which, had a significant effect. you can check it out here or on the Discord channel.
I have yet to test on Windows so there's not much i can say of how it did. However, Goombert has said he has experienced the same lagging problems, so he is looking into it as well. As of writing this, i haven't been able to discuss my theories with him, yet but i will as soon as he's available.
So that's it for now.  as far as Linux is concerned, here are a few suggestions you can do

  • use SDL setting as it performs better than Linux11.
  • use Oracle Java 8 instead of Openjdk 8 jre (i'll explain in another post)
in case you haven't installed SDL on your Linux machine, you just need to open a terminal window and type the following command
  •          sudo aptitude install libsdl2-dev
  •          sudo apt-get install libsdl2-dev
whichever you prefer.

Developing ENIGMA / Customized Drag n Drop Actions
« on: August 30, 2018, 01:15:56 pm »
Every game needs a menu to provide choices for the user to navigate within their game.. For beginners and everyone else who wants a small menu for their games, one has been provided in the form of a library.

to use the library you must create a 'lib' directory in your 'enigma-dev' directory. copy over the 'Game menu.lgl' file into the 'lib' directory. Start up your LGM/Enigma and the library will be loaded.

**Very Important**
One of your rooms must be named 'rm_option' for the 'Help/Options' segment to work since it looks for a room with the same name.

you can refer to the sample file to see how it is done.

The library has been tested on LINUX 64bit machine and Windows 8.1 However it has not been tested on Mac. It should be able to work though. I will update the post on results.

You can download the file from here.

Tips, Tutorials, Examples / A series of video tutorials using Enigma
« on: August 22, 2018, 08:24:29 pm »
I'm creating a series of tutorials featuring how to use ENIGMA to create games and apps.

How to create a Breakout game is the first one I will tackle. Part 1 shows using a preferred graphic editor to create the sprites. A brick, ball, bat and wall sprite are needed.

You can see the video here .

Part 2 will show how to setup the objects, playfield and overall layout of our room to get our game going. Some minor coding to move our bat will also be shown. See the video here.

Part 3 shows coding for our ball to move, A new object is created named 'controller' to do control all other aspects. Like scoring, a lives system, a GUI to show our score and lives and practically everything else to make our game flow as smooth as possible. Improvements are also done to all other objects to make game-play more interesting. See the video here.

At the time writing this I am editing Part 4. I will upload it as soon as i finish

If you like this video series and perhaps want more or request a particular tutorial, drop a line in the comments or contact me here

As always your criticisms are welcome.

General ENIGMA / Response to Concerns
« on: August 06, 2018, 11:30:28 am »
In response to various comments by 'the watcher" maybe he ought to be diligent enough to check the newer posts on the improvements Enigma have made, rather than look and comment on older posts 4 years and older, as a basis for his rants and criticisms.

Better graphics, faster execution, better compatibility, smaller compiled size, more APIs, more functions, better EDL/GML compatibility, true cross-piling on Mac, Linux and Windows systems and now the ability to run/compile on Android. there are also utilities where you can create your own extensions and libraries to work in ENIGMA as 'Drag n Drop" icons which I have personally created and used.

Correct, a lot of users (the ones that are not brainwashed at least) use Windows.  Nothing wrong with Windows.  The only thing wrong is the user who's been fed bollocks about windows sucking.

the only people who are brainwashed are Apple fanboys. I take great offence to being compared to the like. Windows is UNSTABLE.........being subject to virus attacks, hacking and blue screen of death. as an experienced technician for over 20 years, most of my business always came from fixing Windows computers for my clients. Even to this day, I still cannot get a year free from any issue where Windows is concern. whether it is the system slowing down, to a system update corrupting the system, Windows have not changed much. Its core was rotten then and it continues till now amidst all the "features" and versions.

Linux have proven itself to be a better system for over the years. Low power consumption, and resilience to hacking and virus infiltration.

Users have created wonderful games using Enigma. TKG have one published on; as well as it being featured on the homepage. i did a video showcasing sample of the types of game ENIGMA is capable of producing. I also have a page with my own games and apps. Yes ENIGMA is not only for making games. You can create apps as well. Another advantage Enigma has over GameMaker and Unity.

General ENIGMA / MacBook Experience update
« on: July 20, 2018, 10:25:08 am »
Enigma is working and building playable games . Homebrew and Xcode must be installed. The version of Xcode i used however is version 9 from a 3rd party site as the AppStore would not allow me to download Xcode at that time.
the Macbook i used was a 2009/2010 version with 8gb of ram and 320gb Hard drive. I also had to install 'sfml' and select 'sfml' as audio in the options-API section of Lateralgm. .Wav files are only supported for now though.
With everything setup and working properly, i was able to build sample games like tetris and TKG's "Keys to Success'.

Graphics and Video / ENIGMA Games Showcase 2018
« on: June 07, 2018, 10:44:46 am »
here is a video showing samples of the types of 2d and 3d games ENIGMA is capable of producing. we have Plat-formers, first Person Shooters, arcade Space Shooters, top-down 2d dungeon-style, arkanoid clones, even match-3 ones.

the Youtube Link is here 

and the one for Dailymotion is here

hope you enjoy it.

Tips, Tutorials, Examples / Something new.....more modern
« on: May 21, 2018, 12:10:58 am »

Here's something more modern to play with use.

Remember Flappy Bird.

Works in Progress / Pacman for Linux demo
« on: May 11, 2018, 10:10:43 am »
Greetings and salutations all. I've been talking about doing remakes of various arcade games lately and I'm happy to done a demo for you to download.  Comment, criticize and let me know what you think.

There are only 10 playable levels for now. I'm working on more features to make it a full-featured game. What you have is basically the core of the game.

When you download/extract the file you may have  to set the 'execute as program' bit in the Properties tab, when you right click on it.

I will also upload a Windows very soon. [I have to make a few minor adjustments first]

hope you enjoy it.

Works in Progress / remakes of my Favorites Arcade Games for Linux
« on: May 04, 2018, 08:05:29 pm »
I'm working on a series of remakes of games I've enjoyed over the years to highlight the capabilities of ENIGMA. They are opensource and free to use as one sees fit. In short they are more like Tutorials and examples which i hope will be of use to you.

I've already done one for Tetris. this time around I'm doing a Pacman remake. You can watch the video here.

Tips, Tutorials, Examples / A rough draft on written Tutorials
« on: April 23, 2018, 04:13:49 am »
Greetings all. It has been quite a while since i last posted. I've been very busy of late with other work which have taken a lot of my time. However I've still involved in ENIGMA if only for a couple of hours.

I've in the process of writing some Tutorials for LINUX users. My first publication is not quite finished but I thought I would share what I have done so far with you, to get your opinions.

The link to the file is here.

I also plan on doing a Tower Defense tutorial, A Guide to using ENIGMA and migrating GM samples and scripts to work for LINUX.

Tips, Tutorials, Examples / Update on previous post
« on: March 24, 2018, 05:04:58 am »
It appears that in one of my posts the download link was not working, so I've re-posted a new link.

the post was in 'A pop up Message Example' in the 'Tips, Tutorials, Examples' section. Sorry about that and the fact that it took so long to correct this. i was only aware of it when I myself checked it today.


Greetings everyone. I've done a fun little side App called Desktop Dancer for LINUX. It features 2 animated Dancers that moves to music playing on your favorite music player. You can switch the dancers from a slide menu at the bottom right. there's even a disco ball. :) :)

There's only one drawback.  The Scene button doesn't work as it's supposed to. When I try to switch backgrounds, the app ends. So I've disabled it for now.

As for now its in its bets testing phase, so check it out and get back to me on your thoughts.

Youtube's video link is here.

Dailymotions video link is here.

Be careful of the loud music as I recorded it directly from music playing in VLC player!

Off-Topic / Research on Gaming
« on: February 28, 2018, 11:36:08 am »
Hello and salutations.

I've been quite silent for a while as I've been very busy for the last couple of weeks. My studio is half way finished. I need to build the roof now so I can bring in the furniture and other stuff. I've also been doing some freelance electrical work, IT work fixing computers and network maintenance. I'm also slated to teach some courses later next month on Microsoft Office Training. Needless to say, doing work on my projects have slowed down somewhat but I do look in on the Forum from time to time.

Today i have a lot to talk about but I'm going to focus on just one topic as It relates to an experience I encountered since Monday, as well as I hope you give some feedback to a question I give to you.

Sometime last week, my file-server had crashed due to a Windows update. Luckily i was able to save one of my Backup drives and a huge amount of critical projects and graphics were saved. I lost a lot of my Software I had kept from my younger days, though but that okay. This prompted me to build a new computer with Windows installed to use strictly for Windows stuff.

As for my File-Server, I built another machine and installed Windows 7 Ultimate instead of Windows Server 2016 this time. The previous machine, i installed Windows 7 Ultimate on it and decided to gave it to one of my friends. I didn't install many software except for some games, VLC and Chrome browser. Suffice to say, its enough to get him on the net, play games and look at porn....... :) :)

So I gave it to him fully working but he went and installed 'COMODO AntiVirus' which fucked up the system. First it wont un-install fully
, then the hard drive won't boot, no matter whether I install Linux or Windows. Today I finally got it booting up to Windows desktop, did the Windows updates and installed Avira Antivirus.

With all of ttthhhhaaaatttt said, what recommendations does YOU have for installing 3d games to play. Most of games recommended by Youtube and gamesites are nothing more than Shooter games. I looking for a variety as in Dungeon exploring, Fantasy, Puzzles , mystery. Emphasis should be on the story, rather than the gore and violence.  Mixed content is also welcomed. for example I remember playing one that was a hidden object + match 3 + mystery game before but I can't remember the name. It could also be Openworld like the new Mario game for Nintendo.

lastly, here's the specs on the machine:
  • Gigabyte LGA  motherboard
  • Intel 2.8 Ghz Cpu
  • 4 GB PC2 DRAM
  • Windows 7 Ultimate OS
  • 160 GB Western Digital Hard Drive
  • 160 GB Seagate Hard Drive

thanks for your response and suggestions!

Pages: « 1 2 3 4 5 6 »