[ARHIIV] mängumeistrid
Pole sisse logitud. [Logi sisse ]
Mine lehekülje algusesse
Prinditav versioon | Telli teema e-mailile | Lisa lemmikutesse  
G-Flash ja G-java ehk gamemakeri kompilaatorid vms.
Guest
Level 7
Avatar

Liitunud: 28.10.2005
Postitusi: 319
[EEMAL]




postitati 28.1.2007 19:10 Tsiteeri
G-Flash ja G-java ehk gamemakeri kompilaatorid vms.



Tegu on siis gamemaker kompilaatoritega(vist oli see nimi. Loe:convertor) mis kompileerivad gamermaker 6 faili flash/java failiks.
Download G-Flash: http://www.g-flash.gmzone.fr/index.php?0=G-Flash&1=version%200.3
Download G-Java: http://g-java.com/beta/G-java_1_08_beta6_WIN.zip
P.S. Mina G-javat endal tööe ei saanud. G-Flashi aga sain küll.
Kahjuks ei luba need suurt osa koodi.
Flash lubab:
Kood:
gml kood :
draw_line()
draw_text()
draw_rectangle()
keyboard_check()
mouse_check_button()
mb_left

hspeed
vspeed
ord()
mplay_ipaddress()
mouse_x
mouse_y
current_year
current_month
current_weekday
current_hour
current_minute
current_second
point_distance()
room_width
room_height
vk_up
vk_left
vk_down
vk_right
vk_enter
vk_space
vk_control
vk_shift
sin
round
sqrt
random
power
log
floor
exp
cos
ceil
abs

Mis käsklusi saad kasutada :
if
else
then
or
and
>
<
==
>=
<=
{
}


Java lubab:
# Sounds
# All keyboard events
# All event groups
# Over 60 actions
# Game Information
# Animation
# Global and local variables
# Instance depth
# Backgrounds
ja koodist:
Kood:
Statements & Keywords (1.08 beta 6)
QUOTE
if
and
or
begin
end
==
=
{
}



Computing things

Constants (100%)
QUOTE
true
false
pi


Real-valued functions
QUOTE
random(x) Returns a random real number between 0 and x. The number is always smaller than x.
abs(x) Returns the absolute value of x.
sign(x) Returns the sign of x (-1, 0 or 1).
round(x) Returns x rounded to the nearest integer.
floor(x) Returns the floor of x, that is, x rounded down to an integer.
ceil(x) Returns the ceiling of x, that is, x rounded up to an integer.
frac(x) Returns the fractional part of x, that is, the part behind the decimal dot.
sqrt(x) Returns the square root of x. x must be non-negative.
sqr(x) Returns x*x.
power(x,n) Returns x to the power n.
exp(x) Returns e to the power x.
ln(x) Returns the natural logarithm of x.
log2(x) Returns the log base 2 of x.
log10(x) Returns the log base 10 of x.
logn(n,x) Returns the log base n of x.
sin(x) Returns the sine of x (x in radians).
cos(x) Returns the cosine of x (x in radians).
tan(x) Returns the tangent of x (x in radians).
arcsin(x) Returns the inverse sine of x.
arccos(x) Returns the inverse cosine of x.
arctan(x) Returns the inverse tangent of x.
arctan2(y,x) Calculates arctan(Y/X), and returns an angle in the correct quadrant.
degtorad(x) Converts degrees to radians.
radtodeg(x) Converts radians to degrees.
point_distance(x1,y1,x2,y2) Returns the distance between point (x1,y1) and point (x2,y2).
point_direction(x1,y1,x2,y2) Returns the direction from point (x1,y1) toward point (x2,y2) in degrees.


