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 - Oomek

Pages: [1] 2 3 ... 5
1
Scripting / Re: How to destroy a variable or an object in Squirrel?
« on: March 24, 2017, 07:10:13 PM »
you can't destroy attractmode objects from a script after they are created.  best thing to do is to set their visible attribute to false and just stop using them (or reuse them for something else)

cheers

I did as you suggested, thanks.

2
Themes / Re: SILKY Theme v0.5 beta
« on: March 24, 2017, 04:07:47 PM »
can someone upload to another host?

6h of waiting to start download in Mega is a pain in the ass!

It's now attached to the post, so you should have no problems downloading.

3
Scripting / Re: How to destroy a variable or an object in Squirrel?
« on: March 22, 2017, 02:36:21 PM »
Assigning a variable to null does work as I cannot access it anymore, but the object does not disappear from the screen. I was trying to wipe it from the fe.obj table, but using .find() throws an error

4
Themes / Re: SILKY Theme v0.5 beta
« on: March 22, 2017, 10:37:39 AM »
I've removed the shadows in my first beta. If you fancy a more rounded version I can add a switch to the layout config. Let me know.

5
Themes / Re: SILKY Theme v0.5 beta
« on: March 22, 2017, 10:32:02 AM »
First beta version released. In case of any problems or questions just write here.

https://mega.nz/#!boNUAYaC!2QbolJ6HSfhDRijFqUHoq5chy-7A3NXNtYRz1PpJpjo

6
Scripting / How to destroy a variable or an object in Squirrel?
« on: March 22, 2017, 09:50:43 AM »
I'm struggling to find a way to destroy an object or a variable.
when I make for example

Code: [Select]
local myText = fe.add_text()
How can I get rid of it from the screen apart from writing

Code: [Select]
myText.msg = ""
?

7
Themes / Re: [WIP] SILKY Theme
« on: March 20, 2017, 05:44:55 PM »
Here's a neat feature I've just added. A colour randomizer.

https://youtu.be/d2eyK7cuQmo



8
Scripting / Re: Is there a way to save layout config from the script?
« on: March 20, 2017, 04:41:53 PM »
I don't thing It will change anything since every layout can do whatever it wants with that array, without a clear guideline of how to store the values there my data will most likely be deleted.

9
Scripting / Re: Is there a way to save layout config from the script?
« on: March 20, 2017, 03:53:59 PM »
Ok, there is one non-volatile table "fe.nv" which I could use, but as far I understand it right it's shared across all layouts, so the data stored in it can be wiped by another layout, or maybe I'm not understanding it properly?

There is no information of how to use it. Any input will be appreciated.

10
Scripting / Is there a way to save layout config from the script?
« on: March 20, 2017, 03:14:12 PM »
I can't believe  there is no alternative to get_config() like set_config().
Is there any other way of storing a permanent value from the script which can be recovered next time you run AM.

11
General / Nightlies link dead?
« on: March 19, 2017, 10:02:31 AM »
Is it only me or the site with nightlies dead to everyone?

https://build.btolab.com/project/attractmode/

12
General / Re: Simplified Windows native compile w/ MSYS2
« on: March 19, 2017, 09:12:48 AM »
Here's another set of errors:

Code: [Select]
oomek@ubuntu:~/Documents/attract-master$ make -j 3 CROSS=1 TOOLCHAIN=x86_64-w64-mingw32.static WINDOWS_STATIC=1
Package sfml-system was not found in the pkg-config search path.
Perhaps you should add the directory containing `sfml-system.pc'
to the PKG_CONFIG_PATH environment variable
Package 'sfml-system', required by 'world', not found
Package 'sfml-window', required by 'world', not found
Package 'sfml-graphics', required by 'world', not found
Package 'sfml-network', required by 'world', not found
Package freetype2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `freetype2.pc'
to the PKG_CONFIG_PATH environment variable
Package 'freetype2', required by 'world', not found
Package 'libavformat', required by 'world', not found
Package 'libavcodec', required by 'world', not found
Package 'libavutil', required by 'world', not found
Package 'libswscale', required by 'world', not found
Package 'openal', required by 'world', not found


Anyone? please, help, or end my suffering

13
General / Re: Simplified Windows native compile w/ MSYS2
« on: March 19, 2017, 02:57:25 AM »
Ok , I forgot to set the PATH to MXE and now I've got another error:

Code: [Select]
/opt/mxe/usr/bin/x86_64-w64-mingw32.static-pkg-config: 2: exec: /home/oomek/Documents/mxe/usr/x86_64-unknown-linux-gnu/bin/pkgconf: not found

pkgconf is located in
Code: [Select]
/opt/mxe/usr/x86_64-unknown-linux-gnu/bin/How do I make the compiler to look there for it?

14
General / Re: Simplified Windows native compile w/ MSYS2
« on: March 19, 2017, 02:21:46 AM »
I'm not experienced in compliling on linux so I will going to need a little help here. I have no idea of where all the files need to be located. I compiled mxe and its located in the opt folder but I get errors when I try to compile AM

Code: [Select]
root@ubuntu:/home/oomek/Documents/attract# make -j 3 CROSS=1 TOOLCHAIN=x86_64-w64-mingw32.static WINDOWS_STATIC=1
/bin/sh: 1: x86_64-w64-mingw32.static-pkg-config: not found
/bin/sh: 1: x86_64-w64-mingw32.static-pkg-config: not found
/bin/sh: 1: x86_64-w64-mingw32.static-pkg-config: not found
/bin/sh: 1: x86_64-w64-mingw32.static-pkg-config: not found
/bin/sh: 1: x86_64-w64-mingw32.static-pkg-config: not found
/bin/sh: 1: x86_64-w64-mingw32.static-pkg-config: not found
make: x86_64-w64-mingw32.static-pkg-config: Command not found
/bin/sh: 1: x86_64-w64-mingw32.static-pkg-config: not found
make: x86_64-w64-mingw32.static-pkg-config: Command not found
flags: -DSFML_STATIC  -IC:/Users/Radek/Desktop/SFML/SFML/include -LC:/Users/Radek/Desktop/SFML/SFML/lib -lopengl32 -lwinmm -lgdi32 -lfreetype -ljpeg -static-libgcc -static-libstdc++ -mconsole -O2 -DNDEBUG -Iextlibs/miniz -Iextlibs/audio/include -D__STDC_CONSTANT_MACROS  -Iextlibs/expat -Iextlibs/squirrel/include -Iextlibs/sqrat/include -Iextlibs/gameswf
Creating executable: attract.exe

15
Scripting / Re: Text alignment in AM is completely off [SOLUTION]
« on: March 18, 2017, 06:04:56 PM »
Example of improvements in small thin font rendering.
As you can see only character size:20 is rendered properly.
On the left AM Baseline, on the right my build.

Make sure your browser has zoom set at 100% and your windows dpi settings are at 100% as well.
Otherwise all fonts will appear as interpolated.




Pages: [1] 2 3 ... 5