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

Pages: « 1 2 3 4 5 6 7 8 9 10 »
61
Issues Help Desk / Re: file_find functions
« on: May 23, 2013, 01:26:46 pm »
ok , for now , i use old version, becouse , in my game this function (getenv) is essential  (Y)
EDIT
can be the substitution ov lateral gm? i try with original

62
Announcements / Re: LateralGM Update
« on: May 23, 2013, 12:31:41 pm »
ok i have explaned another case of same bug, but your explanation is good and detailed  (Y)

63
Issues Help Desk / Re: file_find functions
« on: May 23, 2013, 11:45:58 am »
Code: [Select]
home=environment_get_variable("HOME")with this syntax ,the game ,not start , i try with getenv if file find start
EDIT
getenv is destroyed
Code: [Select]
home=string(getenv("HOME"))with this not start, not good

64
Announcements / Re: LateralGM Update
« on: May 23, 2013, 10:47:30 am »
it's probaly lxde of lubuntu 13.04...
wait i try with unity
EDIT
the problem persist , i submitted in github site

65
Issues Help Desk / Re: file_find functions
« on: May 23, 2013, 09:25:26 am »
Code: [Select]
Assuming home is a variant or string,yes
Code: [Select]
EDIT2: I have implemented those functions and get_environment_variable(), which I recommend you use in place of getenv()thanks josh for your speed :D
i try

66
Tips, Tutorials, Examples / snake revenge code examples
« on: May 23, 2013, 02:55:28 am »
 ;D in the develop of bass learn game , i have discovered "mod", anyway i rewrite the snap snake movement...
first of my examples is :" snake head , snap movement in base of key press"
CREATE
Code: [Select]
tempo_max=6  //time limit
tempo=0      //time variable
step_tempo=1 //step of increase time variable
direzione=0  //direction move
lh_sprite=32 //sprite leight-height 32 the sprite is 32x32 remember of center sprite origin
STEP
Code: [Select]
//SET DIRECTION IN BASE KEYBOARD
if (keyboard_check_pressed(vk_right)) {direzione=0}
if (keyboard_check_pressed(vk_left)) {direzione=1}
if (keyboard_check_pressed(vk_down)) {direzione=2}
if (keyboard_check_pressed(vk_up)) {direzione=3}

//INCREMENT TIME IN BASE TO STEP_TEMPO (SPEED STEP)
 tempo+=step_tempo
 
//SETTING MOVEMENT IN BASE TO INPUT GIVE= KEYBOARD + TIME
if (x mod lh_sprite ==0 and tempo>=tempo_max and direzione=0)
 {   
   x+=lh_sprite ;
   tempo=0   
 }
if(x mod lh_sprite ==0 and tempo>=tempo_max and direzione=1)
 {
   x-=lh_sprite ;
   tempo=0   
 }
if(y mod lh_sprite ==0 and tempo>=tempo_max and direzione=2)
 {
  y+=lh_sprite ;
   tempo=0   
 }

if(y mod lh_sprite ==0 and tempo>=tempo_max and direzione=3)
 {
  y-=lh_sprite ;
   tempo=0
 }

67
General ENIGMA / Re: NaturalGM Object Editor
« on: May 23, 2013, 02:10:28 am »
the first concept is very good  (Y)

68
Announcements / Re: LateralGM Update
« on: May 23, 2013, 12:57:52 am »
ok i hope to subscribe to github

69
Issues Help Desk / Re: file_find functions
« on: May 23, 2013, 12:33:55 am »
i'm on ubuntu 13 32bit, it's my syntax, perhaps
the script
Code: [Select]
home=string(getenv("HOME"))
dir=string(home)+string("/basshero")
file_first=file_find_first (dir + "/*.*" , fa_archive );
file_first=file_find_next();
the error
Code: [Select]
undefined reference to "enigma_user::file_find_next()"
collect2: error: ld returned 1 exit status

70
Announcements / Re: LateralGM Update
« on: May 21, 2013, 10:18:17 pm »
the bug is present at same conditions...
little note
i have istalled enigma on netbook, lateralgm go slow, but the speed increase if i change theme to gtk.  (Y)

71
Issues Help Desk / [SOLVED] file_find functions
« on: May 21, 2013, 10:13:49 pm »
but the file_find functions not implemented??
if no in c++ , there is a method for save names file in variable?

72
Announcements / Re: LateralGM Update
« on: May 21, 2013, 01:01:45 pm »
the issue not go away, strange, the file is posted 19hours ago? have you upload the file?

73
Announcements / Re: LateralGM Update
« on: May 21, 2013, 03:17:52 am »
Robert, little bug:
when i open project with another project open, the project load name of file, but the interface view the previous project...

1solution: if i close all menu (like all codes editor and object menu) and load , it go
2solution: i solve this with creation of new project and after load the next project

it is little bug

74
Announcements / Re: LateralGM 1.8
« on: May 20, 2013, 01:25:17 am »
another features:
--the compilation setting stored in saved files
--when load file, the keyboard letter , search the file with initial letter (in lgm1.6 this feature is present)
EDIT thanks for icon examples
my icons preview

75
General ENIGMA / Re: Cross Compiling
« on: May 20, 2013, 01:13:32 am »
great!!  (Y)
i try now to follow guide
EDIT
o my... it compile  ;D
but this have sense, i'm idiot
Quote
6) Go to ENIGMA->ENIGMA Settings and set audio system to SFML or None as OpenAL does not work with MinGW32
openal not go in windows, i have the problem with this,  ;D
Thanks for this, the system switch for compile is bad
i'm happy  (Y) (Y) (Y)
EDIT2
in fedora wine with open video driver, not view game, i have tessted three month ago, in ubuntu wine run fine with ati open driver

Pages: « 1 2 3 4 5 6 7 8 9 10 »