String handling functions (100% 23/23)
QUOTE
chr(val) Returns a string containing the character with asci code val.
ord(str) Returns the asci code of the first character in str.
real(str) Turns str into a real number. str can contain a minus sign, a decimal dot and even an exponential part.
string(val) Turns the real value into a string using a standard format (no decimal places when it is an integer, and two decimal places otherwise).
string_format(val,tot,dec) Turns val into a string using your own format: tot indicates the total number of places and dec indicated the number of decimal places.
string_length(str) Returns the number of characters in the string.
string_pos(substr,str) Returns the position of substr in str (0=no occurrence).
string_copy(str,index,count) Returns a substring of str, starting at position index, and of length count.
string_char_at(str,index) Returns the character in str at position index.
string_delete(str,index,count) Returns a copy of str with the part removed that starts at position index and has length count.
string_insert(substr,str,index) Returns a copy of str with substr added at position index.
string_replace(str,substr,newstr) Returns a copy of str with the first occurrence of substr replaced by newstr.
string_replace_all(str,substr,newstr) Returns a copy of str with all occurrences of substr replaced by newstr.
string_count(substr,str) Returns the number of occurrences of substr in str.
string_lower(str) Returns a lowercase copy of str.
string_upper(str) Returns an uppercase copy of str.
string_repeat(str,count) Returns a string consisting of count copies of str.
string_letters(str) Returns a string that only contains the letters in str.
string_digits(str) Returns a string that only contains the digits in str.
string_lettersdigits(str) Returns a string that contains the letters and digits in str.

The following functions deal with the clipboard for storing text.
clipboard_has_text() Returns whether there is any text on the clipboard.
clipboard_get_text() Returns the current text on the clipboard.
clipboard_set_text(str) Sets the string str on the clipboard.



Dealing with dates and time (100% (47/47)) (All by BZGaming)
QUOTE
date_current_datetime() Returns the date-time value that corresponds to the current moment.
date_current_date() Returns the date-time value that corresponds to the current date only (ignoring the time).
date_current_time() Returns the date-time value that corresponds to the current time only (ignoring the date).
date_create_datetime(year,month,day,hour,minute,second) Creates a date-time value corresponding to the indicated date and time.
date_create_date(year,month,day) Creates a date-time value corresponding to the indicated date.
date_create_time(hour,minute,second) Creates a date-time value corresponding to the indicated time.
date_valid_datetime(year,month,day,hour,minute,second) Returns whether the indicated date and time are valid.
date_valid_date(year,month,day) Returns whether the indicated date is valid.
date_valid_time(hour,minute,second) Returns whether the indicated time is valid.
date_inc_year(date,amount) Returns a new date that is amount years after the indicated date. amount must be an integer number.
date_inc_month(date,amount) Returns a new date that is amount months after the indicated date. amount must be an integer number.
date_inc_week(date,amount) Returns a new date that is amount weeks after the indicated date. amount must be an integer number.
date_inc_day(date,amount) Returns a new date that is amount days after the indicated date. amount must be an integer number.
date_inc_hour(date,amount) Returns a new date that is amount hours after the indicated date. amount must be an integer number.
date_inc_minute(date,amount) Returns a new date that is amount minutes after the indicated date. amount must be an integer number.
date_inc_second(date,amount) Returns a new date that is amount seconds after the indicated date. amount must be an integer number.
date_get_year(date) Returns the year corresponding to the date.
date_get_month(date) Returns the month corresponding to the date.
date_get_week(date) Returns the week of the year corresponding to the date.
date_get_day(date) Returns the day of the month corresponding to the date.
date_get_hour(date) Returns the hour corresponding to the date.
date_get_minute(date) Returns the minute corresponding to the date.
date_get_second(date) Returns the second corresponding to the date.
date_get_weekday(date) Returns the day of the week corresponding to the date.
date_get_day_of_year(date) Returns the day of the year corresponding to the date.
date_get_hour_of_year(date) Returns the hour of the year corresponding to the date.
date_get_minute_of_year(date) Returns the minute of the year corresponding to the date.
date_get_second_of_year(date) Returns the second of the year corresponding to the date.
date_year_span(date1,date2) Returns the number of years between the two dates. It reports incomplete years as a fraction.
date_month_span(date1,date2) Returns the number of months between the two dates. It reports incomplete months as a fraction.
date_week_span(date1,date2) Returns the number of weeks between the two dates. It reports incomplete weeks as a fraction.
date_day_span(date1,date2) Returns the number of days between the two dates. It reports incomplete days as a fraction.
date_hour_span(date1,date2) Returns the number of hours between the two dates. It reports incomplete hours as a fraction.
date_minute_span(date1,date2) Returns the number of minutes between the two dates. It reports incomplete minutes as a fraction.
date_second_span(date1,date2) Returns the number of seconds between the two dates. It reports incomplete seconds as a fraction.
date_compare_datetime(date1,date2) Compares the two date-time values. Returns -1, 0, or 1 depending on whether the first is smaller, equal, or larger than the second value.
date_compare_date(date1,date2) Compares the two date-time values only taking the date part into account. Returns -1, 0, or 1 depending on whether the first is smaller, equal, or larger than the second value.
date_compare_time(date1,date2) Compares the two date-time values only taking the time part into account. Returns -1, 0, or 1 depending on whether the first is smaller, equal, or larger than the second value.
date_date_of(date) Returns the date part of the indicated date-time value, setting the time part to 0.
date_time_of(date) Returns the time part of the indicated date-time value, setting the date part to 0.
date_datetime_string(date) Returns a string indicating the given date and time in the default format for the system.
date_date_string(date) Returns a string indicating the given date in the default format for the system.
date_time_string(date) Returns a string indicating the given time in the default format for the system.
date_days_in_month(date) Returns the number of days in the month indicated by the date-time value.
date_days_in_year(date) Returns the number of days in the year indicated by the date-time value.
date_leap_year(date) Returns whether the year indicated by the date-time value is a leap year.
date_is_today(date) Returns whether the indicated date-time value is on today.


