degac

Forum Replies Created

Viewing 15 posts - 106 through 120 (of 124 total)
  • Author
    Posts
  • in reply to: MojoX Placement/Sizing Code #3265

    degac
    Participant

    Questions:

    there’s a way to change/to get the size of a widget? I’ve looked at View and there are some Property (Rect, Frame etc) – but I get always ‘0’ as result.

    Secondly, ProgressBar widget, well, it isn’t a ‘real’ progress bar… I haven’t found any ‘value/position’ field in View. I think it should be renamed in something else and a ‘proper’ progress bar should be implemented (… I’m thinking to create it as exercise, once I’ll understand better mojox/MX2)

    in reply to: Little mojox example – calculator #3262

    degac
    Participant

    @Jessi: MMM… I don’t understand your question!

    in reply to: Little mojox example – calculator #3261

    degac
    Participant

    Found a possible solution using Lambda() and a Global ref to txt_result! (this was the problem!)

    Ok, it’s not very ‘beautiful’ code, just written it to test if the logic works.

    Now it’s time to sleep, thanks again!

    in reply to: Little mojox example – calculator #3260

    degac
    Participant

    Oh! Thanks!

    I didn’t noticed that folder!

    in reply to: New PC Build #3240

    degac
    Participant

    Just a question: how many times this new computer should be faster then the actual one you are using?

    The ‘incremental’ power (in CPU/GPU/HD speed/Memory speed) in the last years is getting lower and lower…

    I still have an AMD Phenom II X4 955+4GB RAM+gfx Radeon HD5700, and an ‘old’ HD – and sometimes I get the ‘monkey’ to change everything… then ask myself for what and stop thinking 🙂

    ps: just read that AMD has shown its last ZEN CPU (no sure when it is sold, maybe at the start of the next year). I would way just a moment only to see an hoped fall in the price and a little bit more competition on the CPU field (Intel prices are just a little too high for my tastes!).

     

    Cheers

    in reply to: V103 – bloody annoyed! #3095

    degac
    Participant

    Found the problem: a (damned!) typo in the env_windows.txt file for the MINGW path (!)
    Now everything is working (no need to change other MINGW parameters around).

     

    about the idea of different version (of a module):

    it would be possible (of course this means a *little* rewriting of the tools …) having – for each module – a subdir (like 100) that represents a specific version.

    If there’s no the required version, the compiler uses the current one (ie: 103) otherwise what needed from the user.

    The main advantage is that the ‘first’ level of the module structure (emscripten, freetype, gles20 ecc) is like the actual one, only internally could be different version available.
    Sure there is the risk of duplication in files.

    Moreover ‘beta’ version could just be downloaded & installed in the ‘current’ MX2 folder (unless – of course of big changes in mx2 itself).

    in reply to: V103 – bloody annoyed! #3081

    degac
    Participant

    @Mark

     

    I will try to remove any other refer to MinGW in path, BUT as I’m using Bmax I suspect it will break things somewhere 🙂

    About Ted2:

    It would be useful some ‘info’ report:

    • mx2cc version
    • Ted2 version
    • MinGW version / path

    etc

    Just to know what user is using.

    Another question: maybe I’m wrong, but I remember you are thinking about some info about ‘internal version’ for each modules. Is still a valid thing or not?

    In this way (refering to AdamStrange) anyone could use a ‘determinated’ version of that module (ie:mojox.101 when the latest one is mojox.103)
    No idea how to implement it in the parser/compiler!

    in reply to: V103 – bloody annoyed! #3016

    degac
    Participant

    Ok

    1. I download and installed MX2 v103.
    2. Copied the ‘devtools’ (from MX2 v100) into the new one.
    3. Launched the rebuildall.bat

    I did point 3 many times… too many! 😀

    At the end I found the ‘ted2’ v.2 (the new one), mx2cc reports v.1.0.3… but once I try to compile everything (in this case the hello-world.monkey2 example) I get a mountain of errors!

    What’s wrong???

    in reply to: Application exit code #2658

    degac
    Participant

    Hi

    In mojo, class App, method Terminate there is a call to libc.exit_(0)

    Maybe it’s possible to change the value hacking the methods.

    But to be honest I don’t know if the function writes something to the standard output, or what actually id does – I don’t really find myself in the MX2 source structure!

    edit:

    A possible solution (not tested) – intercepting the Event.WindowClose you could use Print “Something” before calling App.Terminate(). Of course in case of crash I suppose this can’t happen

    in reply to: (closed) Question about Cos & Sin #2615

    degac
    Participant

    Thanks

    I’m starting from the ‘basis’… so porting old programs/algorithms I think is the best way to understand MX2 and the differences/features.

    I’m thinking I need to create a ‘conversion-library’ to manage ‘old’ code (Sind is much better than  Sin(Rad(n))…)

    By the way, I think it should be available by default in the Math module some functions for translating from Radian to Degree and viceversa.

    in reply to: (closed) Question about Cos & Sin #2613

    degac
    Participant

    Nevermind

    MX2 uses RADIAN, while BMAX degree.

     

    Solved & closed!!!

     

    Ps: I should have read BEFORE the manual!!!

    in reply to: Drop in Activity fragmentation is bad. #2463

    degac
    Participant

    Already said/written many times before (in any of the BRL’s forum :D!)

    Sure, there are ‘technical’ limits: each site has an own forum, this one (site) is based on WP, the others no. So a joining between different databases is really complicated.

    The most logic solution should be an unique ‘entry point’… then the user could decide to follow ‘legacy’ products (BlitzMax/Blitz3D/BlitzPlus) – Mx1 or MX2.

    Some advantages?

    • Just ONE gallery (for example) with all the projects (just add a tag for clarify what products is used – Blitz3d/Bmax/MX…)
    • One repository for every products: a ‘download’ section
    • One site where post announces/news – for everyone, not only for Mark (no needs to make copy & paste!)
    • One ‘support me’ page
    • One site to manage!

    To be honest remember this site is very hard, typing it harder (monkey2.monkey-x.com)…

    in reply to: Defining preprocessor directives #2092

    degac
    Participant

    A better  (and logic) name ? … WHERE (if not already used internally for something… I’ve read about it in the blog maybe – something related to For..Next I believe)

    In any case – maybe – I missed the point, in MX1 there’s a bunch of #preprocessor directives (#If, #ElseIf etc).

    What should be the difference (except the compiler behaviour) ? Just use #IF

    in reply to: Time, CurrentTime & etc #1763

    degac
    Participant

    Thanks!

    I’ll keep track of future changes on this.

    in reply to: Creating new arrays #837

    degac
    Participant

    I think String.Split() already returns a new array, so you don’t have to use “New” or specify the size before calling it!

    Thanks – I know I’ve did something wrong in the syntax!

     

    I think I’ll add these informations directly in the modules section/monkey-types/array http://monkey2.monkey-x.com/modules-reference/

     

Viewing 15 posts - 106 through 120 (of 124 total)