Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/20/24 01:28
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (alibaba, 7th_zorro), 636 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Unknown functions? #272483
06/18/09 10:14
06/18/09 10:14
Joined: Oct 2008
Posts: 67
C
Crypton Offline OP
Junior Member
Crypton  Offline OP
Junior Member
C

Joined: Oct 2008
Posts: 67
Using LiteC Free. I have noticed that some of functions aren't painted red even when the engine can compile it. Also Command Help wont show what it does or what arguments it needs. Some of functions/values I have noticed:

vec_rotate
font (in TEXT* definition)
NULL
on_space
PH_RIGID,PH_SPHERE
ENABLE_FRICTION
GLIDE
IGNORE_WORLD
(probably all the modes in c_move...)

Thats what I have tested and seen. Is it a normal thing or really mistakes, because I don't know to use builtin functions if not coloured so... (thus not showing up in Command Help)


New into Gamestudio and eager to learn it..
Stuff and games done in 2D: LINK
Re: Unknown functions? [Re: Crypton] #272519
06/18/09 12:28
06/18/09 12:28
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Thanks for the info. A function is painted red in the editor when it is in the blue box with the black border in the manual. Thus, NULL, on_space etc. won't be painted red. But vec_rotate and font should, so that's an issue with the format of their manual pages. Whenever you find some function that should be red but isn't, please post it here or in the manual forum.

Re: Unknown functions? [Re: jcl] #272682
06/19/09 09:39
06/19/09 09:39
Joined: Jul 2008
Posts: 1,178
England
M
MrGuest Offline
Serious User
MrGuest  Offline
Serious User
M

Joined: Jul 2008
Posts: 1,178
England
a few more

FUNCTIONS
---------
asin
pan_setdigits
pan_setbutton
pan_setneedle
pan_setwindow
str_width
vec_rotateback
vec_rotateaxis
vec_for_ent
ent_for_file

EVENTS
------
on_exit

TYPES
-----
byte

PROPERTIES / PARAMETERS
-----------------------
genius
min_x ..to.. max_z
mtlSkin1
flags2 - (not manual header)

VARIABLES
---------
shift_sense

would also be useful if #defined items would be painted too

Re: Unknown functions? [Re: MrGuest] #272736
06/19/09 13:13
06/19/09 13:13
Joined: Oct 2008
Posts: 67
C
Crypton Offline OP
Junior Member
Crypton  Offline OP
Junior Member
C

Joined: Oct 2008
Posts: 67
sign
emask

Other things noticed:

1. When I make text active and right click on it without moving the mouse! the activness disappears and I cant do actions with it. But when I make it active, move mouse! and right click, everything is fine.

2. When I write a function/value etc sometimes SED displays this little description. Its exactly one line down and even when I click on it nothing happens, I can't click on that lower row position (in order to edit something on that position) where that description is shown
It's quite annoying. I need to get rid of that description line first and then I can click on position where it stood in my way earlier.

3. Syntax check doesn't work at all... pressing F6 doesn't do anything and cant see any errors in Syntax Checker Results tab.

4. SED Auto indent makes funny things:
When I press Enter to a new line it sets the text cursor correctly to the indent position, but when I write } It jumps in the beginning of the line and I get: }@@@@@@


New into Gamestudio and eager to learn it..
Stuff and games done in 2D: LINK
Re: Unknown functions? [Re: Crypton] #272742
06/19/09 14:40
06/19/09 14:40
Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
VeT Offline
Serious User
VeT  Offline
Serious User

Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
//would also be useful if #defined items would be painted too

as well as pre-defined functions smile


1st prize: Lite-C and Newton 2.17 by Vasilenko Vitaliy

Newton2 videos: http://tinyurl.com/NewtonVideos
LiteC+Newton2 discussion: http://tinyurl.com/NewtonWrapperDiscussion
Latest LiteC+Newton2 version(v23, from 29.10.2009): http://depositfiles.com/files/ae1l0tpro
Re: Unknown functions? [Re: VeT] #273153
06/21/09 17:48
06/21/09 17:48
Joined: Oct 2008
Posts: 67
C
Crypton Offline OP
Junior Member
Crypton  Offline OP
Junior Member
C

Joined: Oct 2008
Posts: 67
PH_RIGID

4. I typed
phent_settype(eBall,

and looked from Command Help in "var type" for values. Copied PH_RIGID from there and when trying to paste it into SED I suddenly got:

phent_settype(eBall,
phent_settype(eBall,

which is wierd.


New into Gamestudio and eager to learn it..
Stuff and games done in 2D: LINK
Re: Unknown functions? [Re: Crypton] #273903
06/24/09 21:15
06/24/09 21:15
Joined: Oct 2008
Posts: 67
C
Crypton Offline OP
Junior Member
Crypton  Offline OP
Junior Member
C

Joined: Oct 2008
Posts: 67
atan2
width
height
angle

pi isn't recognised, error: 'pi' undeclared identifier :S


New into Gamestudio and eager to learn it..
Stuff and games done in 2D: LINK
C_move to a target [Re: MrGuest] #273981
06/25/09 08:25
06/25/09 08:25
Joined: May 2009
Posts: 37
S
shiznitIII Offline
Newbie
shiznitIII  Offline
Newbie
S

Joined: May 2009
Posts: 37
hi! how do you move one entity to a target position using c_move. I cant seem to get the right relative values. Im having a hard time finding a calculation using the target vector and current vector to apply in c_move. Please Help

C_move to target vector [Re: jcl] #273983
06/25/09 08:26
06/25/09 08:26
Joined: May 2009
Posts: 37
S
shiznitIII Offline
Newbie
shiznitIII  Offline
Newbie
S

Joined: May 2009
Posts: 37
hi! how do you move one entity to a target position using c_move. I cant seem to get the right relative values. Im having a hard time finding a calculation using the target vector and current vector to apply in c_move. Please Help

Re: C_move to target vector [Re: shiznitIII] #280585
07/23/09 13:11
07/23/09 13:11
Joined: May 2009
Posts: 445
Peine, Germany
Razoron Offline
Senior Member
Razoron  Offline
Senior Member

Joined: May 2009
Posts: 445
Peine, Germany
WIIMOTE

wiimote_smoothfac

video_alpha

Last edited by Razoron; 07/23/09 17:28.
Page 1 of 2 1 2

Moderated by  aztec, Inestical, Matt_Coles, Tobias 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1