Game Play
Moving around
QUOTE
Instance variables:
x Its x-position.
y Its y-position.
xprevious Its previous x-position.
yprevious Its previous y-position.


EGML

QUOTE
EGML_printErr(string) Print error to java console/cmd prompt

Vaata kasutaja profiili Otsi kasutaja postitusi Saada privaatsõnum Vaata kasutaja MSN-i
normann
Level 15
Avatar

Liitunud: 28.4.2006
Postitusi: 1528
[EEMAL]




postitati 28.1.2007 19:45 Tsiteeri


mul g-java ei töötand sest ma juba enne ükskord ametlikus proovisin seda...
mis gm versiooniga sul töötas see flash??

http://media.kickstatic.com/kickapps/images/40602/photos/PHOTO_7961920_40602_4826691_ap.jpg

Vaata kasutaja profiili Saada kasutajale e-mail Otsi kasutaja postitusi Saada privaatsõnum
Guest
Level 7
Avatar

Liitunud: 28.10.2005
Postitusi: 319
[EEMAL]




postitati 28.1.2007 19:56 Tsiteeri


Gamemaker 6.1

Vaata kasutaja profiili Otsi kasutaja postitusi Saada privaatsõnum Vaata kasutaja MSN-i
Brus
Level 11
Avatar

Liitunud: 24.7.2006
Postitusi: 866
[EEMAL]




postitati 29.1.2007 14:44 Tsiteeri


ma sain g-java ,aga g-flashi ei saanud. :D
http://img152.imageshack.us/img152/9484/joulumanguke1wq4.png
Maze II: Brus
Vaata kasutaja profiili Otsi kasutaja postitusi Saada privaatsõnum Vaata kasutaja MSN-i
normann
Level 15
Avatar

Liitunud: 28.4.2006
Postitusi: 1528
[EEMAL]




postitati 29.1.2007 16:53 Tsiteeri


a kas keegi teab kuidas panna Flashi internetti üles?
http://media.kickstatic.com/kickapps/images/40602/photos/PHOTO_7961920_40602_4826691_ap.jpg

Vaata kasutaja profiili Saada kasutajale e-mail Otsi kasutaja postitusi Saada privaatsõnum
Guest
Level 7
Avatar

Liitunud: 28.10.2005
Postitusi: 319
[EEMAL]




postitati 29.1.2007 17:20 Tsiteeri


Lased need failid mis seal kaustas on kodukale üles!?(I)

Vaata kasutaja profiili Otsi kasutaja postitusi Saada privaatsõnum Vaata kasutaja MSN-i
Brus
Level 11
Avatar

Liitunud: 24.7.2006
Postitusi: 866
[EEMAL]




postitati 29.1.2007 18:09 Tsiteeri


