Author Topic: Using Geany with Pulsarlua  (Read 611 times)

Rick3137

  • Full Member
  • ***
  • Posts: 108
    • View Profile
    • Rick's Programs
Using Geany with Pulsarlua
« on: 18. October 2015, 18:35:10 »
    I managed to get the Geany IDE working with Pulsarlua.
    It's a really nice setup.
    After putting filetypes.lua into the geany Data folder I got everything in color.
    It even gives me the line numbers of all my functions. I can go to any function with one click of the mouse.
    Now, I am working on the Build buttons. I got the execute button to work, but it only works if your .lua file is in the PulsarluaWin32 folder. If you put it in another folder it doesn't seem to work.
 
   
http://rb23.yolasite.com  Ricks Programs
http://rb27.synthasite.com   Sight and Sound

Cybermonkey

  • Administrator
  • Hero Member
  • *****
  • Posts: 574
    • View Profile
    • Home of EGSL
Re: Using Geany with Pulsarlua
« Reply #1 on: 18. October 2015, 22:39:28 »
You have to add the complete path, then it will work, both Windows and Linux.
Best regards,
Cybermonkey

Rick3137

  • Full Member
  • ***
  • Posts: 108
    • View Profile
    • Rick's Programs
Re: Using Geany with Pulsarlua
« Reply #2 on: 18. October 2015, 23:31:38 »
   Not that simple.
   Here's the path I used:
   C:\Users\Rick\Desktop\PulsarLuaWin32\pulsarlua.exe  C:\Users\Rick\Desktop\PulsarExamples %f
   It almost worked. What I got was " Permission Denied "
   To make it work, I had to hit the button, "run as administrator"
   It will not run if I log in as a regular User. Must be a Windows8 thing.  :o
   I think I better stick to just one folder.

 Is this it?: C:\Users\Rick\Desktop\PulsarLuaWin32\pulsarlua.exe %f
 I put my examples folder in my Pulsarlua folder and this path made it work.
 Never mind; This fixed everything. It now works anywhere. Thanks for the help.

« Last Edit: 19. October 2015, 00:39:44 by Rick3137 »
http://rb23.yolasite.com  Ricks Programs
http://rb27.synthasite.com   Sight and Sound

Bereb

  • Newcomer
  • *
  • Posts: 47
    • View Profile
Re: Using Geany with Pulsarlua
« Reply #3 on: 26. October 2015, 16:32:56 »
Here is my local setup with Geany :



Sometimes I invert Löve and Pulsar2D − depending on wether I'm using more one than the other − so that I can take advantage of the <F9> key (which commands number 2), to launch quickly the script (for testing).

PS:
Maybe the quotes are important here: %f  -> "%f".
« Last Edit: 26. October 2015, 16:41:41 by Bereb »
Regards, Bertrand :)
** Lubuntu 14.04 (Intel Celeron CPU 2.66GHz - 1280MiB) **