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.

Messages - HitCoder

Pages: « 1 2 3 4 5 6 7 8 9 10 11 »
I believe this shows that there is no bug. I can't be sure but I believe it has to do with how ENIGMA interprets GM code as well as bad code writing. No fault on the coder. We all make mistakes and we're not perfect coders.

I'm still going to have to agree to disagree; while I see no reason to revert such changes which have caused this "bug", since there can still be workarounds due to code logic, the bug present is that the with(object) method of the variable tester is carried through to the jump to position function. This is not how Game Maker's logic is supposed to function in terms of using these drag-and-drop blocks, due to every single one requiring a reference, or control from said object, being newly specified each time.

In this case, I don't think it's necessarily a bug, but, I would not say it is an "incorrect" way of programming it. It is not "bad code writing", as taking such an approach doesn't necessarily make it inferior. It's just another approach that works fine in Game Maker, but Enigma handles the logic differently.

Though, because of discrepencies like this, I personally stick with using GML/EDL rather than using the drag-and-drop blocks, and I personally treat Enigma and Game Maker as different engines/programs/software/tools entirely, despite having identical interfaces and very very similar logic.

Ideas and Design / Re: Writing an ENIGMA guide.....Interactive or not?
« on: September 12, 2017, 01:49:31 PM »
YoYoGames makes their offline manual by compiling chm's I guess. I don't know what they are doing for GMS2 yet because I am not sure if you can open chm files on Linux, but I imagine there exists some free program.

YoYoGames haven't made a Linux IDE for GMS 2, and Russell said they weren't planning on it.

Windows and Mac are the only platforms GMS 2 can or ever will run on.

Well that sucks!!!    :o :o >:( >:(

No big deal, we still have enigma and soon Enigma Studio .NET by me if I bother putting time into it

Graphics and Video / Re: Enigma-related artwork
« on: September 11, 2017, 02:03:53 PM »
Go back to the main page and press CTRL+F5 to do a cacheless refresh.

And don't worry about tiling it really, once you see it on the Wiki it looks great.

Wow, it really does look decent. I feel like you're giving more praise than what is really due, but it does look pretty neat :)

Graphics and Video / Re: Enigma-related artwork
« on: September 11, 2017, 12:46:07 PM »
And thanks yeah that looks great, I just tested it out on the Wiki and it does look pretty sweet:

What do you guys think?

If it's supposed to show on the wiki page to demonstrate how that would look, it's not showing for me right now.

And with regards to the tiled background thing, what part did you want me to try and tile or make repeatable? the background or the foreground or both?

Ideas and Design / Re: Writing an ENIGMA guide.....Interactive or not?
« on: September 11, 2017, 11:09:48 AM »
Hmm.. I've wanted to do some kind of youtube video for Enigma and my channel has been dead for a few months, so I would be willing to do a beginner's guide video or something if you have any specification.
But for the most part I'd likely just go over everything I possibly can. It sounds like something interesting to do though so I might record a mockup video and share it and any ideas I could implement later on.

It would however be nice to have an offline/local manual like GM did, for Enigma. But, I've started needing that less over time after getting back into using the programming language.

This is odd, as checking your logic, the arrow should definitely be jumping to the ball position.
Instead, the ball is jumping to the position you've specified for the arrow to jump to, which is relative to the ball position. This is why the ball glides up and right.
So, I think I know why this is happening. Because the IF statements are "with(object_Ball)", I think the statements that follow this are using this same with(object_Ball)

In which I think if we convert this logic to GML in both circumstances we'd have the following

Code: (EDL) [Select]

In which case, the "with(object_Ball)" tells all of the code in the braces that follow it to run through that object. This would mean that setting x would set the object_Ball.x instead of object_Arrow.x as the code is being told to run through object_Ball remotely.

Where in Game Maker, the jump function switches back to other in this context, and I think with GML the with(other) might be using with(self) instead in which, Enigma would look as the self constant as the current object, in which would be object_Ball. I'm not sure how GM works on the backend (since it's not open source). I only have GM8.1 for reference though.

So using this logic, Game Maker would be doing it sort of like this in contrast to the above code;

Code: (EDL) [Select]

Not sure why Enigma is handling it like the former, but it kind of makes sense.

So the fix in code would be to use the second code extract in place.

Also, I did test this in "realtime" while typing all of this; everything seems to add up here so I'm fairly confident this is what is happening.

And the solution in the drag-and-drop functions would be to set both jump functions to apply to "other" as follows.

Tested and works.

Graphics and Video / Re: Enigma-related artwork
« on: September 11, 2017, 08:41:43 AM »
Hey, I uh, kind of really like it. Can I see a version of just the background by itself with no black overlay if you still have it? I might put that on the Wiki's background or use it for something else TOP secret. I don't just says things to make people feel good, this is really nice HitCoder.

Actually more so if you can make it like a repeating pattern like the lowercase "enigma" text in LateralGM's MDI area would be better. We could put that on the forum background too.

Thank you! I do not have the gimp project file any more due to not saving it (which was kind of silly) but I can re-create whatever it is that you require.
Just bear in mind that the background was just two of the "gears" svg logos overlapping.
I'm not 100% sure what you want though, do you just want the background part without the text and foreground part (like the controller and the logo)?
And for the repeating pattern that might be a bit difficult since I didn't design it to match up as a tiled background (plus I'm not 100% sure how to go about that)