Kui keegi perfektselt hakkama saab ,siis pange link ka siia. :D
http://img152.imageshack.us/img152/9484/joulumanguke1wq4.png
Maze II: Brus
Vaata kasutaja profiili Otsi kasutaja postitusi Saada privaatsõnum Vaata kasutaja MSN-i
normann
Level 15
Avatar

Liitunud: 28.4.2006
Postitusi: 1528
[EEMAL]




postitati 29.1.2007 18:19 Tsiteeri


siin foorumis võiks teha mingi tiimi ja siis teha koduka kuhu
laseme mänge üles.

http://media.kickstatic.com/kickapps/images/40602/photos/PHOTO_7961920_40602_4826691_ap.jpg

Vaata kasutaja profiili Saada kasutajale e-mail Otsi kasutaja postitusi Saada privaatsõnum
Guest
Level 7
Avatar

Liitunud: 28.10.2005
Postitusi: 319
[EEMAL]




postitati 29.1.2007 18:47 Tsiteeri


Siis ma oleks nõus kui need kogu koodi lubaksid. Praegu ainus asi mida mina teinud olen ja on tööle läinud on selline kood:
draw_text(x,y,"Kell on: " + string(current_hour) + "." + string(current_minute) + "." + string(current_second);
xD

Vaata kasutaja profiili Otsi kasutaja postitusi Saada privaatsõnum Vaata kasutaja MSN-i
Brus
Level 11
Avatar

Liitunud: 24.7.2006
Postitusi: 866
[EEMAL]




postitati 29.1.2007 19:51 Tsiteeri


G-flash oli mingi kahtalne.
leidis mängust errori object66 " mouse left pressed " ,sellist objekti polnudki. :D Ja kuskil polnud sellist funktsiooni. :D

http://img152.imageshack.us/img152/9484/joulumanguke1wq4.png
Maze II: Brus
Vaata kasutaja profiili Otsi kasutaja postitusi Saada privaatsõnum Vaata kasutaja MSN-i
Guest
Level 7
Avatar

Liitunud: 28.10.2005
Postitusi: 319
[EEMAL]




postitati 30.1.2007 18:40 Tsiteeri


Tsitaat:
Tsitaat: dm11
aga mis evente see lubab? Ükskõik?

Jah.

Vaata kasutaja profiili Otsi kasutaja postitusi Saada privaatsõnum Vaata kasutaja MSN-i
kurihiir
miks nii, kuis nii?
Avatar

Liitunud: 17.10.2006
Postitusi: 396
[EEMAL]




postitati 9.2.2007 18:45 Tsiteeri


Ma niiväga lootsin, tahtsin just browseri põhilist mängu. Mitte kumbki ei converdi mitte s******gi. Tuleb ikka alla laetavaks teha....
http://komportaal.eu/portaal/foorum/bannah.png

Vaata kasutaja profiili Otsi kasutaja postitusi Saada privaatsõnum
Slug-T
Level 2
Avatar

Liitunud: 20.3.2007
Postitusi: 22
[EEMAL]




postitati 20.3.2007 00:39 Tsiteeri


ei tööta
drool

Vaata kasutaja profiili Otsi kasutaja postitusi Saada privaatsõnum
simmo
Level 10
Avatar

Liitunud: 6.1.2006
Postitusi: 720
[EEMAL]




postitati 20.3.2007 15:30 Tsiteeri


Tsitaat:
Tsitaat: Brus
G-flash oli mingi kahtalne.
leidis mängust errori object66 " mouse left pressed " ,sellist objekti polnudki. :D Ja kuskil polnud sellist funktsiooni. :D


Noh,see G-Flash paisab GM-iga tehtud olevat.Mul kah G-Flashiga mõne failiga tuleb see error ette.


Vaata kasutaja profiili Saada kasutajale e-mail Külasta kasutaja kodulehte Otsi kasutaja postitusi Saada privaatsõnum Vaata kasutaja MSN-i

Hetkel loevad seda teemat:
Mitte ühtegi - 1 külaline

Mine lehekülje lõppu





Foorumi algbaas põhineb XMB mootoril, modifitseeritud Valter Pundi poolt
Kodulehekülg on tehtud Valter Pundi poolt vpundi ät gmail punkt komm