fodinabor

Administrator

Last active 2 days ago

  1. 3 months ago
    Fri Sep 8 12:07:30 2017

    Hmm.. The issue is, that this public version is no longer being updated, therefore that would not help too much..

  2. Fri Sep 8 04:47:14 2017

    hey,
    just a fast answer - currently not near a PC to check your code..

    Instead of restarting the engine after ALT+TAB just press ALT once when the IDE is open - afterwards it should be working again as it should.

    jep... german keyboard layouts are not fully supported.

    just something I discovered in your code:
    look at the first line: Services.Input:addEventListener(nil, onKeyDownEvent, InputEvent.EVENT_KEYDOWN)
    where is onKeyDownEvent?
    (I actually think you can just leave that line away and just use the function onKeyDown - this will be called automatically..)

    Greetings

  3. 9 months ago
    Mon Mar 6 17:57:05 2017
    fodinabor posted in shortcut on linux problem.

    There's a difference how you call the application: if you start it from the terminal it makes a difference if you call it via PolycodeDir/Polycode or directly from within the Polycode folder with Polycode as the working directory (the starting point for relative path names) is another one..

    You can specify the working directory in .desktop files with the path property as described here: https://linuxcritic.wordpress.com/2010/04/07/anatomy-of-a-desktop-file/ please set it to the directory in which the binary is found.

  4. Sun Mar 5 03:22:20 2017
    fodinabor posted in shortcut on linux problem.

    Maybe you forgot to set the working directory to your polycode folder?

  5. Wed Mar 1 15:46:06 2017
    fodinabor posted in "First Steps" tutorial?.

    you had a look at the more up-to-date pages? http://polycode.org/learn/

  6. Wed Mar 1 15:45:11 2017
    fodinabor posted in Tutorial.

    if there's a broken one looking like this: http://www.polycode.org/tutorial/3d_skeletal just replace the www with oldsite: http://oldsite.polycode.org/tutorial/3d_skeletal

  7. 10 months ago
    Fri Feb 10 12:09:37 2017
    fodinabor posted in Problems with multi-file games.

    you created the Crab object before by calling crab = Crab() ?
    No other idea, as I'm not using Lua..

  8. Thu Feb 9 13:44:14 2017
    fodinabor posted in Events on UI MenuBar in LUA.

    did you have a look at: http://polycode.org/learn/events#lua ?
    you don't have to create an extra class for every handled event - just declare a function and register a callback for that:

    okButton:addEventListener(nil, onOkButton, UIEvent.CLICK_EVENT)

    that function should look like the onCollision here:
    https://github.com/ivansafrin/Polycode/blob/master/Examples/Lua/Game_Demos/DemoPlatformer/Scripts/Main.lua#L51

    you can then cast the event parameter:

    local uiEvent = safe_cast(event, UIEvent)

    to get access to ui event specific information.

    by using get uiEvent:getDispatcher() you should be able to do the same differentiation as in C++

    Hope I could help!

  9. Thu Feb 9 10:29:32 2017
    fodinabor posted in Problems with multi-file games.

    don't miss to declare class "Crab" at the beginning of the file

  10. Wed Feb 8 15:42:23 2017
    fodinabor posted in Image Angle and Direction.

    hmm... not sure - maybe have a look here (bit too tired to answer directly..):
    http://oldsite.polycode.org/forum/viewtopic.php?f=4&t=355&p=1077#p1077

View more