I'm trying to be more active in the IRC so if you see me on there then just ping me or whatever. Otherwise, my discord is now referenced on my forum profile and signature so if that's easier for you then that's an option too.

EDIT: I believe this may be what you were after...

EDIT2: I made it look a little more like the original (I'm being a bit OCD I think haha)

Graphics and Video / Enigma-related artwork
« on: September 10, 2017, 08:36:17 PM »
Just creating this thread since hpg678 made a thread sharing an enigma wallpaper. It kind of made me want to make one as well, and gave me the idea of making a thread specifically for things like this; I didn't want to post it on his thread since it was about his wallpaper specifically, and didn't want to take the spotlight away from that in his thread.
In this thread, I want other people in the community share things such as wallpapers that they have created, since I think things like this would be nice promotional-esque stuff for enigma.

That all aside, I'm going to start this off with one I created today:

Thank you to everyone who made Enigma's assets and logos, since this image uses files from ENIGMA\enigma-dev\Resources
The fonts used are Joystix and PC Senior both by codeman38 which are free for use according to their licenses.
it's 1080p so should look good on anything other than 4k.

Please share your own ideas!

Graphics and Video / Re: Enigma Wallpaper
« on: September 10, 2017, 08:28:02 PM »
Wow, looking neat! I really like it :)
You have given me some inspiration haha

Issues Help Desk / Re: Java Crash (potentially not Enigma at fault)
« on: October 27, 2016, 08:38:46 PM »
I sincerely apologize for bumping this thread but after a fresh new install of Manjaro 16.06.1, and the latest 4.4.27-2 kernel, and all packages up to date, here are the entire error logs.

Terminal log from cloning the github repo to the crash

Java crash log (hs_err_pid)

I'm putting there here just in case it's helpful to finding the fix. I'll use enigma on my windows install for the time being. (though it looks much uglier than the GTK theme on Linux)

Issues Help Desk / Re: Enigma crashes on compile
« on: September 05, 2016, 03:16:28 PM »
Same problem here, but this isn't on compile for me. I get the exact same crash when I first start enigma andd nothing seems to be fixing it.
I'll let you know when I find further info.

Manjaro Linux 16.08

G++ and GCC are 6.1.1

openjdk version "1.8.0_102"
OpenJDK Runtime Environment (build 1.8.0_102-b14)
OpenJDK 64-Bit Server VM (build 25.102-b14, mixed mode)

Issues Help Desk / Re: Java Crash (potentially not Enigma at fault)
« on: August 09, 2016, 06:24:33 PM »
It'd be nice if I had a solution rather than a rant that seems to have no purpose to it.

Sorry if I'm misinterpreting what you're saying but I feel like you're just saying "take out the enigma plugin". I will need to compile, so...

Sorry if I come across sharp or rude, I'm tired and have a lot going on right now. Apologies.

IGNORE ALL THAT; you were correct, it is the plugin. How do I fix this? I'll need to compile with it.

Issues Help Desk / Re: Java Crash (potentially not Enigma at fault)
« on: August 06, 2016, 05:07:29 PM »

Issues Help Desk / Java Crash (potentially not Enigma at fault)
« on: August 04, 2016, 04:56:23 PM »
Hello, yes it's me again. Again.

