degac

Forum Replies Created

Viewing 15 posts - 46 through 60 (of 124 total)
  • Author
    Posts
  • in reply to: Native GUI #8133

    degac
    Participant

    At the moment the solution I could use is to write in MX2 the application as console application, and use BlitzMax+MaxGUI to create the front-end. Not the best solution, but the only one that could work.
    I’m using this approach in many applications I wrote in Bmax, as it easy to maintain and make it modular.

    In any case I would pay for a Monkey2 GUI module (ala MaxGUI, lightweight and fast!)

    in reply to: Ted2Go IDE #8123

    degac
    Participant

    Hi
    screenshots have different sizes (depending on the source code – see for example StarGate is 966px wide), so I ask if you want a ‘fixed’ size for any pictures taken or not; it will possible (with a graphics program) to resize/scale the image if bigger than 640×480 (for example) or ‘add canvas’ to enlarge it to that size (the original image is not touched, just added ‘space’ around it)

    I think a ‘generic’ name like ‘picture.png’ is not a good solution, otherwise I don’t see a reason to put it in the banana.information file as it’s the same for any entry!
    It should be better to use something like ‘mx2-name_of_folder.png’ (or monkey2-name_of_source_code.png) as it will be easier to manage/change/update the screenshot in future without errors.
    Coding that is not impossible (just check the presence of a .png file starting with mx2-/monkey2- in the folder to load it)
    Or it would be faster/better to have a separate folder where to put/read every screenshots – if present (bananas/_screenshot)
    Mine are just ideas of course.

    ps:

    It would be better if the screenshots taken could be used – easily – in future for a gallery on the website/wordpress forum (there’s plenty of plugin for that): so one work today, for more results tomorrow.

    (added some images to make it clear)

    in reply to: Ted2Go IDE #8114

    degac
    Participant

    @nerobot

    I’m taking ‘screenshot’ (PNG) of the source examples: not really sure they are always in the minimum size of 640×480 pixels, in case I will resize or add canvas

    Question: where to send/store that images?

    in reply to: another one for monkey bananas? #8113

    degac
    Participant

    I needed to use updatemx2cc.bat to have something to play with.

    BTW, nice examples! it’s quite a full game itself! Very good (and thanks for sharing the code)

    surely to add to ‘bananas’

    in reply to: Ted2Go IDE #8088

    degac
    Participant

    Another thing should use these information for documentation.
    For example:
    audiotest.monkey2 has no refer (direct) to mojo.audio module (is automatically imported by Using mojo.
    At least user can ‘understand’ that the audio functionality are in that specific module/sub-module.

    As consequence, the documentation *could* use that tag to link (as example) any source code that refer (directly or not) to the ‘audio’ (this means that even the game could be linked).

    in reply to: Ted2Go IDE #8085

    degac
    Participant

    OK
    the ‘parsing’ will be only during the saving process, in any entry in banana.info isn’t found.

    Question:
    – what about the picture size?
    – do you want to add a ‘category’ or other info-tag?

    I think there will be some problems if ‘file’ is not unique: demo.monkey2 could be anything (but it is the real source name inside the folder shoot-out.
    Same for the example ‘stargate’ (file: ‘main.monkey2’ – so unique!)

    in reply to: Ted2Go IDE #8067

    degac
    Participant

    @about the banana.info file

    A possible solution:
    1. define (not as part of the syntax) a sort of ‘keyword’ as #_AUTHOR, #_TITLE, #_WEB, #_ONLINE_DOC etc that the programmer should add (in a rem block for example) to the source code
    2. it should be possible to ‘scan’ the code looking for that information
    3. store it in an external file

    ps:

    I would add a ‘class/tag’ item: so it would be easy to show everything is a game, a gfx effect, code about sound etc

    in reply to: Ted2Go IDE #8066

    degac
    Participant

    Gorilla: I like the name (but I would use for the 3d module!)

    Showcase: great idea. Easy to understand (without looking for an ‘example folder!’)
    I would use some ‘defaults’ if some information (ie: image, author etc) are not available…

    Ted2GO: never understood why call an IDE ‘ted’ (as teddy, a bear???). Adding ‘2 GO’ doesn’t make sense to me.

    I would choose Primate (you could read as Prime Mate if Prime was the programming language)
    But also Lemur is ‘good’.

    in reply to: Native System/GUI specific modules monkey2? #7928

    degac
    Participant
    in reply to: smartbuild – A tool for updating the modules. #7867

    degac
    Participant

    Wow, I like that someone found my concept/idea useful and make it real & working 🙂
    I will read carefully your code to see your implementation (I still have an ‘old function/type’ style..!)
    Hope that this thing will be one day a Monkey2 compiler ‘feature’ as default.

    in reply to: Writing to ZIP file #7856

    degac
    Participant

    Hi
    reading the source of miniz module it seems that it will be possible to write (in memory or on filesystem) a .zip file.
    std.zipfile has only functions to ‘read’ data from a .zip unfortunately: it seems a ‘not completed’ work.

    I tried to use miniz & some info taken from internet, but results are not very satisfactory 🙂

    in reply to: New videos for the upcoming 3d engine #7736

    degac
    Participant

    Just see it on the Marks’ twitter account.

    Honestly, ‘following’ the various source/account (twitter, fb, yt !!) is too much work for me :)!

    in reply to: Some indexers for Lists #7673

    degac
    Participant

    Nice implementation, very useful!

    in reply to: Update/Rebuild time #7610

    degac
    Participant

    Ok, as I’m a very lazy person I created this (not full working at the moment) to find what modules should be rebuild because a change in the source code (of a file in them) has happened.

    SURELY not the best thing written in MX2, but it could be the starting point to integrate this in Ted2/Ted2Go (a specific menu to build MODULES CHANGED
    ps: I checked only the folder ‘windows_debug’ and ‘windows_release’ as I’m working on Win.

    edit: support for other source file (monkey2, c, cpp, h)

    in reply to: Time, CurrentTime & etc #7609

    degac
    Participant

    How I can convert a Unix Timestamp (the value returned from GetFileTime() for example) in a ‘human ready thing’?
    I tried to toy around with Time Class, tried to convert blitzmax code to MX2, but it seems I can’t convert a Ulong to anything needed in Time.

    ps: about the Time Class I suggest
    * add some methods to convert from/to timestamp
    * make days/months public as anyone should get a ‘local’ (=in their own language) date/time
    * add STRFTIME support… it is so useful to get ‘date/time’ in the own/required string format

    Unfortunately I get stuck with type conversion between time-class & etc

Viewing 15 posts - 46 through 60 (of 124 total)