Java decided to crash and I feel like this is more likely to be my pc and not Enigma itself but I doubt I'd get anything helpful back from Oracle.
crash report:

crash repots like this generally scare me so I haven't really read through it carefully, so I apologize if the solution is extremely obvious...
Have had a lot going on recently and I wanted to start working on something so I install Enigma on my new setup and.. yay.
I apologize for once again being a burden, I feel like I'm the person most frequently in this forum location...

EDIT: this is output by the terminal;

Code: [Select]
Java Version: 10800 (1.8.0_92)
Loading lib files in /home/hitcoder/enigma-dev/lateralgm.jar
01_move.lgl 02_main1.lgl 03_main2.lgl 04_control.lgl
 05_score.lgl 06_extra.lgl 07_draw.lgl
Calling `make eTCpath=""`
> make -j 3 -C CompilerSource
> make[1]: Entering directory '/home/hitcoder/enigma-dev/CompilerSource'
> make[1]: Nothing to be done for 'all'.
> make[1]: Leaving directory '/home/hitcoder/enigma-dev/CompilerSource'
Process terminated
Initializing Enigma:
Failed to create make directory at /home/hitcoder/.enigma/
Make directory is: "/home/hitcoder/.enigma/"
Linking up to IDE
Implementing JDI basics

Choosing language: C++
Reading GCC builtins
Read key `defines` as `cpp -dM -x c++ -E $blank`
Parsed `cpp` `-dM -x c++ -E "/home/hitcoder/.enigma/enigma_blank.txt"`: redirect=yes

*********** EXECUTE

Call succeeded
Read key `searchdirs` as `gcc -E -x c++ -v $blank`
Parsed `gcc` `-E -x c++ -v "/home/hitcoder/.enigma/enigma_blank.txt"`: redirect=yes

*********** EXECUTE

Call succeeded
Searching for directories between "#include <...> search starts here:" and "End of search list."
Toolchain returned 9 search directories:
Creating parse context
Parsing settings...
Setting up IDE editables...
keyword-blacklist: ""
inherit-equivalence-from: 0
angular-unit: 0
inherit-escapes-from: 0
compliance-mode: 0
scalar-precision: 0
inherit-negatives-as: 0
make-directory: "%HOME%/.enigma/"
inherit-objects: true
inherit-strings-from: 0
inherit-increment-from: 1
treat-literals-as: 0

target-collision: Precise
target-windowing: xlib
target-widget: None
target-networking: None
target-graphics: OpenGL1
target-audio: OpenAL
target-compiler: gcc

extensions: Universal_System/Extensions/DateTime,Universal_System/Extensions/Paths,Universal_System/Extensions/DataStructures,Universal_System/Extensions/MotionPlanning,Universal_System/Extensions/Alarms,Universal_System/Extensions/BasicGUI,Universal_System/Extensions/Timelines,Universal_System/Extensions/ParticleSystems

Creating swap.
Dumping whiteSpace definitions...
Opening ENIGMA for parse...
Unimplemented: '::'#
# A fatal error has been detected by the Java Runtime Environment:
#  SIGSEGV (0xb) at pc=0x00007f1c5a098c50, pid=26700, tid=0x00007f1c5a93c700
# JRE version: OpenJDK Runtime Environment (8.0_92-b14) (build 1.8.0_92-b14)
# Java VM: OpenJDK 64-Bit Server VM (25.92-b14 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  []  jdip::read_qualified_definition(jdi::lexer*, jdi::definition_scope*, jdip::token_t&, jdip::context_parser*, jdi::error_handler*)+0xf1
# Core dump written. Default location: /home/hitcoder/enigma-dev/core or core.26700
# An error report file with more information is saved as:
# /home/hitcoder/enigma-dev/hs_err_pid26700.log
# If you would like to submit a bug report, please visit:
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
Aborted (core dumped)

Off-Topic / Re: NVIDIA GTX 1080 and 1070 line of cards !
« on: June 13, 2016, 03:04:35 AM »
When I initially heard of the release of the GTX 1080 I heard it was going for $600 in the US, but that in the UK we have it for like, £1,000 ish
But yeah, I love how one minute something new is brought out and next minute it's fucking obsolete. Oh well, my PC has pretty low spec excluding my R9 380.  ;D

Pages: « 1 2 3 4 5 6 7 8 9 10 11 »